Skip to content

Fix unhandled rejection turn ordering (GOL-392) - #132

Open
noise64 wants to merge 1 commit into
mainfrom
gol-392-rejection-ordering
Open

Fix unhandled rejection turn ordering (GOL-392)#132
noise64 wants to merge 1 commit into
mainfrom
gol-392-rejection-ordering

Conversation

@noise64

@noise64 noise64 commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a private Node-style process turn checkpoint that drains nextTick, QuickJS jobs, and rejection events to a fixpoint before the next host callback
  • preserve handler opportunities, exact-promise suppression, rejectionHandled ordering, listener exception routing, and timer cancellation in both P2 and P3
  • cover P3 raw exports, resource construction, and async import settlement boundaries
  • enable three passing public Node compatibility tests and regenerate the compatibility report

Validation

  • P2 and P3 unhandled_rejection_turn_ordering
  • P2 and P3 require_esm_rejection_tracking and timeout_3
  • P2 and P3 focused unhandled-rejection node compatibility cases
  • P3 async export/import boundary and exported-resource roundtrips
  • node compatibility report generation/currentness
  • module-resolution DTS goldenfile
  • cargo fmt --all -- --check

The final candidate SHA 7e272ac48da3456883798e76194d5c08ad87cc92 passed independent queued verification and read-only Codex and Claude delta reviews.

Linear: GOL-392

@noise64
noise64 marked this pull request as ready for review August 29, 2026 04:39
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.

1 participant