From ba2c1cc1681509d143774c89bf001b2bd7af1d2a Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Fri, 29 May 2026 09:26:23 -0400 Subject: [PATCH] config: define Daytona environment from Dockerfile for smoke workflow 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) --- .fabro/project.toml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.fabro/project.toml b/.fabro/project.toml index 9f8490704..79cc794f1 100644 --- a/.fabro/project.toml +++ b/.fabro/project.toml @@ -4,6 +4,26 @@ _version = 1 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"