ci: the seam gate has not FIRED since 05:41 — eleven main pushes, zero runs, and neither the documented re-registration touch nor a workflow_dispatch brings it back #880

Closed
opened 2026-08-26 20:28:16 +00:00 by matou-build-agent · 1 comment

Found while proving #871's re-armed gate actually runs. #871 fixed "the gate cannot fail"; this is "the gate does not run". From main's point of view they are the same outcome, and this one is now the only way a broken stage still reaches main unnoticed.

The observation

The last ci run (its job is named seam, which is how it appears in the API) on main is 34c0863a, 2026-08-26T05:41:03Z. Every push since — eleven of them at time of filing, including #871's own errexit fix — has produced no run at all. Not queued, not failed: no run record.

$ curl -s -H "Authorization: token $FORGEJO_TOKEN" \
    "https://git.matou.nz/api/v1/repos/Matou/idss/actions/tasks?limit=30" | ... name=="seam"
SEAM: 23454 success None 34c0863a 2026-08-26T05:41:03Z
SEAM: 23177 success None 2bda2096 2026-08-26T02:47:11Z

What has been ruled out

  • Not the instance, not the runner. triage, resume and watchdog keep firing on schedule throughout (runs at 20:24, 20:23, 20:20 …). The Forgejo Actions machinery and the matou-workstation runner are both alive.
  • Not a stale remote. Forgejo's own branch API reports main at c45adc47 — the current head, pushed minutes earlier. It serves .forgejo/workflows/ci.yml at main with 200.
  • Not the known remedy. .forgejo/workflows/ci.yml's own header documents this fault (cron 2026-07-28, push events 2026-07-31, ~8 pushes) and prescribes: "Pushing this file re-registers it; if seam runs stop appearing after pushes, touch this file and push again." That was done in c45adc47. It did not work — no run followed, ~7 minutes of polling.
  • Not just push events. POST /api/v1/repos/Matou/idss/actions/workflows/ci.yml/dispatches -d '{"ref":"main"}' returns 204 and produces no run either. The workflow declares workflow_dispatch: {}, so the trigger exists. Something accepts the dispatch and drops it.

So the failure is specific to this workflow, and it survives both of the levers available from a session.

Why this matters more than it did last time

Until today the gate could not fail anyway (#871: set -e was suspended inside seam(), so only the last stage could redden a run). A gate that never fired was, for months, indistinguishable from the gate that did fire — both were green. #871 changed that: the gate now genuinely reddens on any failing stage, and #873 put the 24 offline harness tests inside it. Both of those are worth exactly nothing while no run happens.

Concretely: the three failures #871's inventory found had all been sitting on main, and the fix for them landed with no CI verification of its own. Every commit since 05:41 is in the same position.

What is probably needed

Beyond what a session can reach from the API: the repo's Actions settings on the instance, the workflow registration table, or the instance logs at the moment a push arrives. If that turns out to need admin on git.matou.nz (Ben's account), relabel ready-for-human with a ## Why human naming exactly that — but the diagnosis above should be repeatable by a session first, and a workaround (a scheduled ci run, since schedule demonstrably still works on this instance, or a runner-side push hook) may be reachable without admin.

Acceptance

  • A push to main produces a ci run again, demonstrated on a real commit.
  • The cause is named — not just "touching the file fixed it", because this time it did not.
  • A detector: something notices that ci has stopped firing without a human happening to look. Four occurrences (2026-07-28, 2026-07-31, 2026-08-26, and however many between) were each found by accident, and each time only after the gate had been silently absent for hours. watchdog fires reliably on schedule and is the obvious place to assert "main's head sha has a ci run, or is younger than N minutes".

Refs: #871 (the gate's teeth — armed, and unproven in ci because of this), #873 (24 offline tests, likewise), ADR 0100.

Filed by agent under ADR 0174 while working #871 — the diagnosis above is this session's; the fix is not attempted here.

Found while proving #871's re-armed gate actually runs. #871 fixed "the gate cannot fail"; this is "the gate does not run". From `main`'s point of view they are the same outcome, and this one is now the only way a broken stage still reaches `main` unnoticed. ## The observation The last `ci` run (its job is named `seam`, which is how it appears in the API) on `main` is **`34c0863a`, 2026-08-26T05:41:03Z**. Every push since — eleven of them at time of filing, including #871's own errexit fix — has produced **no run at all**. Not queued, not failed: no run record. ``` $ curl -s -H "Authorization: token $FORGEJO_TOKEN" \ "https://git.matou.nz/api/v1/repos/Matou/idss/actions/tasks?limit=30" | ... name=="seam" SEAM: 23454 success None 34c0863a 2026-08-26T05:41:03Z SEAM: 23177 success None 2bda2096 2026-08-26T02:47:11Z ``` ## What has been ruled out - **Not the instance, not the runner.** `triage`, `resume` and `watchdog` keep firing on schedule throughout (runs at 20:24, 20:23, 20:20 …). The Forgejo Actions machinery and the `matou-workstation` runner are both alive. - **Not a stale remote.** Forgejo's own branch API reports `main` at `c45adc47` — the current head, pushed minutes earlier. It serves `.forgejo/workflows/ci.yml` at `main` with `200`. - **Not the known remedy.** `.forgejo/workflows/ci.yml`'s own header documents this fault (cron 2026-07-28, push events 2026-07-31, ~8 pushes) and prescribes: *"Pushing this file re-registers it; if seam runs stop appearing after pushes, touch this file and push again."* That was done in `c45adc47`. **It did not work** — no run followed, ~7 minutes of polling. - **Not just push events.** `POST /api/v1/repos/Matou/idss/actions/workflows/ci.yml/dispatches -d '{"ref":"main"}'` returns **`204`** and produces no run either. The workflow declares `workflow_dispatch: {}`, so the trigger exists. Something accepts the dispatch and drops it. So the failure is specific to this workflow, and it survives both of the levers available from a session. ## Why this matters more than it did last time Until today the gate could not fail anyway (#871: `set -e` was suspended inside `seam()`, so only the last stage could redden a run). A gate that never fired was, for months, indistinguishable from the gate that did fire — both were green. #871 changed that: the gate now genuinely reddens on any failing stage, and #873 put the 24 offline harness tests inside it. Both of those are worth exactly nothing while no run happens. Concretely: the three failures #871's inventory found had all been sitting on `main`, and the fix for them landed with **no CI verification of its own**. Every commit since 05:41 is in the same position. ## What is probably needed Beyond what a session can reach from the API: the repo's Actions settings on the instance, the workflow registration table, or the instance logs at the moment a push arrives. If that turns out to need admin on `git.matou.nz` (Ben's account), relabel `ready-for-human` with a `## Why human` naming exactly that — but the diagnosis above should be repeatable by a session first, and a workaround (a scheduled `ci` run, since `schedule` demonstrably still works on this instance, or a runner-side push hook) may be reachable without admin. ## Acceptance - [ ] A push to `main` produces a `ci` run again, demonstrated on a real commit. - [ ] The cause is named — not just "touching the file fixed it", because this time it did not. - [ ] A **detector**: something notices that `ci` has stopped firing without a human happening to look. Four occurrences (2026-07-28, 2026-07-31, 2026-08-26, and however many between) were each found by accident, and each time only after the gate had been silently absent for hours. `watchdog` fires reliably on schedule and is the obvious place to assert "main's head sha has a ci run, or is younger than N minutes". Refs: #871 (the gate's teeth — armed, and unproven in ci because of this), #873 (24 offline tests, likewise), ADR 0100. Filed by agent under ADR 0174 while working #871 — the diagnosis above is this session's; the fix is not attempted here.
Author
Member

Close-report — #880 is a duplicate of #878 (same incident), resolved and proven

Ruled by agent under ADR 0174 — veto anytime. No one-way door was touched.

AC1 — a push to main produces a ci run again ✅ (proven on real commits)

  • seam 25918 on 4a2a3200 (a real main commit): success, 22:24:04Z.
  • Per STATUS.md/#878: ci 23558 on 76e057e2 went GREEN 22:15:48Z — the first ci on main since 05:41Z and the first-ever run of the #873 offline-test stage.
  • This session's own push (1dc17599) created a fresh push-event ci.yml run 23652 — created and queued (waiting), i.e. the push→run path works; it will be claimed as a runner slot frees.

AC2 — the cause, named (not "touching the file fixed it")

The ci runs were never missing — they were created and sat waiting, unclaimed. #880's diagnosis read actions/tasks, which lists only CLAIMED jobs (GOTCHAS #95), so a created-but-unclaimed run is invisible there and reads as "no run at all". The workflow_dispatch returning 204 did create a run; it queued behind the backlog. The right endpoint is runs?event=push&status=waiting — where a ci.yml run for main's head was visibly sitting the whole time (#878 names it explicitly: "A ci.yml run for 3557b8a7 is sitting in waiting right now").

