Skip to content

Fix sourcemap error - #1046

Merged
josephjclark merged 5 commits into
mainfrom
fix-sourcemap-error
Oct 6, 2025
Merged

josephjclark merged 5 commits into
mainfrom
fix-sourcemap-error

Conversation

@josephjclark

Copy link
Copy Markdown
Collaborator

Short Description

Fixes an issue where we fail to extract source from the sourcemap and throw a cryptic error.

The problem was basically:

  • The worker compiles each step under a filename corresponding to the step name, eg, step.js
  • The sourcemap was using a hard-coded filename of "src.js" to find files in the sourcemap
  • Thus an exception was being thrown and generating headaches

Fixes #1045

AI Usage

Please disclose how you've used AI in this work (it's cool, we just want to know!):

  • Code generation (copilot but not intellisense)
  • Learning or fact checking
  • Strategy / design
  • Optimisation / refactoring
  • Translation / spellchecking / doc gen
  • Other
  • I have not used AI

You can read more details in our Responsible AI Policy

@github-project-automation github-project-automation Bot moved this to New Issues in Core Oct 6, 2025
@josephjclark
josephjclark merged commit 22e0692 into main Oct 6, 2025
7 checks passed
@github-project-automation github-project-automation Bot moved this from New Issues to Done in Core Oct 6, 2025
@josephjclark
josephjclark deleted the fix-sourcemap-error branch October 6, 2025 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Runtime Error: "src.js is not in the SourceMap"

1 participant