mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-01 02:04:24 +00:00
`fabro-server/src/sandbox_access.rs` is the server's own path to a run's sandbox: it connects the record's provider (the driver's Host, Docker and Daytona providers in process, a plugin executable for any other kind), keys ownership on the `petri.run` label Petri stamps on every sandbox it creates, attaches by the recorded id, and for a host record designates the recorded directory again when the id lives only in the worker's registry. The Docker client resolves its endpoint from the same variables Petri forwards to its plugin, so both meet on one daemon. The doctor's Docker check and the Daytona credential probe move here with `DaytonaCredentials`, and the `/sandboxes` inventory is rebuilt over the driver's `list`, narrowed to sandboxes that carry Petri's run label. Preflight asks the provider for its health instead of creating and deleting a throwaway sandbox in Fabro's own shape, which no run uses; the git retry policy behind the repository probe moves into run_manifest. The callers still on fabro-sandbox's reconnect read their access through a `legacy_provider_access` shim until they move. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apps | ||
| components | ||
| foundation | ||
| packages/fabro-api-client | ||