Skip to content

properly handle errors on compile cache generation - #5309

Merged
anonrig merged 2 commits into
mainfrom
yagiz/improve-errors
Oct 15, 2025
Merged

anonrig merged 2 commits into
mainfrom
yagiz/improve-errors

Conversation

@anonrig

@anonrig anonrig commented Oct 14, 2025 •

Copy link
Copy Markdown
Contributor

Taken from #5298

@anonrig
anonrig requested review from a team as code owners October 14, 2025 19:34
@anonrig
anonrig enabled auto-merge (rebase) October 14, 2025 19:34
Comment thread src/rust/gen-compile-cache/cxx-bridge.c++ Outdated
Comment thread src/rust/gen-compile-cache/cxx-bridge.c++ Outdated

@jasnell jasnell left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments.

@jasnell
jasnell disabled auto-merge October 15, 2025 20:34
@anonrig
anonrig force-pushed the yagiz/improve-errors branch from a3a845d to 97fe065 Compare October 15, 2025 20:50
@anonrig
anonrig force-pushed the yagiz/improve-errors branch from 97fe065 to f35d345 Compare October 15, 2025 20:50
@anonrig
anonrig requested a review from jasnell October 15, 2025 20:50
@anonrig
anonrig enabled auto-merge (rebase) October 15, 2025 20:50
@jasnell

jasnell commented Oct 15, 2025

Copy link
Copy Markdown
Collaborator

Possible to add a test?

@anonrig

anonrig commented Oct 15, 2025

Copy link
Copy Markdown
Contributor Author

Possible to add a test?

It's extremely hard. You need to compile workerd with an error on the global scope of the file on a non-typescript file to reproduce this.

@anonrig
anonrig merged commit e26afbc into main Oct 15, 2025
20 checks passed
@anonrig
anonrig deleted the yagiz/improve-errors branch October 15, 2025 21:10
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.

2 participants