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
Follow-ups from the final independent review of #6003 (PAN-5995), comment #6003 (comment). None blocks: git and the database stay consistent in every case.
Abandon vs. resume race. Journal-first abandon awaits the journal write between its safety checks and the status write. A resume that starts in that gap can finish while the abandon also goes through, so the batch ends promoted while the journal and the CLI say "abandoned". Fix: after the journal write, re-check for a running promote and re-read the row; answer 409 if either changed.
Two guards have no test. Add tests that fail when removed:
landedStampRefusal's check for a missing recorded head;
the "promote running" re-check on the reconciler's containment path (uat-reconciler.ts:501).
Older batches with no recorded head lose the landed-but-unstamped recovery on a normal promote. None exists under a registered project today, and --abandon-partial is the exit. Consider backfilling head_sha from the uat/* ref at first read, when the ref still matches the assembly record.
Activity