You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Highlights
Breaking: ledger.emit(...) now returns the durable event envelope for the winning event instead of void. When dedupeKey matches an existing event, Sledge returns that existing event envelope without replaying materialization.
Add durable work inspection and cancellation APIs: ledger.cancelWork(...), ledger.queryWork(...), and ledger.listWork(...).
Cancellation is terminal: cancelled work will not dispatch or retry after restart. If the cancelled work is leased by the active worker handle, Sledge also aborts the lease signal.
Add terminalWorkRetentionMs to ledger.startWorkers(...) options for shared dead and cancelled work retention.
Ensure work inspection APIs read committed work state only and do not expose rows staged by in-flight event materialization that may roll back.