GeezerVison is showing github.com — Coverage ratchet — fail when a suite is unwired or a registry row dangles (Phase 4 of #6185) · Issue #6188 · developing-today/code
Coverage ratchet — fail when a suite is unwired or a registry row dangles (Phase 4 of #6185) #6188DescriptionCoverage ratchet — fail when a suite is unwired, a registry row dangles, or a venue stops naming its suites
Phase 4 of the test-suite coverage design (design issue #6185; design doc files/designs/code-test-suite-coverage-contract.md in the keep-the-four-repos-healthy goal workspace). Gated on Phase 1 (the registry) and Phase 2 (the filed suites wired) of #6185.
The contract rule this phase enforces (from #6185): coverage is ratcheted — a check compares the on-disk suite inventory against the registry and the venues' contents, so the next unwired suite fails a check instead of waiting for a hand audit to rediscover it (the failure mode that produced twenty-one filings on 2026-11-05 and seven closed wiring fixes that each missed a sibling suite).
Scope
Acceptance criteria
Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 5, 2026 🤖 Agent note · design phase filed
dezren39 commented on Nov 14, 2026
Agent note — dep-blocked, task 12927 for issue #6188 (lane code-c)
- Fresh check 2026-11-14T04:55Z: issue Coverage ratchet — fail when a suite is unwired or a registry row dangles (Phase 4 of #6185) #6188 (Phase 4 coverage ratchet of A suite that never runs is not a test — one coverage contract for the repo's test suites #6185) is OPEN, no hard-stop labels.
- Phase 2 gate has narrowed since the 2026-11-10 check: of the 11 then-open wiring issues, seven are now CLOSED (ci(cargo-target-janitor): test_cargo_target_janitor.py (13 tests, deletion-safety rules) run by no workflow — hourly timer runs the deleter, never its tests #5952, ci(pm-stack): pm-git-sync.test.sh (23 checks) + tailnet-bindings.test.sh run by no workflow — pm-stack-tests.yml runs the other two script suites #5993, 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, ci(pm-stack): opencode-claimant install.test.mjs (13 tests pinning the #3278 typo'd-flag install guard) run by no workflow — #5951 wired only the Python suite #6091, ci(chat): pkgs/chat go tests (5 tests pinning broadcast + registry concurrency) run by no workflow — go-modules-build.yml builds and vets but never tests #6099, ci(pm-stack/ready-for-agent): test-install.sh (6 cases) + test-apply-config.sh (5 cases) run by no workflow — the gap that let test-install stay red on main until #5368 #6179, ci(pm-stack): pm-stack-tests.yml is disabled_manually in Actions — no suite in it can run #5954). Four remain OPEN: ci(fleet-paperwork): test_fleet_paperwork.py is run by no workflow — the #5109 pacing regressions are verified nowhere #5942, ci(t3code-seed-providers): test_seed.py (6 tests, #2738/#3170 regression pins) run by no workflow — systemd service runs seed.sh, never its tests #5992, ci(mcpx): opencode v2 plugin bun suite (61 tests: permission/sampling/tool-filter/session-env) run by no workflow — mcpx.yml runs only plugin/opencode/mcpx/ (v1) #6092, pkarr-worker: test suite unrunnable from a clean checkout — lockfile pins vitest 3.2.7 vs package.json ^4.0.0 (npm ci refuses), and vitest 4 breaks the pool-workers runner (0 tests run); no workflow runs it either #6093. (Suite registry — inventory every test suite and name its venue (Phase 1 of #6185) #6186, the Phase 1 registry issue, was already closed.)
- The ratchet cannot be built until every Phase 2 suite is wired — a ratchet that fails on still-unwired suites would be red by construction — so no implementation was started.
- Action: dep-blocked task 12927 structurally on issues ci(fleet-paperwork): test_fleet_paperwork.py is run by no workflow — the #5109 pacing regressions are verified nowhere #5942, ci(t3code-seed-providers): test_seed.py (6 tests, #2738/#3170 regression pins) run by no workflow — systemd service runs seed.sh, never its tests #5992, ci(mcpx): opencode v2 plugin bun suite (61 tests: permission/sampling/tool-filter/session-env) run by no workflow — mcpx.yml runs only plugin/opencode/mcpx/ (v1) #6092, pkarr-worker: test suite unrunnable from a clean checkout — lockfile pins vitest 3.2.7 vs package.json ^4.0.0 (npm ci refuses), and vitest 4 breaks the pool-workers runner (0 tests run); no workflow runs it either #6093 (max TTL 3 days) — the broker returns it to the pool automatically when all four close.
dezren39 commented on Nov 14, 2026 Blocked-until checker: condition fired on 2026-11-14.
Gate: custom gate(s) cleared
Evidence: developing-today/code#5942 state=CLOSED merged_at=None (need issue-closed); developing-today/code#5992 state=CLOSED merged_at=None (need issue-closed); developing-today/code#6065 state=CLOSED merged_at=None (need issue-closed)
Action: queue task(s) 12927 released to queued (fleet-queue events kind=condition_fired, worker blocked-until); labels synced to queue/queued.
Registry item: br-blocked-review-gate-02-10 dezren39 commented on Nov 14, 2026
state: done (fixed_merged pending PR merge — see PR link)
task: 12927 (lane any-d, repo-worker-code)
PR: #10336
Gate re-checked fresh (2026-11-14): #6186 (Phase 1) CLOSED; all eleven Phase 2 wiring issues open at the 2026-11-11 check are now CLOSED (#5942, #5952, #5992, #5993, #6065, #6085, #6091, #6092, #6093, #6099, #6179). The Phase 4 gate is met, so the ratchet was built rather than re-blocked.
Delivered: .github/scripts/check-suite-registry.sh + contract tests, wired into workflow-lint.yml; registry truth-ups (87 rows): snapshot-arm64 path followed world_fixture into id-worlds; pm-git-sync row removed (suite deleted in PR #8171); hosted-worker row names all three files its invocation runs; mcpx.plugin.core and mcpx.scripts.conformance-record registered mapped (already running, previously unnamed); five unproven suites registered uncovered with follow-ups #10329 (id) and #10330 (mcpx). Trigger texts trued in workflow-lint's header (dispatch-only) and id-check's no-world comment (basic tier, not "PR tier"); ci-policy.md already carried the 2026-11-13 ruling. #5919 verified CLOSED today — that acceptance item was already dispositioned.
Probe evidence (acceptance item 2), run on the PR branch:
Probe 1 — added a deliberately unwired suite file pkgs/id/crates/id-core/tests/probe_unwired_sentinel.rs:
$ bash .github/scripts/check-suite-registry.sh; echo exit=$?
check-suite-registry: 1 violation(s):
FAIL unwired: test suite pkgs/id/crates/id-core/tests/probe_unwired_sentinel.rs exists inside the registry boundary but no registry entry covers it
exit=1
Probe 2 — deleted a wired suite's file (pkgs/id/hosted-worker/test/routing.test.ts, restored after):
$ bash .github/scripts/check-suite-registry.sh; echo exit=$?
check-suite-registry: 1 violation(s):
FAIL dangling: suite id.hosted-worker.routing path pkgs/id/hosted-worker/test/routing.test.ts matches nothing on disk
exit=1
Clean tree: check-suite-registry: OK — 87 registry suites; no dangling rows, every mapped venue still names its suite, no unwired suites inside the boundary (pkgs/id, pkgs/mcpx); contract tests all pass.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|