spawn/test
A 0ae9e0bd12
test: fix 53 CLI test failures + critical test/run.sh shell exit bug (#1483)
Why: `set -eo pipefail` + `output=$(shellcheck ...)` on line 659 of
test/run.sh causes immediate exit when shellcheck finds any warning,
preventing the entire shell test suite from running. 53 CLI tests also
fail due to stale assertions after agents/clouds were removed in recent
PRs.

Fixes:
- test/run.sh:659 — add `|| true` to shellcheck command substitution so
  shell test suite runs to completion even when scripts have warnings
- manifest-real-data.test.ts — lower agent count min from 10→5,
  matrix count min from 80→40 (now 6 agents, 48 matrix entries)
- agent-env-injection-contract.test.ts — lower script count min
  from 70→40 (now 47 implemented scripts)
- script-conventions.test.ts — same script count fix (70→40)
- cloud-lib-source-chain.test.ts — lower cloud lib min from 9→8
  (OVH removed, now 8 clouds)
- commands-credential-display-internals.test.ts — add missing
  @clack/prompts mock (tests call p.log.error but never mocked it)
- commands-exported-helpers-edges.test.ts — fix environment-dependent
  assertion: only check credential-based hintOverrides, not
  CLI-installed ones (sprite CLI is installed in CI/dev)
- agent-config-setup.test.ts — fix stale model ID assertion
  ("openrouter/anthropic/..." → "anthropic/...") and stale mkdir
  command ("rm -rf && mkdir" → "mkdir -p")
- agent-info-quickstart.test.ts — remove sprite from singleAuthManifest
  fixture (sprite CLI installed causes sprite to be prioritized over
  hetzner, breaking 4 tests); update count assertions for single cloud

Agent: team-lead

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-19 17:55:43 -05:00
..
fixtures feat: remove Aider, Goose, Open Interpreter, Gemini CLI, Amazon Q from matrix (#1472) 2026-02-19 12:31:00 -05:00
e2e.sh feat: remove OVH cloud and make featured_cloud an array (#1474) 2026-02-19 11:06:27 -08:00
macos-compat.sh feat: E2E test harness, QA pipeline integration, macOS compat linter (#1425) 2026-02-17 20:41:07 -05:00
mock-curl-script.sh feat: reorder agents and remove NanoClaw (#1477) 2026-02-19 11:39:03 -08:00
mock.sh feat: reorder agents and remove NanoClaw (#1477) 2026-02-19 11:39:03 -08:00
qa-dry-run.sh feat: E2E test harness, QA pipeline integration, macOS compat linter (#1425) 2026-02-17 20:41:07 -05:00
record.sh fix: replace local -n namerefs in test/record.sh for bash 3.2 compat (#1488) 2026-02-19 17:49:35 -05:00
run.sh test: fix 53 CLI test failures + critical test/run.sh shell exit bug (#1483) 2026-02-19 17:55:43 -05:00
test-sandbox.sh fix: enhance sandbox test to detect agent directory residue (#1417) 2026-02-17 12:52:24 -05:00
update-readme.py QA-Bot setup (#335) 2026-02-10 19:51:07 -08:00