Skip to content

Expose projection event causation - #36

Merged
ggoodman merged 1 commit into
mainfrom
codex/indexer-event-causation
Jul 27, 2026
Merged

Expose projection event causation#36
ggoodman merged 1 commit into
mainfrom
codex/indexer-event-causation

Conversation

@ggoodman

Copy link
Copy Markdown
Contributor

Projection indexers already receive a storage-local event context, but that
context omitted the source event's causation ID. This adds
causationEventId to ProjectionIndexerEvent so a materialization can enforce
causal ownership without re-reading the source event or duplicating the ID in
its durable payload.

This is an additive public API change.

Verification:

  • node --run lint
  • node --run typecheck
  • node --run test
  • node --run build
  • npm pack --dry-run

@ggoodman

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 630cc463c0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ggoodman
ggoodman merged commit 1348e94 into main Jul 27, 2026
1 check passed
@ggoodman
ggoodman deleted the codex/indexer-event-causation branch July 27, 2026 21:17
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