Skip to content

CoS tip: recover stale durable event sequence (#51413) #94

Description

@kvnloo

Origin

anomalyco#51413

Intent

Repair a stale EventSequenceTable seq (lagging behind EventTable) before the next durable publish so (aggregate_id, seq) inserts do not unique-violate.

Proof (fail → pass)

cd packages/core
bun test test/event.test.ts -t "repairs a stale durable sequence"
# NEGATIVE (tip test on base product): 0 pass / 1 fail
# GREEN (full tip): 1 pass
# restore (product reverted): 0 pass / 1 fail

Notes

  • Base: dev
  • github_writes_origin=0 (fork-only)
  • Codex promote: parked

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions