spawn/cli/src
A 122b59e4da
test: add 99 tests for post-session summary and SPAWN_DASHBOARD_URL convention (#1040)
Cover the _show_post_session_summary function and updated
ssh_interactive_session integration from PR #1037. Tests verify:

- Summary warns user their server is still running with IP
- Dashboard URL shown when SPAWN_DASHBOARD_URL is set
- Generic message when no dashboard URL is available
- Reconnect command uses correct SSH_USER and IP
- SSH exit code preserved through the summary display
- All 25 SSH-based cloud providers set SPAWN_DASHBOARD_URL
- SPAWN_DASHBOARD_URL uses HTTPS and is defined before usage
- Detects custom interactive_session implementations missing summary
  (alibabacloud flagged as known gap)

Agent: test-engineer

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-13 20:46:40 -05:00
..
__tests__ test: add 99 tests for post-session summary and SPAWN_DASHBOARD_URL convention (#1040) 2026-02-13 20:46:40 -05:00
commands.ts fix(ux): include cloud provider dashboard URLs in script failure and interrupt messages (#1029) 2026-02-13 16:01:57 -08:00
history.ts fix: add defense-in-depth for SPAWN_HOME path validation and manifest JSON sanitization (#984) 2026-02-13 11:37:10 -08:00
index.ts fix: prevent sensitive file exfiltration via --prompt-file flag (#1024) 2026-02-13 18:30:05 -05:00
manifest.ts fix: add defense-in-depth for SPAWN_HOME path validation and manifest JSON sanitization (#984) 2026-02-13 11:37:10 -08:00
security.ts fix: prevent sensitive file exfiltration via --prompt-file flag (#1024) 2026-02-13 18:30:05 -05: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: prevent command injection in update-check reExecWithArgs (#951) 2026-02-13 08:34:04 -08:00