Root cause (per #878, closed, and STATUS.md): the pool was buried under ~2,700 no-op swarm.yml runs minted by dev-factory's issues:labeled loop (dev-factory #103 / 54e8f55, its GOTCHAS 32). Real ci/healer/triage/resume-asks runs queued behind them for ~14h. This is why the documented "touch the file to re-register" remedy could not help — the run already existed; re-registration only helps the creation-drop mode (schedule rows vanish), not this saturation/claiming mode. Ben cancelled the backlog ~21:50Z and claiming drained; #871's 20:13Z re-register push also incidentally revived claiming (GOTCHAS #95).

So #880 and #878 are the same incident (ci silent since 34c0863a, 05:41Z), seen through two different endpoints. #878 diagnosed and resolved it; #880 is the residue #871 filed before that diagnosis landed.

AC3 — a detector

Already owned by the open, canonical #269 (scheduler-silence canary) — promoted to its second real incident with a concrete assertion (oldest waiting run younger than N minutes). #880's specific framing ("head sha has a ci run, or is younger than N min") has been folded into #269 as a complementary assertion, with the endpoint caveat that decides whether it works (comment 25425). The detector's home is the factory-vendored watchdog (heal.sh/heal-lib.sh, ADR 0180) — a repo-local duplicate here would drift check-harness-drift.sh and split-brain with #269, so it was not built in this session.

What landed this session (two-way doors only)

  • 1dc17599 — corrected ci.yml's header (its "Forgejo un-registered it, touch to re-register" remedy is exactly what misled this ticket): now points readers at runs?event=push&status=waiting and GOTCHAS #95 before concluding the workflow is unregistered. STATUS.md records the dedup. The push itself exercised the recovered gate (run 23652).

Closing as a duplicate of #878; the durable detector remains tracked in #269.

## Close-report — #880 is a duplicate of #878 (same incident), resolved and proven **Ruled by agent under ADR 0174 — veto anytime.** No one-way door was touched. ### AC1 — a push to `main` produces a `ci` run again ✅ (proven on real commits) - `seam` **25918** on `4a2a3200` (a real `main` commit): **success**, 22:24:04Z. - Per `STATUS.md`/#878: `ci` **23558** on `76e057e2` went **GREEN 22:15:48Z** — the first `ci` on `main` since 05:41Z and the first-ever run of the #873 offline-test stage. - This session's own push (`1dc17599`) created a fresh push-event `ci.yml` run **23652** — created and queued (`waiting`), i.e. the push→run path works; it will be claimed as a runner slot frees. ### AC2 — the cause, named (not "touching the file fixed it") **The `ci` runs were never missing — they were created and sat `waiting`, unclaimed.** #880's diagnosis read `actions/tasks`, which lists **only CLAIMED jobs** (GOTCHAS #95), so a created-but-unclaimed run is invisible there and reads as "no run at all". The `workflow_dispatch` returning `204` **did** create a run; it queued behind the backlog. The right endpoint is `runs?event=push&status=waiting` — where a `ci.yml` run for `main`'s head was visibly sitting the whole time (#878 names it explicitly: *"A `ci.yml` run for `3557b8a7` is sitting in `waiting` right now"*). Root cause (per #878, closed, and `STATUS.md`): the pool was **buried under ~2,700 no-op `swarm.yml` runs** minted by dev-factory's `issues:labeled` loop (dev-factory #103 / `54e8f55`, its GOTCHAS 32). Real `ci`/`healer`/`triage`/`resume-asks` runs queued behind them for ~14h. This is why the documented "touch the file to re-register" remedy could not help — **the run already existed**; re-registration only helps the *creation-drop* mode (schedule rows vanish), not this *saturation/claiming* mode. Ben cancelled the backlog ~21:50Z and claiming drained; #871's 20:13Z re-register push also incidentally revived claiming (GOTCHAS #95). So #880 and #878 are the **same incident** (`ci` silent since `34c0863a`, 05:41Z), seen through two different endpoints. #878 diagnosed and resolved it; #880 is the residue #871 filed before that diagnosis landed. ### AC3 — a detector Already owned by the open, canonical **#269 (scheduler-silence canary)** — promoted to its second real incident with a concrete assertion (*oldest `waiting` run younger than N minutes*). #880's specific framing ("head sha has a `ci` run, or is younger than N min") has been folded into #269 as a complementary assertion, with the endpoint caveat that decides whether it works (comment 25425). The detector's home is the factory-vendored watchdog (`heal.sh`/`heal-lib.sh`, ADR 0180) — a repo-local duplicate here would drift `check-harness-drift.sh` and split-brain with #269, so it was **not** built in this session. ### What landed this session (two-way doors only) - `1dc17599` — corrected `ci.yml`'s header (its "Forgejo un-registered it, touch to re-register" remedy is exactly what misled this ticket): now points readers at `runs?event=push&status=waiting` and GOTCHAS #95 before concluding the workflow is unregistered. `STATUS.md` records the dedup. The push itself exercised the recovered gate (run 23652). Closing as a duplicate of #878; the durable detector remains tracked in #269.
matou-build-agent 2026-08-26 22:41:58 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#880
No description provided.