diff --git a/run.json b/run.json new file mode 100644 index 000000000..1f7d8bffa --- /dev/null +++ b/run.json @@ -0,0 +1,252 @@ +{ + "run_id": "01KN4V8FYMGGB2EWSH16XVSNZW", + "created_at": "2026-04-01T15:40:42.839471Z", + "settings": { + "version": 1, + "goal": "Verify the sandbox can lint and test the project", + "graph": "workflow.fabro", + "llm": { + "model": "claude-sonnet-4-6", + "provider": "anthropic", + "fallbacks": null + }, + "sandbox": { + "provider": "daytona", + "preserve": null, + "devcontainer": null, + "local": null, + "daytona": { + "auto_stop_interval": 30, + "labels": { + "repo": "fabro-sh/fabro" + }, + "snapshot": { + "name": "fabro-v6", + "cpu": 4, + "memory": 8, + "disk": 20, + "dockerfile": "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 && 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 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 + }, + "env": null + }, + "pull_request": { + "enabled": true, + "draft": false, + "auto_merge": false, + "merge_strategy": "squash" + }, + "hooks": [ + { + "name": "cargo-fmt", + "event": "post_tool_use", + "command": "cargo fmt", + "matcher": "write_file|edit_file|apply_patch", + "blocking": true, + "timeout_ms": null, + "sandbox": null + } + ], + "features": { + "session_sandboxes": false, + "retros": false + }, + "log": { + "level": "debug" + }, + "git": { + "provider": "github", + "app_id": "2993730", + "client_id": "Iv23li3Pu4pCpsmPopVN", + "slug": "brynary-fabro", + "author": { + "name": null, + "email": null + }, + "webhooks": null + }, + "fabro": { + "root": "fabro/" + } + }, + "graph": { + "name": "Smoke", + "nodes": { + "test_typescript": { + "id": "test_typescript", + "attrs": { + "shape": { + "String": "parallelogram" + }, + "goal_gate": { + "Boolean": true + }, + "label": { + "String": "Test TypeScript" + }, + "script": { + "String": "cd apps/fabro-web && bun test 2>&1" + } + } + }, + "exit": { + "id": "exit", + "attrs": { + "shape": { + "String": "Msquare" + }, + "label": { + "String": "Exit" + } + } + }, + "start": { + "id": "start", + "attrs": { + "shape": { + "String": "Mdiamond" + }, + "label": { + "String": "Start" + } + } + }, + "toolchain": { + "id": "toolchain", + "attrs": { + "shape": { + "String": "parallelogram" + }, + "script": { + "String": "rustc --version && cargo --version && bun --version 2>&1" + }, + "goal_gate": { + "Boolean": true + }, + "label": { + "String": "Toolchain" + } + } + }, + "test_rust": { + "id": "test_rust", + "attrs": { + "shape": { + "String": "parallelogram" + }, + "script": { + "String": "cargo nextest run --cargo-quiet --workspace --status-level fail 2>&1" + }, + "label": { + "String": "Test Rust" + }, + "goal_gate": { + "Boolean": true + } + } + }, + "compile_typescript": { + "id": "compile_typescript", + "attrs": { + "goal_gate": { + "Boolean": true + }, + "label": { + "String": "Compile TypeScript" + }, + "script": { + "String": "cd apps/fabro-web && bun install && bun run typecheck 2>&1" + }, + "shape": { + "String": "parallelogram" + } + } + }, + "lint_rust": { + "id": "lint_rust", + "attrs": { + "goal_gate": { + "Boolean": true + }, + "label": { + "String": "Lint Rust" + }, + "script": { + "String": "cargo fmt --check --all 2>&1 && cargo clippy -q --workspace -- -D warnings 2>&1" + }, + "shape": { + "String": "parallelogram" + } + } + }, + "compile_rust": { + "id": "compile_rust", + "attrs": { + "goal_gate": { + "Boolean": true + }, + "label": { + "String": "Compile Rust" + }, + "script": { + "String": "cargo check -q --workspace 2>&1" + }, + "shape": { + "String": "parallelogram" + } + } + } + }, + "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" + } + } + }, + "workflow_slug": "smoke", + "working_directory": "/Users/bhelmkamp/p/fabro-sh/fabro", + "host_repo_path": "/Users/bhelmkamp/p/fabro-sh/fabro", + "base_branch": "main" +} \ No newline at end of file diff --git a/sandbox.json b/sandbox.json new file mode 100644 index 000000000..6d66ae43f --- /dev/null +++ b/sandbox.json @@ -0,0 +1,5 @@ +{ + "provider": "daytona", + "working_directory": "/home/daytona/workspace", + "identifier": "fabro-01KN4V8FYMGGB2EWSH16XVSNZW" +} \ No newline at end of file diff --git a/start.json b/start.json new file mode 100644 index 000000000..742c995ce --- /dev/null +++ b/start.json @@ -0,0 +1,6 @@ +{ + "run_id": "01KN4V8FYMGGB2EWSH16XVSNZW", + "start_time": "2026-04-01T15:40:51.121615Z", + "run_branch": "fabro/run/01KN4V8FYMGGB2EWSH16XVSNZW", + "base_sha": "e6623decba5fa54b539b9ef8ada5a7a798a90c9b" +} \ No newline at end of file