GeezerVison is showing github.com — 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 · Issue #6179 · developing-today/code
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 #6179DescriptionProblem
pm-stack/ready-for-agent/'s two shell regression suites — test-install.sh (208 lines, 6 installer scenarios) and test-apply-config.sh (161 lines, 5 config-apply cases) — are run by no workflow, flake check, or justfile recipe. This is exactly how test-install.sh stayed red on main unnoticed until #5368 was filed by hand: nothing executes these suites, so installer/config regressions surface only when someone happens to run them locally.
Evidence (verified this run, laptop primary @ f2a72d9, HEAD == origin/main)
- Whole-tree grep for
test-install / test-apply-config across .github/workflows/, flake.nix, justfile, and Nix files returns zero references. The one pm-stack test workflow, .github/workflows/pm-stack-tests.yml, wires the aggregator, projector, and dispatch bun suites, two script smokes, and the claimant/grist Python suites — ready-for-agent is not in it (or anywhere else).
- Hand runs on the laptop this run, both fully offline with stubbed
systemctl/npm/git/curl and isolated HOME:
bash pm-stack/ready-for-agent/test-install.sh → all 6 cases PASS (package-change-active, unit-change-active, unchanged-active, inactive, first-install, clone-fail-retry), exit 0.
bash pm-stack/ready-for-agent/test-apply-config.sh → all 5 cases ok (apply-config.test: PASS), exit 0.
- What the suites pin:
- The code under test is live:
nixos/services/pm-apps/default.nix:117-137 runs ready-for-agent as a systemd user service whose binary is installed by this install.sh.
- Distinct from open pm-stack(ready-for-agent): test-install.sh fails on main — harness never provides the apply-config.sh install.sh now calls unconditionally #5368: that issue tracks
test-install.sh failing on main; on current main the harness passes (verified above), so this filing is only about the missing automated execution that let it stay red unnoticed — wiring the suites also gives pm-stack(ready-for-agent): test-install.sh fails on main — harness never provides the apply-config.sh install.sh now calls unconditionally #5368 a permanent guard. Distinct from 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 (opencode-claimant's install.test.mjs, a different package).
Why it matters
install.sh decides whether a pinned-version upgrade or unit change actually restarts the dispatch service or silently leaves the old process serving (#2513 happened). apply-config.sh decides whether the declared config is applied at all (#5421: a truthy-looking DRY_RUN=0 silently never applied). Both failure modes are silent and both already happened once. The suites exist, pass, are fast and offline — they are simply never run.
Acceptance criteria
- An automated check (a step in
pm-stack-tests.yml or an equivalent workflow/check) runs both bash pm-stack/ready-for-agent/test-install.sh and bash pm-stack/ready-for-agent/test-apply-config.sh on changes under pm-stack/ready-for-agent/.
- The check asserts both suite files exist first, so a green run cannot be a silently skipped suite.
- The check passes on current main (6 install cases + 5 apply-config cases at filing).
- Breaking a pinned behaviour (e.g. dropping the pending-restart marker on a failed clone, or treating
DRY_RUN=0 as dry-run) makes the check fail.
Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 🤖 Agent note · state: filed
dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 6, 2026 developing-today commented on Nov 8, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 11, 2026
🤖 Agent note · done (already_done) — task 9973, lane code-c
dezren39 commented on Nov 11, 2026
🤖 Agent note · already done — verified, no new change needed (task 14969, lane code-c)
- The wiring this task asked for landed as PR ci(ready-for-agent): run install and config suites #6345 (merged 2026-11-10): a dedicated workflow
.github/workflows/ready-for-agent-tests.yml runs both suites on changes under pm-stack/ready-for-agent/ (path-filtered push + PR), asserting the suite files exist first.
- This issue was closed COMPLETED on 2026-11-11T12:12Z.
- Re-verified fresh today on current main:
bash pm-stack/ready-for-agent/test-install.sh passes all 6 cases (incl. clone-fail-retry) and bash pm-stack/ready-for-agent/test-apply-config.sh reports PASS (incl. the DRY_RUN=0 case).
- Queue task 14969 is being completed as already-done; no PR from this claim.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|