Backport #1799: build: use inline sourcemaps across all workspace packages#2103
Open
github-actions[bot] wants to merge 1 commit into
Open
Backport #1799: build: use inline sourcemaps across all workspace packages#2103github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
* 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 detectedLatest commit: f8f6181 The changes in this PR will be included in the next version bump. This PR includes changesets to release 25 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 |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated backport of #1799 to
stable(backport job run).AI recommendation: This is a self-contained build/infrastructure fix that consolidates the
inlineSourceMapsetting into the shared base tsconfig, silencing a Turbopack warning and preventing a Windows SWC worker crash. The three affected tsconfig files exist onstablewith identical pre-change content, so the patch applies cleanly and benefits both branches equally.