feat(core): deterministic session log replay with synced watermark (#35040)

This commit is contained in:
Kit Langton
2026-07-02 21:38:20 -04:00
committed by GitHub
parent 1aae92c42a
commit 57e9e9771d
16 changed files with 205 additions and 87 deletions
+11
View File
@@ -1,5 +1,16 @@
# V2 Schema Changelog
## 2026-07-02: Rename Session Log Replay Marker
- Rename the replay boundary marker from `log.caught_up` / `EventLog.CaughtUp` to `log.synced` / `EventLog.Synced`.
- Define the marker as a single notification that replay reached the captured aggregate watermark; omit `seq` only when the captured watermark is empty.
- Page durable Session log reads toward the captured watermark before switching to live tailing.
Compatibility:
- The V2 event stream is still experimental. No durable event rows change because replay markers are stream-only and are not stored.
- Generated clients are intentionally regenerated by the audit integrator lane, not by this parallel branch.
## 2026-07-02: Add Default Model Endpoint
- Add `GET /api/model/default` (`v2.model.default`) returning the Location's resolved default model, or `undefined` when no model is available.