Skip to content

feat(hook): Add contract for lifecycle events - #606

Open
prathshenoy wants to merge 1 commit into
mainfrom
prath.shenoy/hook-event-contract
Open

feat(hook): Add contract for lifecycle events#606
prathshenoy wants to merge 1 commit into
mainfrom
prath.shenoy/hook-event-contract

Conversation

@prathshenoy

@prathshenoy prathshenoy commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

What:

  • Define the shared event format every domain publishes for fire-and-forget lifecycle notifications, carrying origin, type, timing, a staleness marker, and open per-event detail.
  • Derive an event's identity from the transition it describes, so replaying a transition produces the same identity and duplicate deliveries collapse.

Why:

  • Enable integrations to react to pipeline milestones without adding call sites that can stall or fail a merge.
  • Establish one schema and one identity rule before any producer ships, so a consumer spanning several domains needs only one reader.

Test Plan

  • Add unit tests.

Revert Plan

  • Revert this PR. No topic is registered and no message of this shape exists on any queue.

Issues

Stack

  1. @ feat(hook): Add contract for lifecycle events #606
  2. feat(hook): Deliver events to integrations #607
  3. feat(orch): Consume hook events #608

@prathshenoy
prathshenoy force-pushed the prath.shenoy/hook-event-contract branch from b5394eb to 837e0d8 Compare August 17, 2026 16:54
@prathshenoy
prathshenoy marked this pull request as ready for review August 17, 2026 16:54
@prathshenoy
prathshenoy enabled auto-merge August 17, 2026 16:54
@prathshenoy
prathshenoy force-pushed the prath.shenoy/hook-event-contract branch from 837e0d8 to b5394eb Compare August 18, 2026 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant