You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
wiring: the devkit's CI fails on a dispatch it cannot read or a devkit listener with no sender #163
v0.15.0 shipped notify-devkit.yml with its type in a JSON literal, which wiring.py cannot read, and a bump-merge.yml that listens for bump-ready. The devkit's CI was green; the first place that saw the orphan was
the umbrella's v0.15.0 bump PR (marola-dev/marola#862, wiring --check), after the release (#161). Two gaps: wiring.py skips a /dispatches call whose type it cannot read, with no message, and nothing in the devkit's CI
runs the wiring rules on the devkit's own workflows.
Acceptance criteria
wiring.py reports a step whose run calls /dispatches and yields no type it can read, as <repo> `<file>`: a dispatch whose type wiring cannot read; --check fails on it.
New wiring.py --lint-devkit [DIR] (default: this repo): reads the devkit's own .github/workflows, resolves a
workflow's call of ./.github/workflows/<f> or marola-dev/marola-devkit/.github/workflows/<f>@<any ref> to
the working-tree <f>, and fails
on (1) an unreadable dispatch as above, and (2) a repository_dispatch type a devkit workflow listens for that no
devkit workflow sends.
Self-test: the new cases failed first (5 failure(s) with lint_devkit stubbed; fix round: workflow_dispatch_api_not_unread failed, the cycle case hit RecursionError), then wiring self-test: ok (43 cases).
The shipped defect: wiring.py --lint-devkit (this PR's script) on v0.15.0 (8da577b) exits 1 with wiring: marola-devkit `notify-devkit-test.yml`: a dispatch whose type wiring cannot read and wiring: dispatch `bump-ready` is listened for but never sent; on v0.15.1 (4ec0660) it exits 0.
Activity
brunogbv commentedon Oct 17, 2026
Proof before merge (#165):
5 failure(s)withlint_devkitstubbed; fix round:workflow_dispatch_api_not_unreadfailed, the cycle case hitRecursionError), thenwiring self-test: ok(43 cases).wiring.py --lint-devkit(this PR's script) on v0.15.0 (8da577b) exits 1 withwiring: marola-devkit `notify-devkit-test.yml`: a dispatch whose type wiring cannot readandwiring: dispatch `bump-ready` is listened for but never sent; on v0.15.1 (4ec0660) it exits 0.python / python-cijob ranpython3 scripts/wiring.py --lint-devkitin "caller self-tests" (2026-10-17T03:20:42Z), success.Not proven yet: the new
--checkline in the umbrella; it runs when the umbrella pins the release that carries this.release: v0.16.0 (#166)