Skip to content

fix(core): run serial event listeners sequentially - #82

Merged
filipeforattini merged 1 commit into
mainfrom
fix-event-serial
Aug 21, 2026
Merged

fix(core): run serial event listeners sequentially#82
filipeforattini merged 1 commit into
mainfrom
fix-event-serial

Conversation

@filipeforattini

@filipeforattini filipeforattini commented Aug 21, 2026

Copy link
Copy Markdown

Summary

  • remove unbounded concurrency from EventV2 serial dispatch
  • add tests proving serial listeners wait for their predecessor
  • add a control test proving parallel listeners still run concurrently

Verification

  • bun test test/event.test.ts from packages/core
  • bun typecheck from packages/core

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@filipeforattini
filipeforattini merged commit 0df4500 into main Aug 21, 2026
5 of 7 checks passed
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