ci: pull_request event stopped firing seam tasks — agent PRs cannot merge #43
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#43
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
The Forgejo
pull_requestevent has silently stopped dispatchingci.ymlseamtasks for this repo. Since run 30837 (#27, 2026-08-28 20:31Z) no
event=pull_requesttask has been created, whilepush,schedule,workflow_dispatchandissuestasks keep dispatching and completing normally.Observed on PR #41 (issue #15, branch
agent/issue-15):b0bcd49at 23:09Z, empty re-triggerc1bae37at00:01Z) each registered a commit status
ci / seam (pull_request) pending(repo runs 221 then 238) but no runner task was ever created for either —
the status is stuck
pendingforever.pnpm install --frozen-lockfile && pnpm -r typecheck && pnpm -r testandpnpm --filter @coa/site buildare all green locally, so this is purely a CIdispatch fault, not a code failure.
Impact
MERGE_AUTHORITY=agent-after-greenneeds theci / seam (pull_request)check togo green before it merges. With
pull_requestnot firing, no agent PR canmerge — every worker that opens a PR will stall the same way. Issue #15 is
parked
agent-blockedbehind this.Proposed fix
ci.yml's own header documents this class of flakiness for schedule/push andthe remedy: "pushing this file re-registers it." A session should touch
.forgejo/workflows/ci.yml(a protected path workers cannot edit) and push tomainto re-register thepull_requestevent, then confirm a fresh PR fires aseam task. If re-registration does not take, the Forgejo Actions runner /
event-source for this repo needs an operator restart.
Filed by the worker on issue #15 (branch
sandcastle/worker/20260828-230435-c61f7d).Close report — pull_request dispatch re-registered, proven green
Landed:
97f1a3conmain— touched the protected.forgejo/workflows/ci.ymlto re-register every trigger (the remedy its own header documents for schedule/push, now extended to coverpull_request), plusdocs/GOTCHAS.md#10 and aSTATUS.mdheader + log entry in the same commit.Diagnosis (confirmed the symptom). Before the push, both open agent PRs had a
ci / seam (pull_request)status stuckpendingwith no runner task ever created — the referenced run numbers did not appear inGET /actions/tasks.push/schedule/workflow_dispatch/issueskept dispatching and the seam was green viaworkflow_dispatch, so this was purely a dispatch fault, not code (as the ticket said). This is the same event-source flakinessci.ymlalready documented for schedule/push.Proof the re-registration took (fresh PRs fired real seam tasks). After
97f1a3clanded, the previously-stuckpull_requestseams dispatched and went green:agent/issue-12) — run 233pull_requestseam → success.agent/issue-15, this ticket's blocked PR) — run 238pull_requestseam → success; commitc1bae37status is nowstate: successand the PR is mergeable again. Issue #15 is unblocked.A throwaway probe PR (#44, branch
ci-probe-43-pr-reregister) was opened to test a net-new PR and has been closed and its branch deleted; its queued status is harmless.Ruling. Ruled by agent under ADR 0002 (two-way-door doctrine) — a revertible commit, proven by two real PRs firing green seam tasks. Veto anytime. The ticket's fallback (an operator restart of the runner / event-source) was a one-way door and was not needed: re-registration took.
Advances #43; closing.