Skip to content

refactor(schema): distinguish published event durability#33930

Open
kitlangton wants to merge 3 commits into
devfrom
published-events
Open

refactor(schema): distinguish published event durability#33930
kitlangton wants to merge 3 commits into
devfrom
published-events

Conversation

@kitlangton

@kitlangton kitlangton commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • derive published event durability from each event definition
  • require exact durable commit metadata and forbid it on live events
  • separate Core pre-commit payloads from published payloads and regenerate SDK event types

Verification

  • bun turbo typecheck
  • bun test test/event.test.ts in packages/core
  • bun test test/event.test.ts test/legacy-event.test.ts in packages/schema
  • bun test --timeout 30000 test/server/httpapi-public-openapi.test.ts test/v2/session-message-updater.test.ts in packages/opencode
  • file-scoped Oxlint, Prettier, generated drift check, and git diff --check

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