Skip to content

fix: remove stale comment and restore deleted test from revert - #10

Merged
ez-lbz merged 1 commit into
ez-lbz:fix/event-queue-hardeningfrom
kabir:fix/event-queue-hardening-cleanup
Aug 11, 2026
Merged

ez-lbz merged 1 commit into
ez-lbz:fix/event-queue-hardeningfrom
kabir:fix/event-queue-hardening-cleanup

Conversation

@kabir

@kabir kabir commented Aug 11, 2026

Copy link
Copy Markdown

Summary

  • Removed the contradictory NOTE comment in consumeAll() that said "A plain Message event is intentionally NOT stream-terminating" — this was left behind when the Message-as-non-terminal change was reverted, and it directly contradicts the code and the comment 15 lines above it.
  • Restored testConsumeMessageEvents which was deleted as part of that same change but not restored with the revert. This test verifies the spec-mandated behavior that a stream closes after the first Message.

All 51 tests pass (EventConsumerTest: 18, EventQueueTest: 33).

🤖 Generated with Claude Code

The revert of the "Message is not stream-terminating" change left behind
a contradictory NOTE comment and didn't restore testConsumeMessageEvents.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@ez-lbz
ez-lbz merged commit 9d70398 into ez-lbz:fix/event-queue-hardening Aug 11, 2026
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