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
Transaction-plan follow-ups from the #2428 round-4 review (same-class findings) #2481
From Codex's round-4 review of #2428 at 721da41c, the findings past the two-round cap that belong to classes already fixed once in the PR. The shared fail-open work (claude/fail-open-general) is meant to close them by class.
Unobserved scope (item 3). The per-statement pg_stat_xact check runs before commit. Deferred work at commit (a deferred trigger, or a constraint trigger writing to another schema) isn't observed, and the post-commit re-read covers only the current schema. Extend the post-commit check to every schema the account can write, or refuse schemas with deferred triggers.
Stale baseline (item 7). A held REST write is rechecked by a read and then sent, which leaves a read-then-write race. A conditional request (If-Match/ETag or a version field) is needed. SQL compensation now checks inside its own transaction.
Replay verification (item 9). A raw-SQL replay is VERIFIED from the stored post-commit flag. It should re-read the rows named in the plan's undo images and compare them with the committed after-image.
Activity
fix(flow): close fail-open follow-ups from the receipts stack
abrichr commentedon Nov 25, 2026
Closing as not planned: round-4 review follow-ups for the frozen
txplan/subsystem.