rehearsal: executor re-checks HEAD parity at fire time so drives never race a push #1141
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1141
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why (from the #854 phase-5 retrospective)
Two drives (
#1129,#1133) red on bugs already fixed at HEAD because the drive launched against a checkout that a push had just overtaken — a full drive slot (40–90 min) plus a reporter run spent re-discovering a landed fix. The reporter now self-detects "already repaired at HEAD — re-drive" (keep that as the backstop); this ticket stops the waste upstream.What
At fire time (after preflight, immediately before the playwright launch), the executor re-checks
git ls-remote origin mainagainst the staged payload commit. If origin has advanced: re-sync, re-stage the payload, and re-run the cheap preflight checks once, then fire. One retry; if origin advances again during that window, fire anyway (the backstop catches the rare loser) — never spin.Acceptance
ls-remote.Evidence: phase-5 report — HEAD-race reds #1129/#1133; reporter "already repaired at HEAD" comments on #854.
swarm-claim host=elitebook-distributed-server-03 run=16332
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1141 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope