rehearsal: coalesce #661 auto-rebuilds — pushes during a rebuild fold into one follow-up at latest HEAD #1140
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#1140
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)
The #661 auto-rebuild fires per push: the arc saw 112 rebuilds for 87 arc-relevant commits. No staleness key can help —
internal/is linked into the agent as Go string literals, so nearly every commit changes the bytes honestly (measured on #1100: 5/5 published agent hashes distinct). The fix is fewer triggers, not a third key (#1096/#1100 closed on exactly this finding).What
Coalesce, don't retrigger. While a rebuild is running, further pushes do not queue further rebuilds — they mark the running rebuild's result stale-on-arrival. When a rebuild finishes and the marker is set, exactly one follow-up rebuild fires at the then-current HEAD (latest wins). A drive that launches between rebuilds uses the newest completed snapshot, as today.
Deliberately NOT chosen: moving the trigger to drive-launch — that serializes the (now ~15 min) rebuild into drive latency and lets the snapshot go cold between sparse drives.
Acceptance
Evidence: phase-5 report — 112 rebuilds / ~95 h background compute.
swarm-claim host=elitebook-distributed-server-03 run=16332
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1140 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope