From e69b5fa19dbea51c2638adbb4bc94ca1440dd60d Mon Sep 17 00:00:00 2001 From: Fabro Date: Mon, 11 May 2026 21:53:10 -0400 Subject: [PATCH] =?UTF-8?q?init=20run=20=E2=9A=92=EF=B8=8F=20Generated=20w?= =?UTF-8?q?ith=20[Fabro](https://fabro.sh)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- graph.fabro | 22 ++++ run.json | 346 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 368 insertions(+) create mode 100644 graph.fabro create mode 100644 run.json diff --git a/graph.fabro b/graph.fabro new file mode 100644 index 000000000..5324a7a21 --- /dev/null +++ b/graph.fabro @@ -0,0 +1,22 @@ +digraph Smoke { + graph [goal="Verify the sandbox can lint and test the project", retry_target=exit] + rankdir=LR + + start [shape=Mdiamond, label="Start"] + exit [shape=Msquare, label="Exit"] + + toolchain [label="Toolchain", shape=parallelogram, script="rustc --version && cargo --version && bun --version 2>&1", goal_gate=true] + compile_rust [label="Compile Rust", shape=parallelogram, script="cargo check -q --workspace 2>&1", goal_gate=true] + compile_typescript [label="Compile TypeScript", shape=parallelogram, script="cd apps/fabro-web && bun install && bun run typecheck 2>&1", goal_gate=true] + lint_rust [label="Lint Rust", shape=parallelogram, script="cargo +nightly-2026-04-14 fmt --check --all 2>&1 && cargo +nightly-2026-04-14 clippy -q --workspace --all-targets -- -D warnings 2>&1", goal_gate=true] + test_rust [label="Test Rust", shape=parallelogram, script="ulimit -n 4096 && cargo nextest run --cargo-quiet --workspace --status-level fail 2>&1", goal_gate=true] + test_typescript [label="Test TypeScript", shape=parallelogram, script="cd apps/fabro-web && bun test 2>&1", goal_gate=true] + + start -> toolchain + toolchain -> compile_rust + compile_rust -> compile_typescript + compile_typescript -> lint_rust + lint_rust -> test_rust + test_rust -> test_typescript + test_typescript -> exit +} diff --git a/run.json b/run.json new file mode 100644 index 000000000..5f26d6710 --- /dev/null +++ b/run.json @@ -0,0 +1,346 @@ +{ + "title": "Verify the sandbox can lint and test the project", + "spec": { + "run_id": "01KRCY65A9BZ1AJA8Q85ZKY4GM", + "settings": { + "project": { + "name": null, + "description": null, + "metadata": {} + }, + "workflow": { + "name": null, + "description": null, + "graph": "workflow.fabro", + "metadata": {} + }, + "run": { + "goal": { + "type": "inline", + "value": "Verify the sandbox can lint and test the project" + }, + "working_dir": null, + "metadata": {}, + "inputs": {}, + "model": { + "provider": "anthropic", + "name": "claude-sonnet-4-6", + "fallbacks": [] + }, + "git": { + "author": null + }, + "prepare": { + "commands": [], + "timeout_ms": 300000 + }, + "execution": { + "mode": "normal", + "approval": "prompt" + }, + "checkpoint": { + "exclude_globs": [] + }, + "sandbox": { + "provider": "daytona", + "preserve": false, + "stop_on_terminal": true, + "devcontainer": false, + "env": {}, + "docker": { + "image": "buildpack-deps:noble", + "network_mode": null, + "memory_limit": 4000000000, + "cpu_quota": 200000, + "env_vars": {}, + "skip_clone": false + }, + "daytona": { + "auto_stop_interval": 30, + "labels": { + "repo": "fabro-sh/fabro" + }, + "snapshot": { + "name": "fabro-v9", + "cpu": 8, + "memory_gb": 16, + "disk_gb": 20, + "dockerfile": { + "type": "inline", + "value": "FROM ubuntu:24.04\n\nRUN apt-get update && apt-get install -y --no-install-recommends curl git ca-certificates build-essential pkg-config libssl-dev unzip python3 xvfb xfce4 xfce4-terminal x11vnc novnc dbus-x11 libx11-6 libxrandr2 libxext6 libxrender1 libxfixes3 libxss1 libxtst6 libxi6 && rm -rf /var/lib/apt/lists/*\n\n# GitHub CLI\nRUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null && apt-get update && apt-get install -y --no-install-recommends gh && rm -rf /var/lib/apt/lists/*\n\n# Rust\nRUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y\nENV PATH=\"/root/.cargo/bin:${PATH}\"\nRUN rustup toolchain install nightly-2026-04-14 --profile minimal --component clippy,rustfmt\nRUN cargo install cargo-nextest --locked\nENV CARGO_INCREMENTAL=0\n\n# Bun\nRUN curl -fsSL https://bun.sh/install | bash\nENV PATH=\"/root/.bun/bin:${PATH}\"\n\nWORKDIR /root\n" + } + }, + "network": null, + "skip_clone": false + } + }, + "notifications": {}, + "interviews": { + "provider": null, + "slack": null + }, + "agent": { + "permissions": null, + "mcps": {} + }, + "hooks": [], + "scm": { + "provider": null, + "owner": null, + "repository": null, + "github": null + }, + "pull_request": { + "enabled": true, + "draft": false, + "auto_merge": false, + "merge_strategy": "squash" + }, + "artifacts": { + "include": [] + }, + "integrations": { + "github": { + "permissions": {} + } + } + } + }, + "graph": { + "name": "Smoke", + "nodes": { + "compile_typescript": { + "id": "compile_typescript", + "attrs": { + "shape": { + "String": "parallelogram" + }, + "script": { + "String": "cd apps/fabro-web && bun install && bun run typecheck 2>&1" + }, + "goal_gate": { + "Boolean": true + }, + "label": { + "String": "Compile TypeScript" + } + } + }, + "exit": { + "id": "exit", + "attrs": { + "shape": { + "String": "Msquare" + }, + "label": { + "String": "Exit" + } + } + }, + "toolchain": { + "id": "toolchain", + "attrs": { + "shape": { + "String": "parallelogram" + }, + "script": { + "String": "rustc --version && cargo --version && bun --version 2>&1" + }, + "label": { + "String": "Toolchain" + }, + "goal_gate": { + "Boolean": true + } + } + }, + "test_rust": { + "id": "test_rust", + "attrs": { + "shape": { + "String": "parallelogram" + }, + "script": { + "String": "ulimit -n 4096 && cargo nextest run --cargo-quiet --workspace --status-level fail 2>&1" + }, + "goal_gate": { + "Boolean": true + }, + "label": { + "String": "Test Rust" + } + } + }, + "test_typescript": { + "id": "test_typescript", + "attrs": { + "label": { + "String": "Test TypeScript" + }, + "script": { + "String": "cd apps/fabro-web && bun test 2>&1" + }, + "shape": { + "String": "parallelogram" + }, + "goal_gate": { + "Boolean": true + } + } + }, + "lint_rust": { + "id": "lint_rust", + "attrs": { + "shape": { + "String": "parallelogram" + }, + "label": { + "String": "Lint Rust" + }, + "goal_gate": { + "Boolean": true + }, + "script": { + "String": "cargo +nightly-2026-04-14 fmt --check --all 2>&1 && cargo +nightly-2026-04-14 clippy -q --workspace --all-targets -- -D warnings 2>&1" + } + } + }, + "compile_rust": { + "id": "compile_rust", + "attrs": { + "label": { + "String": "Compile Rust" + }, + "goal_gate": { + "Boolean": true + }, + "shape": { + "String": "parallelogram" + }, + "script": { + "String": "cargo check -q --workspace 2>&1" + } + } + }, + "start": { + "id": "start", + "attrs": { + "shape": { + "String": "Mdiamond" + }, + "label": { + "String": "Start" + } + } + } + }, + "edges": [ + { + "from": "start", + "to": "toolchain", + "attrs": {} + }, + { + "from": "toolchain", + "to": "compile_rust", + "attrs": {} + }, + { + "from": "compile_rust", + "to": "compile_typescript", + "attrs": {} + }, + { + "from": "compile_typescript", + "to": "lint_rust", + "attrs": {} + }, + { + "from": "lint_rust", + "to": "test_rust", + "attrs": {} + }, + { + "from": "test_rust", + "to": "test_typescript", + "attrs": {} + }, + { + "from": "test_typescript", + "to": "exit", + "attrs": {} + } + ], + "attrs": { + "goal": { + "String": "Verify the sandbox can lint and test the project" + }, + "rankdir": { + "String": "LR" + }, + "retry_target": { + "String": "exit" + } + } + }, + "graph_source": "digraph Smoke {\n graph [goal=\"Verify the sandbox can lint and test the project\", retry_target=exit]\n rankdir=LR\n\n start [shape=Mdiamond, label=\"Start\"]\n exit [shape=Msquare, label=\"Exit\"]\n\n toolchain [label=\"Toolchain\", shape=parallelogram, script=\"rustc --version && cargo --version && bun --version 2>&1\", goal_gate=true]\n compile_rust [label=\"Compile Rust\", shape=parallelogram, script=\"cargo check -q --workspace 2>&1\", goal_gate=true]\n compile_typescript [label=\"Compile TypeScript\", shape=parallelogram, script=\"cd apps/fabro-web && bun install && bun run typecheck 2>&1\", goal_gate=true]\n lint_rust [label=\"Lint Rust\", shape=parallelogram, script=\"cargo +nightly-2026-04-14 fmt --check --all 2>&1 && cargo +nightly-2026-04-14 clippy -q --workspace --all-targets -- -D warnings 2>&1\", goal_gate=true]\n test_rust [label=\"Test Rust\", shape=parallelogram, script=\"ulimit -n 4096 && cargo nextest run --cargo-quiet --workspace --status-level fail 2>&1\", goal_gate=true]\n test_typescript [label=\"Test TypeScript\", shape=parallelogram, script=\"cd apps/fabro-web && bun test 2>&1\", goal_gate=true]\n\n start -> toolchain\n toolchain -> compile_rust\n compile_rust -> compile_typescript\n compile_typescript -> lint_rust\n lint_rust -> test_rust\n test_rust -> test_typescript\n test_typescript -> exit\n}\n", + "workflow_slug": "smoke", + "source_directory": "/Users/bhelmkamp/p/fabro-sh/fabro-3", + "provenance": { + "server": { + "version": "0.230.0-nightly.0" + }, + "client": { + "user_agent": "fabro-cli/0.230.0-nightly.0", + "name": "fabro-cli", + "version": "0.230.0-nightly.0" + }, + "subject": { + "kind": "user", + "identity": { + "issuer": "https://github.com", + "subject": "19" + }, + "login": "brynary", + "auth_method": "github" + } + }, + "manifest_blob": "1beacdb05732de13c35f86152b9544e7b958d27019ac1ac70f0d1a36598ebbff", + "definition_blob": "8902c1ad75aca521861eb1a821cc58618a4f3fcdf3b8773e0059fef8b07a1b78", + "git": { + "origin_url": "https://github.com/fabro-sh/fabro", + "branch": "add-acp-backend", + "sha": "24276d048a1140ac1b50ac7801e981ddc91cb40e", + "dirty": "dirty", + "push_outcome": { + "type": "not_attempted" + } + } + }, + "web_url": "http://127.0.0.1:32276/runs/01KRCY65A9BZ1AJA8Q85ZKY4GM", + "start": null, + "status": { + "kind": "starting" + }, + "status_updated_at": "2026-05-12T01:52:53.094569Z", + "last_event_at": "2026-05-12T01:53:09.577039Z", + "pending_control": null, + "checkpoints": [], + "conclusion": null, + "sandbox": { + "provider": "daytona", + "image": "buildpack-deps:noble", + "snapshot": "fabro-v9", + "runtime": { + "id": "fabro-01KRCY65A9BZ1AJA8Q85ZKY4GM", + "working_directory": "/home/daytona/workspace", + "repo_cloned": true, + "clone_origin_url": "https://github.com/fabro-sh/fabro", + "clone_branch": "add-acp-backend" + } + }, + "pull_request": null, + "superseded_by": null, + "pending_interviews": {}, + "stages": {} +} \ No newline at end of file