mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-03 02:24:33 +00:00
The worker's environment carried only the host, Docker and Daytona plugin variables from the server's own environment, so a run on a third-party provider kind never learned where its plugin was, although the server kept `[server.sandbox.providers.<kind>]` plugin settings for its own attach. The launch spec now derives `PETRI_SANDBOX_<KIND>_PLUGIN` and `PETRI_SANDBOX_<KIND>_SHA256` from every enabled kind's plugin settings, and `PETRI_SANDBOX_PLUGIN_DEV=1` when any of them sets `dev`, set after the allowlist so the settings win over an ambient variable of the same name and the allowlist stays the fallback. The server's default plugin binary name is `sandbox-driver-<kind>`, the name Petri looks up, since one executable serves both sides. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| layers | ||
| resolve | ||
| tests | ||
| bind.rs | ||
| builders.rs | ||
| daemon.rs | ||
| defaults.rs | ||
| defaults.toml | ||
| envfile.rs | ||
| error.rs | ||
| home.rs | ||
| input_overrides.rs | ||
| lib.rs | ||
| load.rs | ||
| logging.rs | ||
| migrations.rs | ||
| parse.rs | ||
| project.rs | ||
| run.rs | ||
| storage.rs | ||
| user.rs | ||