mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-12 22:40:24 +00:00
fly machine exec uses Fly's HTTP exec API which randomly returns 408 deadline_exceeded on commands >30s. Switch all non-interactive remote execution (runServer, runServerCapture, uploadFile) to fly ssh console -C which uses WireGuard tunneling and is reliable for long-running commands. Also batch ~25 individual remote calls into ~4 combined shell scripts: - waitForCloudInit: 8 calls → 1 (apt, node, bun, PATH setup) - installClaudeCode: 8 calls → 1 (cleanup, install, finalize) - setupClaudeCodeConfig: 5 calls → 1 (inline base64 file writes) - env setup in main.ts: 4 calls → 1 (inline base64 + shell hooks) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: L <6723574+louisgv@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| fly | ||
| commands.ts | ||
| guidance-data.ts | ||
| history.ts | ||
| index.ts | ||
| manifest.ts | ||
| picker.ts | ||
| security.ts | ||
| unicode-detect.ts | ||
| update-check.ts | ||