From c5df9176b368daa4fa6768346d2581dd3da427f2 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sat, 14 Mar 2026 15:28:38 -0400 Subject: [PATCH] Extend smoke workflow to run linting and tests, add python3 to sandbox Add python3 to the Daytona Dockerfile so MCP integration tests can run their test server. Update the smoke workflow to verify fmt, clippy, cargo test, typecheck, and bun test. Co-Authored-By: Claude Opus 4.6 (1M context) --- fabro.toml | 4 ++-- fabro/workflows/smoke/workflow.fabro | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fabro.toml b/fabro.toml index 77a998f1a..577d2b097 100644 --- a/fabro.toml +++ b/fabro.toml @@ -14,7 +14,7 @@ auto_stop_interval = 30 repo = "fabro-sh/fabro" [sandbox.daytona.snapshot] -name = "fabro-v2" +name = "fabro-v3" cpu = 4 memory = 8 disk = 20 @@ -22,7 +22,7 @@ dockerfile = """ FROM ubuntu:24.04 RUN apt-get update && apt-get install -y --no-install-recommends \ - curl git ca-certificates build-essential pkg-config libssl-dev unzip \ + curl git ca-certificates build-essential pkg-config libssl-dev unzip python3 \ && rm -rf /var/lib/apt/lists/* # Rust diff --git a/fabro/workflows/smoke/workflow.fabro b/fabro/workflows/smoke/workflow.fabro index e82a19c66..4df2c333d 100644 --- a/fabro/workflows/smoke/workflow.fabro +++ b/fabro/workflows/smoke/workflow.fabro @@ -1,11 +1,11 @@ digraph Smoke { - graph [goal="Verify the sandbox is working"] + graph [goal="Verify the sandbox can lint and test the project"] rankdir=LR start [shape=Mdiamond, label="Start"] exit [shape=Msquare, label="Exit"] - main [label="Smoke Test", prompt="Run these commands and report the results:\n1. echo 'Hello from Daytona'\n2. uname -a\n3. which git && git --version\n4. which rustc && rustc --version || echo 'no rustc'\n5. which bun && bun --version || echo 'no bun'\n\nReport what you found."] + main [label="Smoke Test", prompt="Run each of these commands in order and report the results. If any command fails, continue running the rest and report all results at the end.\n\n1. rustc --version && cargo --version\n2. bun --version\n3. cargo fmt --check --all\n4. cargo clippy --workspace -- -D warnings\n5. cargo test --workspace\n6. cd apps/fabro-web && bun install && bun run typecheck\n7. cd apps/fabro-web && bun test\n\nReport a summary table of pass/fail for each step."] start -> main -> exit }