Commit 0ec5481
fix: remove legacy C impl, add -v to fallback docker rm, fix tests (#754)
- Remove one-shot-token.c (legacy C impl kept "for reference" after Rust
port). The Rust implementation in src/lib.rs is the sole implementation.
- Add -v flag to fallback `docker rm -f` in stopContainers to clean
orphaned volumes, matching the `docker compose down -v` normal path.
- Fix pre-existing test failures: update stdio expectations to match the
PR's ['ignore', 'ignore', 'inherit'] pattern, create docker-compose.yml
in stopContainers test so the normal path is exercised, and add a new
test for the fallback (missing compose file) path.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent dfd0a9c commit 0ec5481
4 files changed
Lines changed: 25 additions & 370 deletions
File tree
- containers/agent/one-shot-token
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | 311 | | |
This file was deleted.
0 commit comments