mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-20 01:11:18 +00:00
* fix: complete VM recovery rewrite for spawn fix command Fixes #3173 Rewrites spawn fix to use CloudRunner interface for full VM recovery instead of a flat bash script piped over SSH. Now runs the same install(), configure(), preLaunch() functions as initial provisioning. - Added generic SSH CloudRunner (ssh-runner.ts) reusable by other commands - Exported injectEnvVarsToRunner() from orchestrate.ts for shared use - Fixed command injection vulnerability via validateIdentifier(binaryName) - Updated dependency injection: runScript → makeRunner (CloudRunner) - Updated tests to use CloudRunner-based DI pattern Agent: code-health Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * test(ssh-runner): add coverage for validation paths Tests cover the early-exit branches in makeSshRunner methods (runServer invalid command, uploadFile/downloadFile path traversal) that throw before any subprocess is spawned. Agent: team-lead Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||