spawn/cli/src
A 2b9a812433
test: add CodeSandbox cloud provider pattern tests (202 tests) (#922)
Comprehensive test coverage for the CodeSandbox provider (merged in #857)
which previously had zero dedicated tests. Validates:

- Manifest integration (type, auth, exec_method, matrix entries)
- lib/common.sh API surface (13 required functions, no SSH leakage)
- SDK security: all 5 SDK functions pass user data via env vars
- Sandbox ID validation (regex, error handling, called by consumers)
- upload_file() security (path injection protection, base64 encoding)
- Authentication flow (ensure_api_token_with_provider delegation)
- create_server/destroy_server/list_servers SDK patterns
- Agent scripts follow standard provisioning flow (3 scripts)
- macOS bash 3.x compatibility (no echo -e, source <(), set -u)
- Node.js SDK code quality (try/catch, process.exit, process.env)
- No dangerous patterns (no eval, no unquoted expansions, no injection)

Agent: test-engineer

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
2026-02-13 05:11:17 -08:00
..
__tests__ test: add CodeSandbox cloud provider pattern tests (202 tests) (#922) 2026-02-13 05:11:17 -08:00
commands.ts fix: warn about missing credentials before running spawn scripts (#851) 2026-02-13 01:52:41 -08:00
history.ts fix: improve CLI UX for list filters, dry-run URLs, history, and matrix display (#537) 2026-02-11 14:59:31 -08:00
index.ts fix: detect slash notation and suggest correct syntax (#859) 2026-02-13 02:15:59 -08:00
manifest.ts fix: improve spawn list UX with positional filters and long flags (#549) 2026-02-11 15:46:39 -08:00
security.ts fix: improve error messages with actionable guidance (#447) 2026-02-11 05:20:31 -08:00
unicode-detect.ts fix: Switch build target from node to bun to fix UTF-8 mojibake 2026-02-10 09:36:28 +00:00
update-check.ts fix: auto re-exec command after CLI auto-update (fixes #780) (#830) 2026-02-12 23:54:49 -08:00