fix(core): reset pre-launch session projections (#30728)

This commit is contained in:
Kit Langton
2026-06-04 09:43:10 -04:00
committed by GitHub
parent 69cfc44dba
commit caea930074
4 changed files with 41 additions and 38 deletions
+3 -2
View File
@@ -103,7 +103,7 @@ Affected schema:
Change:
- Add and backfill `session_message.seq` from matching synchronized events.
- Reset pre-launch Session-message projections and add `session_message.seq` for newly projected synchronized events.
- Add event aggregate-sequence and aggregate-type-sequence indexes.
- Add Session-message sequence, type-sequence, and compatibility timestamp indexes.
@@ -114,7 +114,8 @@ Reason:
Compatibility:
- Migration fails rather than inventing chronology if an existing projected Session message has no matching durable event.
- Pre-launch Session-message projections are disposable because historical versions could write them without durable creator events.
- The migration resets those projections rather than inventing chronology or blocking startup.
- The timestamp compatibility index remains for legacy or transitional query shapes.
### Structured Tool Registry And Canonical Output