Skip to content

Commit 302b196

Browse files
authored
chore: delete the v1 python test suite (#73)
The v1 socket-protocol python test suite in tests/ (driven by tests/cmux.py) is superseded by tests_v2/, which now has full protocol parity. Deletes 85 files from tests/ plus scripts/run-tests-v1.sh (the manual VM runner for the retired suite). Two tests/ files stay because they're CI-wired in .github/workflows/ci.yml and don't depend on the v1 protocol: - test_cli_version_memory_guard.py (no socket protocol, standalone) - test_workspace_churn_up_arrow_lag.py (ported to the v2 client in #71) Also preserved: the CI/release-infrastructure guard scripts in tests/ (they guard workflow/build/release config, not app socket behavior, so they're unrelated to the v1 protocol) and tests/fixtures/ssh-remote, which tests_v2/ depends on. Fixes the one stale living reference to the deleted layout in docs/v2-api-migration.md. Dated historical changelog/checklist entries in TODO.md, PROJECTS.md, and docs/agent-browser-port-spec.md that record past VM validation runs are left untouched as historical record. Part of the v1-protocol-deletion sequence (step 5).
1 parent 314e1df commit 302b196

87 files changed

Lines changed: 4 additions & 20739 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/v2-api-migration.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,15 @@ Debug / Test-only:
163163

164164
## Test Migration
165165

166-
v1 suite stays in `tests/`.
166+
The v1 python suite (`tests/`, driven by `tests/cmux.py`) has been deleted now that `tests_v2/`
167+
has full protocol parity. Only CI-infrastructure guard scripts and the two CI-wired tests ported
168+
onto the v2 client remain in `tests/`.
167169

168170
v2 suite lives in `tests_v2/` and should:
169171
- use a v2 JSON client (`tests_v2/programa.py`)
170172
- avoid depending on v1 text output formats
171173

172-
VM runners:
173-
- v1: `ssh programa-vm 'cd /Users/programa/GhosttyTabs && ./scripts/run-tests-v1.sh'`
174+
VM runner:
174175
- v2: `ssh programa-vm 'cd /Users/programa/GhosttyTabs && ./scripts/run-tests-v2.sh'`
175176

176177
## Open Questions

scripts/run-tests-v1.sh

Lines changed: 0 additions & 244 deletions
This file was deleted.

tests/claude_teams_test_utils.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)