GeezerVison is showing github.com — ci(bin): 19 of 20 bin/*.test.mjs proxy suites run by no workflow — ~298 tests for the live provider proxies verified nowhere · Issue #6081 · developing-today/code
ci(bin): 19 of 20 bin/*.test.mjs proxy suites run by no workflow — ~298 tests for the live provider proxies verified nowhere #6081DescriptionProblem
19 of the 20 bin/*.test.mjs suites — the regression tests for the live provider proxies in bin/ — are run by no workflow, flake check, or package script. They execute only when a human remembers to run node --test by hand.
Evidence (verified this run, laptop primary @ aee78ac, HEAD == origin/main)
bin/ holds 20 *.test.mjs suites: agy-proxy, antigravity-ls-proxy, check-opencode-metered-providers, claude-code-proxy, cli-proxy-workroots, codedb-bridge, codex-proxy, commandcode-proxy, design-code-proxy, muse-proxy, opencode-acp-adapter, provider-catalog-sync, proxy-port, proxy-relay, proxy-supervise, record, request-body, socket-activation, stream-decode, sync-models.
- The only wiring in the repo is
.github/workflows/opencode-config-guard.yml:23, which runs exactly one of them: node --test bin/check-opencode-metered-providers.test.mjs. Grep across .github/workflows/, nixos/, home/, infra/, scripts/, and the flake finds no other reference to the remaining 19 files; the root package.json declares no scripts at all.
- Hand run on the laptop this run:
node --test bin/*.test.mjs → 315 tests, 314 pass, 1 skipped, 0 fail (~13.5 s). The suites are green and fast; they are simply never run.
- These are not toy scripts:
bin/muse-proxy, bin/codex-proxy, bin/claude-code-proxy, bin/commandcode-proxy, bin/design-code-proxy, bin/agy-proxy, bin/provider-catalog-sync, and bin/proxy-supervise are the live session/provider path. Their suites pin behaviour that has regressed silently before and was caught only by hand runs — e.g. agy-proxy(test): findAgyBinary puts the system agy first with no override — the test suite's HOME stub is shadowed on every fleet host, 10/11 tests fail there #3355 (agy-proxy suite failing on fleet hosts), codex-proxy test suite hangs: first test takes 60s, #3114 CLI-transport test never resolves #3769 (codex-proxy suite hang), test(proxies): PR #2164 cached_tokens emission is unpinned for the codex CLI transport and commandcode-proxy #3114 (cached_tokens emission unpinned for two transports).
Why it matters
Every proxy fix lands with tests that then bit-rot unwatched: a later change can break a pin (streaming terminal-text reconciliation #484, warm-session handling #480, UTF-8 chunk decoding #3186/#4336, per-key chain cleanup #2407) and nothing signals it until a user-facing proxy misbehaves. The one wired suite proves the pattern works; the other 19/20 of the coverage is illusory.
Note for the implementer: #3355 recorded the agy-proxy suite's findAgyBinary stub being shadowed by a system agy on fleet hosts — the suite passed on the laptop this run and a clean CI runner has no agy, but the wiring run should confirm all 20 suites pass on the runner, not just locally.
Acceptance criteria
- A workflow (new, or extending an existing guard workflow) runs all
bin/*.test.mjs suites — e.g. node --test bin/*.test.mjs — on changes to bin/, following the repo's existing workflow conventions (dispatch + the house concurrency pattern used by the other test workflows).
- The run is green on a clean runner for the current main tree (315 tests at time of filing).
- Deliberately breaking one pin in any previously unwired suite (e.g. muse-proxy or codex-proxy) makes the workflow fail.
- No suite is silently dropped from the enumeration when a new
bin/*.test.mjs file is added (glob, not a fixed list).
Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 🤖 Agent note · state: filed
- Agent: new-issue-creator (new-issue-creator-code-a)
- Session / ID: cron job new-issue-creator-code-a, run 2026-11-04 23:35 CST
- Found via: filed this run
- Task: Filed this issue — 19 of 20 bin/*.test.mjs proxy suites run by no workflow; verified by grep across workflows/nixos/home/infra/scripts/flake plus a full hand run on the laptop @aee78ac310 (315 tests, 314 pass, 1 skipped, 0 fail).
- Expectation: effort s — wire
node --test bin/*.test.mjs into a workflow on bin/ changes; done when the run is green on a clean runner and a broken pin fails it.
- Links: packet hidden_files/packet-6081-triage.json (queue repo-health-code-pilot)
dezren39 commented on Nov 5, 2026
Second correction to the triage note (task 9878, 2026-11-05)
The raw output behind my earlier test run has now been delivered in full, and it shows the workflow-conventions paragraph in my triage note (comment 6650787910) and in task 9880's packet was also garbled by that unattributed delivery. For the record, .github/workflows/opencode-config-guard.yml on main aee78ac actually reads:
- Triggers:
merge_group + workflow_dispatch — it has no push/path trigger
permissions: contents: read
- Concurrency: group
opencode-config-guard-${{ github.event_name == 'push' && github.run_id || github.ref }}, cancel-in-progress: true
- Job:
runs-on: ubuntu-latest, timeout-minutes: 5, actions/checkout@v7, no setup-node step (uses the runner's node), then the single-suite run at line 23
So the fix for task 9880 should follow the repo's wider workflow conventions for path-triggered checks rather than copying this guard's exact shape. The same raw output independently confirms the corrected test baseline: node --test bin/*.test.mjs → 300 tests, 300 pass, 0 fail.
Core triage verdict unchanged: 19 of 20 suites are wired nowhere.
dezren39 commented on Nov 5, 2026
Agent note — merged, verification runs queued, parked (task 9880)
dezren39 commented on Nov 5, 2026
Agent note — still awaiting CI verification, re-parked (task 9880, lane code-r)
dezren39 commented on Nov 5, 2026
Picked up queue task #9880 in the OpenChamber scheduled lane, resuming the existing merged PR #6083. I am checking the current issue/PR and required workflow runs; I will complete if they are green or park if they remain pending. dezren39 commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 🤖 Agent note · parked (CI pending)
dezren39 commented on Nov 5, 2026
Agent note — parked (CI pending)
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|