Skip to content

Backport #1799: build: use inline sourcemaps across all workspace packages#2103

Open
github-actions[bot] wants to merge 1 commit into
stablefrom
backport/pr-1799-to-stable
Open

Backport #1799: build: use inline sourcemaps across all workspace packages#2103
github-actions[bot] wants to merge 1 commit into
stablefrom
backport/pr-1799-to-stable

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated backport of #1799 to stable (backport job run).

AI recommendation: This is a self-contained build/infrastructure fix that consolidates the inlineSourceMap setting into the shared base tsconfig, silencing a Turbopack warning and preventing a Windows SWC worker crash. The three affected tsconfig files exist on stable with identical pre-change content, so the patch applies cleanly and benefits both branches equally.

* fix(build): use inline sourcemaps across all workspace packages

Prevents a Turbopack bug on Windows that caused the SWC worker to
crash when reading external .js.map files in workspace-linked packages
(paths were concatenated with mixed separators like
'packages/serde/dist\\index.js.map'). Once the worker crashed, the
module graph entered a broken state where all subsequent requests
returned 500, manifesting as flaky E2E Windows tests where the
'should rebuild on imported step dependency change' test would time
out waiting for /api/workflows/start to succeed.

Extends the original fix from #352 (previously applied only to
@workflow/core and workflow) to the shared base tsconfig.json so that
all packages producing a dist/ output benefit.

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nathan Rajlich <n@n8.io>

* Tighten changeset description

---------

Signed-off-by: Nathan Rajlich <n@n8.io>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Nathan Rajlich <n@n8.io>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 23, 2026

🦋 Changeset detected

Latest commit: f8f6181

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 25 packages
Name Type
@workflow/ai Patch
@workflow/astro Patch
@workflow/builders Patch
@workflow/cli Patch
@workflow/core Patch
@workflow/errors Patch
@workflow/next Patch
@workflow/nest Patch
@workflow/nitro Patch
@workflow/nuxt Patch
@workflow/rollup Patch
@workflow/serde Patch
@workflow/sveltekit Patch
@workflow/typescript-plugin Patch
@workflow/utils Patch
@workflow/vite Patch
@workflow/vitest Patch
@workflow/web-shared Patch
@workflow/world Patch
@workflow/world-local Patch
@workflow/world-postgres Patch
@workflow/world-testing Patch
@workflow/world-vercel Patch
workflow Patch
@workflow/web Patch

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

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment May 23, 2026 8:42am
example-nextjs-workflow-webpack Ready Ready Preview, Comment May 23, 2026 8:42am
example-workflow Ready Ready Preview, Comment May 23, 2026 8:42am
workbench-astro-workflow Ready Ready Preview, Comment May 23, 2026 8:42am
workbench-express-workflow Ready Ready Preview, Comment May 23, 2026 8:42am
workbench-fastify-workflow Ready Ready Preview, Comment May 23, 2026 8:42am
workbench-hono-workflow Ready Ready Preview, Comment May 23, 2026 8:42am
workbench-nitro-workflow Ready Ready Preview, Comment May 23, 2026 8:42am
workbench-nuxt-workflow Ready Ready Preview, Comment May 23, 2026 8:42am
workbench-sveltekit-workflow Ready Ready Preview, Comment May 23, 2026 8:42am
workbench-tanstack-start-workflow Ready Ready Preview, Comment May 23, 2026 8:42am
workbench-vite-workflow Ready Ready Preview, Comment May 23, 2026 8:42am
workflow-docs Ready Ready Preview, Comment, Open in v0 May 23, 2026 8:42am
workflow-swc-playground Ready Ready Preview, Comment May 23, 2026 8:42am
workflow-tarballs Ready Ready Preview, Comment May 23, 2026 8:42am
workflow-web Ready Ready Preview, Comment May 23, 2026 8:42am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants