Skip to content

fix: format wasm stack traces correctly, preserve context in unhandled rejection, improve cppgc inheritance perf#32293

Merged
nathanwhit merged 1 commit intodenoland:mainfrom
nathanwhit:deno-core-update-286
Feb 23, 2026
Merged

fix: format wasm stack traces correctly, preserve context in unhandled rejection, improve cppgc inheritance perf#32293
nathanwhit merged 1 commit intodenoland:mainfrom
nathanwhit:deno-core-update-286

Conversation

@nathanwhit
Copy link
Copy Markdown
Member

Fixes #30135
Fixes #32239

@nathanwhit nathanwhit merged commit c095dd4 into denoland:main Feb 23, 2026
216 of 218 checks passed
@nathanwhit nathanwhit deleted the deno-core-update-286 branch February 23, 2026 19:03
bartlomieju added a commit that referenced this pull request Feb 23, 2026
## Summary

- Update wasm stack trace formatting to use the W3C WebAssembly Web API
spec format: `wasm-function[<funcIndex>]:0x<hexOffset>` instead of the
generic `line:col` format
- Update existing `wasm_url` test expectation to match
- Add new integration test (`wasm_stack_trace`) covering:
- Basic unreachable trap with correct `wasm-function[0]:0x<offset>`
format
- Multi-frame wasm call chain verifying correct function indices across
frames
- `Error.prepareStackTrace` callsite `toString()` producing correct wasm
format

Fixes #32239
Actually fixed in #32293, this just
adds a test.

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
bartlomieju added a commit that referenced this pull request Feb 23, 2026
…andlers (#32264)

## Summary

- Fixes `AsyncLocalStorage.getStore()` returning `undefined` inside
`unhandledRejection` / `unhandledrejection` event handlers
- Now matches Node.js behavior where the async context active at the
time of rejection is preserved

Fixes #30135
Actually fixed in #32293, this just
adds a test.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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.

Wasm stack traces are not correctly formatted AsyncLocalStorage not preserved in unhandledRejection (unlike Node)

2 participants