From 5ed947764d2c1c5109f891c083bf3ced2766eb96 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sun, 15 Mar 2026 21:47:11 -0400 Subject: [PATCH] Add cargo-nextest and quiet workflow commands Install cargo-nextest in the sandbox Dockerfile and switch the implement workflow to use -q/--workspace flags on cargo check/clippy and cargo nextest with --status-level fail for less verbose output. Bump snapshot to fabro-v6. Co-Authored-By: Claude Opus 4.6 (1M context) --- fabro.toml | 3 ++- fabro/workflows/implement/workflow.fabro | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fabro.toml b/fabro.toml index 1d9cbef63..9e58abca0 100644 --- a/fabro.toml +++ b/fabro.toml @@ -19,7 +19,7 @@ auto_stop_interval = 30 repo = "fabro-sh/fabro" [sandbox.daytona.snapshot] -name = "fabro-v5" +name = "fabro-v6" cpu = 4 memory = 8 disk = 20 @@ -41,6 +41,7 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \ # Rust RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y ENV PATH="/root/.cargo/bin:${PATH}" +RUN cargo install cargo-nextest --locked ENV CARGO_INCREMENTAL=0 # Bun diff --git a/fabro/workflows/implement/workflow.fabro b/fabro/workflows/implement/workflow.fabro index aacdb862a..4bc3ad5ee 100644 --- a/fabro/workflows/implement/workflow.fabro +++ b/fabro/workflows/implement/workflow.fabro @@ -11,14 +11,14 @@ digraph ImplementAndSimplify { exit [shape=Msquare, label="Exit"] toolchain [label="Toolchain", shape=parallelogram, script="command -v cargo >/dev/null || { curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && sudo ln -sf $HOME/.cargo/bin/* /usr/local/bin/; }; cargo --version 2>&1", max_retries=0] - preflight_compile [label="Preflight Compile", shape=parallelogram, script="cargo check 2>&1", max_retries=0] - preflight_lint [label="Preflight Lint", shape=parallelogram, script="cargo clippy -- -D warnings 2>&1", max_retries=0] + preflight_compile [label="Preflight Compile", shape=parallelogram, script="cargo check -q --workspace 2>&1", max_retries=0] + preflight_lint [label="Preflight Lint", shape=parallelogram, script="cargo clippy -q --workspace -- -D warnings 2>&1", max_retries=0] fix_lints [label="Fix Lints", prompt="The preflight lint step failed. Read the build output from context and fix all clippy lint warnings.", max_visits=3] implement [label="Implement", prompt="Read the plan file referenced in the goal and implement every step. Make all the code changes described in the plan. Use red/green TDD."] simplify_opus [label="Simplify (Opus)", prompt="@prompts/simplify.md"] simplify_gemini [label="Simplify (Gemini)", prompt="@prompts/simplify.md", model="gemini-3.1-pro-preview-customtools"] simplify_gpt [label="Simplify (GPT-54)", prompt="@prompts/simplify.md", model="gpt-54"] - verify [label="Verify", shape=parallelogram, script="cargo clippy -- -D warnings 2>&1 && cargo test 2>&1", goal_gate=true, retry_target="fixup"] + verify [label="Verify", shape=parallelogram, script="cargo clippy -q --workspace -- -D warnings 2>&1 && cargo nextest run --cargo-quiet --workspace --status-level fail 2>&1", goal_gate=true, retry_target="fixup"] fixup [label="Fixup", prompt="The verify step failed. Read the build output from context and fix all clippy lint warnings and test failures.", max_visits=3] fmt [label="Format", shape=parallelogram, script="cargo fmt --all 2>&1", goal_gate=true, max_retries=0]