Skip to content

Restore versioned event lookup and release 0.2.2 - #261

Merged
tylercschneider merged 3 commits into
mainfrom
release/0.2.2
Sep 6, 2026
Merged

tylercschneider merged 3 commits into
mainfrom
release/0.2.2

Conversation

@tylercschneider

Copy link
Copy Markdown
Collaborator

One Sentence Summary

A developer using the gem can ask for a specific version of an event when emitting it, instead of the call failing outright.

ACs Covered

  • A helper generated by the event definition pack builds the requested event version when one is passed.
  • Emitting an event with an explicit version works after booting from the committed catalog.
  • A registry that has been reset accepts an event registered into it again.
  • The gem version is 0.2.2 and the changelog records the fix under that version.

Decision Log

Should the registry type fix that pull request #260 reverted be restored?

It was restored rather than left reverted, because every helper the event definition pack generates forwards an explicit version to emit and so reaches the failure.

Code Example

Not relevant.

Out of Scope

Not relevant.

Ticket Billed Against

Not specified.


Generation Metadata

Scribe: pr-scribe 96461d7
Rules: pr-body de72862, writing-style f190206
Model: claude-opus-5[1m], cc 2.1.261

🤖 Generated with Claude Code

https://claude.ai/code/session_01XJgL65rDiKpStHjHEKPo5V

tylercschneider and others added 3 commits September 5, 2026 23:03
Reverts the revert in #260. Every helper generated by
event_engine-event_definition takes event_version: and forwards it to
emit, so any pack consumer passing a version hits the NoMethodError on
0.2.1.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJgL65rDiKpStHjHEKPo5V
The suite's existing coverage built registries by hand or faked the
definition port, so nothing exercised the call shape
event_engine-event_definition actually generates. Verified failing
without the loader fix.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJgL65rDiKpStHjHEKPo5V
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJgL65rDiKpStHjHEKPo5V
@tylercschneider
tylercschneider merged commit 5630579 into main Sep 6, 2026
3 checks passed
@tylercschneider
tylercschneider deleted the release/0.2.2 branch September 6, 2026 03:06
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