fix: migrate integration tests off deprecated APIs and tools #199

Merged
didericis merged 1 commits from fix/integration-test-failures into main 2026-06-06 12:35:04 -04:00
Collaborator

Summary

  • test_sandbox_escape: migrated fixture manifest from deprecated git key to git-gate (PRD 0047) — remotesrepos with url/identity field names
  • test_smolmachines_launch probes: replaced wget (not installed in node:22-slim) with curl -s --show-error --max-time 3, which is explicitly installed in Dockerfile.claude
  • test_smolmachines_launch prompt test: corrected path from /root/.bot-bottle-prompt.txt to /home/node/.bot-bottle-prompt.txt (matches guest_home in smolmachines/prepare.py)

Test plan

  • python3 -m unittest discover -t . -s tests/integration -v — 23/23 pass
## Summary - `test_sandbox_escape`: migrated fixture manifest from deprecated `git` key to `git-gate` (PRD 0047) — `remotes` → `repos` with `url`/`identity` field names - `test_smolmachines_launch` probes: replaced `wget` (not installed in `node:22-slim`) with `curl -s --show-error --max-time 3`, which is explicitly installed in `Dockerfile.claude` - `test_smolmachines_launch` prompt test: corrected path from `/root/.bot-bottle-prompt.txt` to `/home/node/.bot-bottle-prompt.txt` (matches `guest_home` in `smolmachines/prepare.py`) ## Test plan - [x] `python3 -m unittest discover -t . -s tests/integration -v` — 23/23 pass
didericis force-pushed fix/integration-test-failures from c68d0bb701 to 241df1f835 2026-06-06 12:23:36 -04:00 Compare
didericis added 1 commit 2026-06-06 12:29:40 -04:00
fix(tests): fix integration test failures from deprecated git key, missing wget, and wrong prompt path
test / integration (pull_request) Successful in 41s
test / unit (pull_request) Successful in 31s
test / unit (push) Successful in 30s
Update Quality Badges / update-badges (push) Successful in 1m3s
lint / lint (push) Successful in 1m23s
test / integration (push) Successful in 42s
ac9b6d593f
- test_sandbox_escape: migrate manifest fixture from deprecated `git`
  key to `git-gate` (PRD 0047) — `remotes` → `repos`, field names
  `Name`/`Upstream`/`IdentityFile` → `url`/`identity`
- test_smolmachines_launch probes: replace `wget` (not in node:22-slim)
  with `curl -s --show-error --max-time 3` (installed in Dockerfile.claude)
- test_smolmachines_launch prompt test: correct path /root/ → /home/node/
  to match guest_home in smolmachines/prepare.py

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
didericis force-pushed fix/integration-test-failures from 241df1f835 to ac9b6d593f 2026-06-06 12:29:40 -04:00 Compare
didericis merged commit ac9b6d593f into main 2026-06-06 12:35:04 -04:00
didericis deleted branch fix/integration-test-failures 2026-06-06 12:35:04 -04:00
Sign in to join this conversation.