mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 19:07:41 +00:00
- pool.ts: N standard VMs booted from the current golden with egress denied; create claims one atomically (DELETE..RETURNING), applies the caller policy + full lease in parallel, bills from the claim; cron and each claim refill; recycled at 20 min, on golden change, pool off or kill switch; fallback to a fresh VM. - F1: orca-sandbox-start leaked the start-lock fd into orcad, so a second start (resume of a running sandbox, retried create) waited 60 s and 502'd. Children now close fd 9; the Worker also reads the serving orcad's ready line without the lock (fixes VMs on older images). - F2: a github.com repo with no App token and no anonymous access fails 409 github_not_connected before any VM work.