ci: the reseed is starved under push cadence — every push cancels the seam, so get.idss.nz served one pin for 8 h while #966 waited (publish on the last agent-affecting commit) #976
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.
Blocks
Reference
Matou/idss#976
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?
Symptom
get.idss.nzserved6bb6ff29from 21:39Z (2026-08-28) through at least 05:45Z (2026-08-29) — eight hours — while main advanced eleven commits, including #966 (dd1e56ec), the fix the IDIP standing drive #788 was parked on (#971 staleness ticket re-filed every tick). Every push to main auto-cancels the in-flightci.ymlrun (Forgejo concurrency on workflow+ref), and with two sessions plus the swarm pushing roughly every 10 minutes the ~15-minuteseamnever reachedpublish. Cancelled runs in the window: 27988→28899→28924→28934→… Most of the cancelling pushes were docs-only (slices yaml, ADR amendments, STATUS, a mermaid semicolon).Rule it needs
The reseed chain (seam → publish → package →
idss-reseed.timer) must not be starved by pushes that cannot change the served agent. Two shapes, either is fine:publishruns on the last agent-affecting commit: a scheduled/dispatched publish workflow (separate fromci.yml, so it is not cancelled by the next push) that builds fromorigin/mainwhenx-idss-releaseis behind the newest commit touchingOC_BOOTSTRAP_AGENT_PATHS(the #600 staleness filter already knows the paths).docs/**,*.md,docs/slices/**) skips the seam entirely (paths-ignore) so it never cancels the run that matters; publish stays inci.yml.Recommend (A) — it also decouples "main is red on a docs gate" from "the agent is stale", which bit us twice tonight (#967, #974 both redded main on docs while #966 waited).
Acceptance
x-idss-releaseonget.idss.nzreaches origin/main's newest agent-affecting commit without human intervention; #971-class tickets stop re-filing.Evidence: commit statuses on
29be72a2/e2a44526(seamfailureat the exact minute of the next push = cancel, not red);x-idss-releaseprobe log in this session's monitor.Ruled by agent under ADR 0174 — veto anytime. Option (A) implemented: the reseed publish is now a standalone workflow off the push path, so a push can no longer cancel the run that mints the reseed pin. Config/CI-only, revertible (delete one workflow file), offline-proven — a two-way door.
Root cause confirmed live. At session start the registry itself was frozen: newest published
idss-agentversion =6bb6ff29(2026-08-28 21:34:31Z), andx-idss-releaseon get.idss.nz served the same6bb6ff29. Seven agent-affecting commits sat after it, unpublished —dd1e56ec(#966),f24a38a7,dc4ff8cf,dd9193ff,7d1b5cad,353ec1c6,556b533e— because everycirun reachingpublishwas cancelled by the next push (concurrency on workflow+ref).oc_bootstrap_stalenessverdict: served6bb6ff29is 7 agent-commit(s) behind origin/main (newest agent-affecting:556b533e). Task list shows the cancels directly, e.g. task 31974seamcancelled one2a44526.What landed (
d9b30bd7, advances #976):.forgejo/workflows/reseed-publish.yml— runsscripts/bootstrap-reseed/publish.shonschedule(3,13,23,33,43,53 * * * *) +workflow_dispatch, workflow-levelconcurrencywithcancel-in-progress: false. Off the push path → no push, no overlapping tick, can cancel it.publish.shis unchanged and already idempotent/self-backfilling: it diffsnewest-published..origin/mainoverOC_BOOTSTRAP_AGENT_PATHS(the #600 filter) and publishes origin/main's tip whenever that range is agent-affecting — so any commit orphaned by a cancelledcipublish is caught up on the next tick.go buildto publish.ci.ymlkeeps its green-seam-gatedpublishjob as the fast happy path; this rail is the always-fires backstop.scripts/tests/reseed-publish-workflow-test.sh(7 checks) pins the starvation-proof shape (not push-triggered; schedule+dispatch; workflow-levelcancel-in-progress:false;fetch-depth:0; runspublish.sh;REGISTRY_FORGEJO_TOKEN). GOTCHAS #123 added. STATUS updated.Note (follow-up filed separately): the broker rail (
publish-broker/deploy-broker, GOTCHAS #96/#98) still ridesciand remains starvable under the same cadence — named in GOTCHAS #123 and STATUS as a follow-up; out of scope for #976.Verifying the live heal now (dispatched the new rail; watching the registry advance past
6bb6ff29andx-idss-releasefollow via the droplet's 5-min reseed timer). Close-report to follow with the evidence.Follow-up landed: the rail as shipped (
d9b30bd7) satwaiting40 min — the workstation runner is capacity 1 (dropped from 2 on 2026-08-22,config.yml.bak-cap2) and FIFO-shared by idss/matou-app/dev-factory/matou-website crons: ~110 queued runs at 06:45Z. Movedruns-ontoelitebook-03(capacity 2, nix+go, idle) and dispatched. The workstation queue itself (four repos × resume-asks/healer/verify/triage crons on one slot, 4 cores/7 GB) is a separate capacity question for Ben — noted, not touched.Close-report — Ruled by agent under ADR 0174 (veto anytime).
Option A (implemented
d9b30bd7, moved toelitebook-035f6462f4) is landed and verified live this session. Config/CI-only, revertible (delete one workflow file) — a two-way door.Verified live (this session's monitor)
d9b30bd7(06:50:42Z) with 3 agent-affecting commits unpublished. Over the session the registry drained to tip on its own:d3b80d7c09:37:56Z →08e9bbcc09:39:40Z →e1a8cdcb09:43:41Z.x-idss-releasereachedorigin/main's newest agent-affecting commit without human intervention. Probe log: served08e9bbccat 09:47:29Z →e1a8cdcbat 09:49:46Z (the droplet's 5-min reseed timer, autonomous).e1a8cdcbwas published at 09:43:41Z — before my verificationworkflow_dispatchat ~09:44Z could have built — so the catch-up was the pipeline's, not a manual mint.oc_bootstrap_stalenessnow returns FRESH:bootstrap-fresh: served e1a8cdcbf46e… carries every agent-affecting commit up to origin/main.scripts/tests/reseed-publish-workflow-test.sh→7 checks passed(pins the starvation-proof shape: not push-triggered; schedule + dispatch; workflow-levelcancel-in-progress:false;fetch-depth:0; runspublish.sh;REGISTRY_FORGEJO_TOKEN).Acceptance
reseed-publish.yml, schedule +workflow_dispatch,cancel-in-progress:false);publish.shis idempotent and self-backfilling (diffsnewest-published..origin/mainoverOC_BOOTSTRAP_AGENT_PATHS). Guard confirmed locally:d9b30bd7..e1a8cdcb= 3 agent-commits → publishes the tip.x-idss-releasereaches the newest agent-affecting commit without human intervention — proven above (served →e1a8cdcb, fresh verdict).⭐⭐ A push to main cancels the seam …), with the rule.One honest caveat → filed as #980
The named failure #976 fixes is push cancellation, and that is fixed. But tonight a second, distinct cause of the same symptom surfaced: runner-pool queue saturation. The three commits above published in-order only after a ~1 h lag because their
cipublishjobs satwaitingin the capacity-1 FIFO queue (they were not cancelled — each ran to completion and published its own sha). During that window the #600/#918 park ticket #978 filed/updated (09:28Z) — a #971-class re-file that decoupling alone cannot stop, because its cause here is capacity, not cancellation. That is exactly the "separate capacity question for Ben" you flagged above (06:46Z); split out as #980 (ready-for-human), since reversing the deliberate 2026-08-22 cap-2→1 drop or re-sharding four repos' crons is a reserved host-capacity call. #978 will stop updating now that the pin is fresh; the next drive preflight passes.Landing #976 as done: its deliverable (publish off the push path, cancellation-proof) is complete, tested, and live-proven; the residual latency is #980's capacity concern, not this ticket's rule.
/is 100% full (0 bytes free) because /etc/cron.d/swarm-prune still points at the rootless docker socket — every task landing on its runner dies in 1-3s at Set up job, includingswarm-pool triage/resume-asks #2076