Repository navigation
Closed
Labels
app/github-backupinfra/github-backup estate mirror systeminfra/github-backup estate mirror systemarea/ciCI/CD pipelines, workflows, and build automation (area)CI/CD pipelines, workflows, and build automation (area)effort/sSmall: expected under 2 hours of workSmall: expected under 2 hours of workkind/ciCI/CD pipelines, workflows, and build automationCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)Ordinary priority (the default)source/creatorFiled by the new-issue-creator jobFiled by the new-issue-creator jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testsQueue packet kind: bounded fix with reproduction and targeted tests
Description
What
.github/workflows/github-backup-tests.yml — the workflow that runs the infra/github-backup regression suite (12 test_*.py files, run file-by-file as scripts) — declares one trigger policy in its header and implements another:
- Header (
.github/workflows/github-backup-tests.yml:27): "Trigger policy matches the house pattern since 5a94833: dispatch/schedule only, no push/pull_request triggers." - Actual trigger block (
:30-31):on:contains onlyworkflow_dispatch:— there is noschedule:trigger at all.
So nothing automatic ever runs the suite. The workflow is active in the Actions API (not disabled), but a dispatch-only workflow runs only when a human remembers to dispatch it.
Verified this run (laptop, main a565493)
- Actions API: workflow state
active; newest run is 2026-11-05T03:48:07Z (workflow_dispatch, success). No run of any kind since. - Merged github-backup changes since that last run include production fixes and suite changes the workflow exists to verify, e.g.:
9708d42586fix(github-backup): reject malformed inventory pagination cursors (fix(github-backup): reject malformed inventory pagination cursors #6574)fc1c796be3mirror contract remainder (github-backup(valid_mirror): a bare skeleton with zero refs passes as a verified mirror — clone_all records it ok and MANIFEST.json reports it 'mirrored' #3238/github-backup(fetch): a missing mirror can never trip the chronic alarm — 'missing' returns before any fail_days record, so the daily run exits 0 forever #3270/github-backup(state): plan.json, state.json and MANIFEST.json are written non-atomically and loaded with bare json.load — one torn write wedges the daily fetch, the drainer and manifest regeneration #3240/Phase 3 (audit) of #3282 — closing state-access inventory + contract statement for infra/github-backup #3283)ea0f944341validate plan reference/branch/parent field shapes (github-backup(clone_all+manifest): a wrong-shape reference/branch field passes validate_plan and crashes both consumers — the #6637 gate checks only repo #6834)5f7aa2ce50drain_queue loads plan/state through the shared validators (github-backup(drain): drain_queue reads plan.json/state.json with bare json.load — the one consumer bypassing validate_plan/validate_state, and its own drain_* keys crash it #6835)31c6e25998/github null body 202 + fail-closed secret guard (github-backup(worker): POST /github crashes on a signed JSON null body, and an unset/empty webhook secret crashes every delivery naming nothing #6951)479afb8987test(github-backup): manifest build() wrong-shape regression tests (github-backup(manifest): a valid-JSON but wrong-shape plan/state entry crashes the whole manifest regeneration — MANIFEST.json (the DR source) is never rewritten #6653)23bd4659cbtest(github-backup): property tests for plan/state shape validators (github-backup(fetch): a valid-JSON but wrong-shape plan/state entry crashes the whole daily fetch — one poison entry in plan.json or state.json wedges every repo, every day #6637)
- Hand run on the laptop, exactly as the workflow runs it (each
infra/github-backup/tests/test_*.pyfile as a script): 12/12 files pass on a full repeat run. (One transienttest_fetch_mirrors.pyfailure appeared in a first sequential run and did not reproduce standalone or on the repeat — not claimed as a suite failure; it does underline that the suite currently gets no regular exercise.)
Why it matters
- The header comment is the record a future maintainer (or an audit like Policy, triggers, enablement must agree — one agreement contract for ci-policy's guard and build workflows #7089/Closing agreement audit — every ci-policy-named workflow against all three legs (Phase 4 of the ci-policy agreement design) #7091) reads to learn the intended venue; it says a schedule exists. It does not, so the suite's coverage is illusory: regressions in clone/reconcile/drain/deploy safety code merged after 2026-11-05 have had no CI verification at all.
- This is the same failure shape as ci(lab-ops-hub): test workflow is dispatch-only AND disabled_manually — SSRF validator suites have not run since 2026-11-01 (last run: failure) while three validator fixes merged #7715/ci(cf-container-hello): test workflow is dispatch-only AND disabled_manually — #955 hardening suite has not run since 2026-11-01, and its cross-package validator dependency changed 2026-11-07 #7716/ci(cold-store-reaper): test workflow dispatch-only and disabled_manually — #1427 suites have not run since 2026-11-02 while the package keeps changing #7663 (suites whose only venue silently stopped exercising them while the code kept changing), except here the workflow is not even disabled — it is simply never triggered, which makes the gap easier to miss.
Distinct from
- ci(github-backup): worker/test/index.test.mjs (5 tests pinning the queue Worker's auth + KV pagination) run by no workflow — #5937 wired only the Python suite #6085: the github-backup Worker vitest suite (
worker/test/index.test.mjs) run by no workflow — a different suite; this issue is the Python regression suite whose workflow exists but never fires. - Policy, triggers, enablement must agree — one agreement contract for ci-policy's guard and build workflows #7089/Closing agreement audit — every ci-policy-named workflow against all three legs (Phase 4 of the ci-policy agreement design) #7091: the ci-policy agreement audits — this filing is the concrete verified instance for this workflow's header-vs-trigger mismatch.
Acceptance criteria
- The workflow's implemented triggers match its stated policy: either a real
schedule:trigger is added (with a cadence named in the header), or the header is corrected to dispatch-only and another automatic venue (e.g. path-gated push-to-main) runs the suite — a comment-only fix that leaves the suite unexercised does not close this. - A run triggered by the new automatic venue is observed green on current main (link the run in the closing comment).
- The registry row for this suite in
.github/test-suite-registry.jsonreflects the real venue/trigger after the fix.
Metadata
Metadata
Assignees
Labels
app/github-backupinfra/github-backup estate mirror systeminfra/github-backup estate mirror systemarea/ciCI/CD pipelines, workflows, and build automation (area)CI/CD pipelines, workflows, and build automation (area)effort/sSmall: expected under 2 hours of workSmall: expected under 2 hours of workkind/ciCI/CD pipelines, workflows, and build automationCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)Ordinary priority (the default)source/creatorFiled by the new-issue-creator jobFiled by the new-issue-creator jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testsQueue packet kind: bounded fix with reproduction and targeted tests
Activity
developing-today commentedon Nov 8, 2026
CODE-2312
dezren39 commentedon Nov 8, 2026
🤖 Agent note · filed
dezren39 commentedon Nov 8, 2026
Sibling instance filed this run for a different workflow/suite: issue #7778 (repo-universe-tests — same header-promises-a-schedule mismatch, independent fix).
dezren39 commentedon Nov 8, 2026
Correction to the verification note in the issue body (same run, creator lane B): the completed outputs of both laptop hand-run loops show all 12 test files passing with rc=0, including test_fetch_mirrors.py standalone. The 'one transient failure' mentioned in the body came from a garbled mid-run tool delivery and is not supported by any completed run — please disregard that parenthetical. The verified claim stands unchanged: hand run 12/12 PASS; the defect filed here is the missing schedule/venue, not a red suite.
17 remaining items
dezren39 commentedon Nov 10, 2026
agent-note: task 14538 handed off to opencode claimant (lane row 5733) by lane code-w. Handoff reason: scheduled shift is time-bounded; claimant is the persistent execution session. Issue #7777 verified OPEN with no hard-stop labels and no status/needs-triage (fresh gh, lane code-w 2026-11-10). Attempts now 4/4 (at cap). Parked 1200s for the claimant.
Merge pull request #8429 from developing-today/queue/14538-7777-backu…
dezren39 commentedon Nov 11, 2026
agent-note:v1
state: implemented + merged; awaiting the verification run
task: 14538
lane: code-o
issue: #7777
pr: #8429
Task 14538 is dependency-blocked on run 42944107625. On its completion: if green, post the closing comment here linking the run and complete the task as fixed_merged; if red, name the failing file from the run log (the suite passed locally, so treat a red run as environment/venue evidence to investigate, not as a silent retry).
dezren39 commentedon Nov 11, 2026
agent-note:v1
state: done — verification completed on merged main
task: 14538
lane: code-a
issue: #7777
pr: #8429
cron: "47 4 * * *"), verified fresh on origin/main this shift.