Allow disabling step sourcemap with new sourcemap option in builders#1842
Allow disabling step sourcemap with new sourcemap option in builders#1842VaguelySerious wants to merge 5 commits intomainfrom
sourcemap option in builders#1842Conversation
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
🦋 Changeset detectedLatest commit: 67eb761 The changes in this PR will be included in the next version bump. This PR includes changesets to release 17 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🧪 E2E Test Results❌ Some tests failed Summary
❌ Failed Tests🐘 Local Postgres (4 failed)express-stable (2 failed):
fastify-stable (2 failed):
Details by Category✅ ▲ Vercel Production
✅ 💻 Local Development
✅ 📦 Local Production
❌ 🐘 Local Postgres
✅ 📋 Other
❌ Some E2E test jobs failed:
Check the workflow run for details. |
📊 Benchmark Results
workflow with no steps💻 Local Development
workflow with 1 step💻 Local Development
workflow with 10 sequential steps💻 Local Development
workflow with 25 sequential steps💻 Local Development
workflow with 50 sequential steps💻 Local Development
Promise.all with 10 concurrent steps💻 Local Development
Promise.all with 25 concurrent steps💻 Local Development
Promise.all with 50 concurrent steps💻 Local Development
Promise.race with 10 concurrent steps💻 Local Development
Promise.race with 25 concurrent steps💻 Local Development
Promise.race with 50 concurrent steps💻 Local Development
workflow with 10 sequential data payload steps (10KB)💻 Local Development
workflow with 25 sequential data payload steps (10KB)💻 Local Development
workflow with 50 sequential data payload steps (10KB)💻 Local Development
workflow with 10 concurrent data payload steps (10KB)💻 Local Development
workflow with 25 concurrent data payload steps (10KB)💻 Local Development
workflow with 50 concurrent data payload steps (10KB)💻 Local Development
Stream Benchmarks (includes TTFB metrics)workflow with stream💻 Local Development
stream pipeline with 5 transform steps (1MB)💻 Local Development
10 parallel streams (1MB each)💻 Local Development
fan-out fan-in 10 streams (1MB each)💻 Local Development
SummaryFastest Framework by WorldWinner determined by most benchmark wins
Fastest World by FrameworkWinner determined by most benchmark wins
Column Definitions
Worlds:
❌ Some benchmark jobs failed:
Check the workflow run for details. |
|
(Coming over from #1843, which I just closed as a duplicate — this PR is more comprehensive, particularly the framework-wide coverage and docs updates.) A few suggestions that came out of that branch, in case they're useful: 1. Consider using esbuild's native sourcemap vocabularyInstead of
Concretely the type would be: export type SourcemapMode = boolean | 'inline' | 'linked' | 'external' | 'both';2. Add a
|
Replace the bespoke `boolean | 'inline' | 'disabled'` type with esbuild's full `SourcemapMode` vocabulary (adds `'linked'`, `'external'`, `'both'`) so users can ship sourcemaps to observability tooling without bloating the function bundle. Add a `WORKFLOW_SOURCEMAP` env var as a cross-framework override; config wins over env, env wins over the per-bundle default. Flip `shouldAddSourcemapSupport` to track `sourcemapsEnabled` on the Vercel step function so disabling sourcemaps also drops the runtime shim. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
No description provided.