mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
Runs were falling back to the built-in `default` environment (a bare daytona-medium snapshot with no Rust toolchain), so every Rust stage in the smoke workflow failed with exit 127 (cargo/rustc not found). The old [run.sandbox] config that built a custom snapshot was dropped in the move to named environments (#360) and never ported. Add a `fabro-dev` named environment that builds the Daytona snapshot from .fabro/Dockerfile (Rust + nightly-2026-04-14 + cargo-nextest + bun), with 8 CPU / 16GB RAM, and select it via [run.environment]. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
33 lines
590 B
TOML
33 lines
590 B
TOML
_version = 1
|
|
|
|
[run.pull_request]
|
|
enabled = true
|
|
draft = false
|
|
|
|
[run.environment]
|
|
id = "fabro-dev"
|
|
|
|
[environments.fabro-dev]
|
|
provider = "daytona"
|
|
|
|
[environments.fabro-dev.image]
|
|
dockerfile = { path = "Dockerfile" }
|
|
|
|
[environments.fabro-dev.resources]
|
|
cpu = 8
|
|
memory = "16GB"
|
|
disk = "20GB"
|
|
|
|
[environments.fabro-dev.lifecycle]
|
|
auto_stop = "30m"
|
|
|
|
[environments.fabro-dev.labels]
|
|
repo = "fabro-sh/fabro"
|
|
|
|
# [[run.hooks]]
|
|
# id = "cargo-fmt"
|
|
# name = "cargo-fmt"
|
|
# event = "post_tool_use"
|
|
# matcher = "write_file|edit_file|apply_patch"
|
|
# script = "cargo +nightly-2026-04-14 fmt"
|
|
# blocking = true
|