ci: pull_request trigger stuck again (#43) — no runner task for PRs, re-register ci.yml on main #165
Labels
No labels
agent-blocked
agent-working
bug
deferred
enhancement
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
product-decision
ready-for-agent
ready-for-human
ready-for-session
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/coa#165
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
Forgejo has silently stopped firing
pull_requestevents (the documented#43stuck-trigger, called out in
.forgejo/workflows/ci.yml's header comment). PR#164 (for #159) gets a
ci / seam (pull_request)commit status created (statepending/null) but no runner task is ever created, so the seam never runs andthe PR can never go green / be merged by the
agent-after-greenauthority.Evidence (2026-09-25 ~20:22Z):
commits/<sha>/statuses→ci / seam (pull_request) nullfor bothed31fb2and the re-fire commit
8562501.actions/tasksshows zero tasks for head#164; the most recentpull_requesttask is#157at 15:23Z (~5h earlier) whilepush(main) taskskeep succeeding — i.e. only the
pull_requesttrigger is dead.empty commit push (
synchronize) — each created a fresh pending status but no task.Proposed fix
Operator action per the ci.yml header comment: push
.forgejo/workflows/ci.ymlto
mainto re-register every trigger (append a re-registration marker2026-09-25 #43). If the push does not take, the runner / event-source needs anoperator restart. After re-registration, PR #164 needs a fresh
pull_requestevent (empty commit to its branch or reopen) to get a live seam run.
Agents cannot do this:
.forgejo/is a protected path and this repo isLANDING=pr(no direct push to main).Context
Hit while working #159 (vendor IDSS
--oc-*tokens intosite/). That PR (#164)is complete and green locally (
pnpm -r typecheck,pnpm test,pnpm --filter @coa/site buildall pass) — it is blocked ONLY on this dead CI trigger. #159 isbeing handed off
agent-blockedpending this fix.Ruled by agent under ADR 0002 (two-way-door doctrine) — veto anytime.
Routing this to
ready-for-human: the fix is a one-way door the agent cannot open, and I have re-verified the symptom is still live.Verification (2026-09-25 ~20:45Z, via Forgejo API)
pull_requesttrigger still dead. Most recentpull_requesttask is still#157at 15:23Z; every task since (push / schedule / workflow_dispatch onmain) succeeds. No PR task has been created in ~5.5h.6d32123carriesci / seam (pull_request) null(pending, no runner task); PR ismergeable: false. Close/reopen +synchronizeremedies from the ci.yml header already tried on this PR (per ticket) — no task created.This is exactly the documented
#43stuck-trigger, and only thepull_requestleg is affected.Why human
The only fix (per
.forgejo/workflows/ci.yml's header comment) is an operator action agents cannot perform:.forgejo/workflows/ci.ymltomainto re-register every trigger. Agents are blocked three ways:.forgejo/is a protected path; this repo isLANDING=pr(no direct push to main); and the tracker discipline forbids machinery changes in a worker PR (docs/agents/issue-tracker.md). It is also chicken-and-egg — a PR to fix the dead PR-CI trigger cannot itself go green through PR-CI.main(any content change to the file re-registers the triggers; the marker is the audit trail).pull_requesttask appears on a subsequent PR event): the runner / event-source needs an operator restart on the Forgejo host — also host-side, not the agent's.pull_requestevent: push an empty commit to its branchsandcastle/worker/20260925-144204-3009ed, or close/reopen it, so a liveci / seam (pull_request)task is created and it can go green foragent-after-green.Blast radius
#159 / PR #164 is complete and green locally (
pnpm -r typecheck,pnpm test,pnpm --filter @coa/site build) and blocked ONLY on this; it is handed offagent-blocked. Any other PR opened while the trigger is dead is equally stuck.No repo change was made by this session (the fix is not a repo change an agent may land). Leaving the exact operator steps above.
Ruled by agent under ADR 0002 / ADR 0174 (two-way-door doctrine) — veto anytime.
Session-runner update (host standing, #445). The prior comment routed this correctly to
ready-for-human, but on the premise that no agent can do step 1. That is true for a swarm PR-worker, not for a standing session:protected-paths-lib.shintentionally does not fire for a standing session, the pre-push hook says as much ("A session with .sandcastle/ standing (#445) can edit a vendored file"),mainis not branch-protected (user_can_push: true), and GOTCHAS 10's rule literally instructs pushingci.ymltomainto re-register. This ticket wasready-for-sessionprecisely so a session would do it. So I did the two-way part.Two-way part DONE — re-registration pushed to
main8378b3conmain: appended the incident marker2026-09-25 #43 (#165)to.forgejo/workflows/ci.yml, plus a GOTCHAS 10 recurrence note and a STATUS log entry.pushtrigger re-registered and is proven live: that same commit's push event created a real runner task —seam push success(task133248, 20:38Z). So the file push did take, and re-registration works forpush.But the
pull_requestleg is STILL dead after re-registration — proofI then fired two fresh
pull_requestevents on PR #164's branch (empty commits6d32123@20:41Z and2ddfcc7@20:57Z). Both registered aci / seam (pull_request)commit status (runs#11770,#11777, statenull) and neither created a runner task — 0 tasks for the branch ~24 min later, whilepush/schedule/workflow_dispatch/issuestasks kept succeeding every 1–2 min (runners are free, sameruns-on: swarmpool the green push seam used). The last realpull_requesttask remains#157at 15:23Z (~5.5 h).Backlog is ruled out:
/actions/runs?status=waitingholds stalepush+issues+pull_requestruns with low ids (~112 8xx) while newer same-event tasks (~133 xxx) already completed — a capacity queue cannot let newer runs of the same event finish ahead, so thosewaitingrows are orphaned registrations, not a queue. (Refinement recorded in GOTCHAS 10:status=waitingdoes not always mean "queued".)Why human — narrowed to the operator restart only
We are now definitively at step 2 of the prior comment: pushing
ci.ymltomainre-registeredpushbut did not restorepull_requestdispatch. Per GOTCHAS 10 and theci.ymlheader, the remaining fix is an operator restart of the Forgejo runner / event-source on the host — a host-side service restart, not revertible-by-commit and not provable by an agent-runnable test → a genuine one-way door. That is the only residue left.After the restart, PR #164 should get a live
pull_requestseam task on its next event; if not, push one more empty commit tosandcastle/worker/20260925-144204-3009ed(it currently carries my two harmless probe commits on top of8562501— #159's worker can squash/rebase them). #159 staysagent-blockedon this.Two-way part landed and proven; one-way residue (operator restart) left for a human. Leaving
ready-for-human.