From 278bb323faabc77a00296e64e02f49d9e3005c74 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Thu, 26 Feb 2026 21:52:33 -0500 Subject: [PATCH] daytona-check pipeline --- pipelines/daytona-check/check.dot | 12 ++++++++++++ pipelines/daytona-check/task.toml | 32 +++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 pipelines/daytona-check/check.dot create mode 100644 pipelines/daytona-check/task.toml diff --git a/pipelines/daytona-check/check.dot b/pipelines/daytona-check/check.dot new file mode 100644 index 000000000..ee977861b --- /dev/null +++ b/pipelines/daytona-check/check.dot @@ -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 +} diff --git a/pipelines/daytona-check/task.toml b/pipelines/daytona-check/task.toml new file mode 100644 index 000000000..98ce2a9fa --- /dev/null +++ b/pipelines/daytona-check/task.toml @@ -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 +"""