daytona-check pipeline

This commit is contained in:
Bryan Helmkamp 2026-02-26 21:52:33 -05:00
parent 35bccb5d36
commit 278bb323fa
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,12 @@
digraph DaytonaCheck {
graph [goal="Run cargo test in a Daytona sandbox and summarize results"]
rankdir=LR
start [shape=Mdiamond, label="Start"]
exit [shape=Msquare, label="Exit"]
run_tests [label="Run Tests", prompt="Run `cargo test --workspace 2>&1` and report the results"]
report [label="Report", prompt="Summarize the test results"]
start -> run_tests -> report -> exit
}

View file

@ -0,0 +1,32 @@
version = 1
task = "Run cargo check in a Daytona cloud sandbox"
graph = "check.dot"
[llm]
model = "claude-sonnet"
[execution]
environment = "daytona"
[execution.daytona.sandbox]
name = "attractor-cargo-check"
auto_stop_interval = 60
[execution.daytona.sandbox.labels]
project = "attractor-rust"
[execution.daytona.snapshot]
name = "attractor-rust-check-dev"
cpu = 4
memory = 8
disk = 10
dockerfile = """
FROM rust:1.85-slim-bookworm
RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config libssl-dev cmake git curl ca-certificates ripgrep \
&& rm -rf /var/lib/apt/lists/*
RUN rustup update stable && rustup default stable
RUN useradd -m -s /bin/bash daytona
USER daytona
WORKDIR /home/daytona
"""