Skip to content

fix(cli): serialize fanout lifecycle events - #2440

Merged
chubes4 merged 1 commit into
mainfrom
fix/fanout-event-order
Aug 31, 2026
Merged

fix(cli): serialize fanout lifecycle events#2440
chubes4 merged 1 commit into
mainfrom
fix/fanout-event-order

Conversation

@chubes4

@chubes4 chubes4 commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • serialize fanout lifecycle journal appends in callback order
  • preserve monotonic active/completed progress snapshots under concurrent workers
  • retain the existing end-to-end journal assertion that exposed the release-blocking race

Fixes #2439.

Verification

  • npx tsx tests/agent-fanout-executor.test.ts repeated 25 times
  • npm run build
  • git diff --check

AI assistance

GPT-5.6-sol through OpenCode traced the failed v0.26.3 release preflight to concurrent lifecycle appends, implemented serialization at the journal boundary, and ran the listed verification. Chris Huber directed the release and reviewed the objective.

@chubes4
chubes4 merged commit a2a06c7 into main Aug 31, 2026
1 check 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.

Serialize concurrent fanout lifecycle events

1 participant