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
{{ message }}
Repository navigation
Commit 1c625e1
Browse filesBrowse the repository at this point in the historyBrowse files
Production follow-ups from the CodeRabbit/Claude/Devin review. Caller-driven guard tests are in the
stacked tests PR; the two test edits here are coupled to the production change (the publishClaim
signature change invalidates a main assertion; the fan-out removal obsoletes a main test).
- Claim TTL floor (TRIGGER_MOLLIFIER_CLAIM_MIN_TTL_SECONDS, default 5) independent of the customer key
TTL, so a short key TTL can't expire the claim mid-pipeline and let a loser re-claim.
- publishClaim returns the buffer CAS result; the trigger success path detects + logs a no-op'd publish.
- reacquireClearedGlobalWinner fails closed with a retryable 503 (exhaustion / unfindable winner); the
expired/failed clear-and-recreate path routes through it too (Devin), so that recreate is serialised.
- Realtime batch route re-reads the owning primary on a replica miss (backend-agnostic; closes the
Electric ShapeStream permanent-404 for self-hosters).
- Remove the classifiable-id cross-store fan-out from findRun: a run's id-shape fixes its residency for
life, so the single-store read is correct and the fan-out was dead code.
0 commit comments