mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-10 22:43:37 +00:00
commit
8dfc52461f
2 changed files with 400 additions and 0 deletions
22
graph.fabro
Normal file
22
graph.fabro
Normal file
|
|
@ -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
|
||||
}
|
||||
378
run.json
Normal file
378
run.json
Normal file
|
|
@ -0,0 +1,378 @@
|
|||
{
|
||||
"title": "Verify the sandbox can lint and test the project",
|
||||
"spec": {
|
||||
"run_id": "01KSSY84ES3B2NN26YP0VVFV53",
|
||||
"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": [],
|
||||
"controls": {
|
||||
"reasoning_effort": null,
|
||||
"speed": null
|
||||
}
|
||||
},
|
||||
"git": {
|
||||
"author": null
|
||||
},
|
||||
"prepare": {
|
||||
"commands": [],
|
||||
"timeout_ms": 300000
|
||||
},
|
||||
"execution": {
|
||||
"mode": "normal",
|
||||
"approval": "prompt"
|
||||
},
|
||||
"checkpoint": {
|
||||
"exclude_globs": [],
|
||||
"skip_git_hooks": false
|
||||
},
|
||||
"clone": {
|
||||
"enabled": true
|
||||
},
|
||||
"run_branch": {
|
||||
"enabled": true,
|
||||
"push": true
|
||||
},
|
||||
"meta_branch": {
|
||||
"enabled": true,
|
||||
"push": true
|
||||
},
|
||||
"environment": {
|
||||
"id": "default",
|
||||
"provider": "daytona",
|
||||
"image": {
|
||||
"docker": null,
|
||||
"dockerfile": null
|
||||
},
|
||||
"resources": {
|
||||
"cpu": null,
|
||||
"memory": null,
|
||||
"disk": null
|
||||
},
|
||||
"network": {
|
||||
"mode": "allow_all",
|
||||
"allow": []
|
||||
},
|
||||
"lifecycle": {
|
||||
"preserve": false,
|
||||
"stop_on_terminal": true,
|
||||
"auto_stop": null
|
||||
},
|
||||
"labels": {},
|
||||
"volumes": [],
|
||||
"env": {}
|
||||
},
|
||||
"notifications": {
|
||||
"feed": {
|
||||
"enabled": true,
|
||||
"provider": "slack",
|
||||
"events": [
|
||||
"run.started",
|
||||
"run.completed",
|
||||
"run.failed"
|
||||
],
|
||||
"slack": {
|
||||
"channel": "#feed-fabro"
|
||||
}
|
||||
}
|
||||
},
|
||||
"interviews": {
|
||||
"provider": null,
|
||||
"slack": null
|
||||
},
|
||||
"agent": {
|
||||
"fabro_tools": false,
|
||||
"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": {
|
||||
"start": {
|
||||
"id": "start",
|
||||
"attrs": {
|
||||
"label": {
|
||||
"String": "Start"
|
||||
},
|
||||
"shape": {
|
||||
"String": "Mdiamond"
|
||||
}
|
||||
}
|
||||
},
|
||||
"lint_rust": {
|
||||
"id": "lint_rust",
|
||||
"attrs": {
|
||||
"shape": {
|
||||
"String": "parallelogram"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"label": {
|
||||
"String": "Lint Rust"
|
||||
},
|
||||
"goal_gate": {
|
||||
"Boolean": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"test_typescript": {
|
||||
"id": "test_typescript",
|
||||
"attrs": {
|
||||
"label": {
|
||||
"String": "Test TypeScript"
|
||||
},
|
||||
"script": {
|
||||
"String": "cd apps/fabro-web && bun test 2>&1"
|
||||
},
|
||||
"goal_gate": {
|
||||
"Boolean": true
|
||||
},
|
||||
"shape": {
|
||||
"String": "parallelogram"
|
||||
}
|
||||
}
|
||||
},
|
||||
"compile_typescript": {
|
||||
"id": "compile_typescript",
|
||||
"attrs": {
|
||||
"shape": {
|
||||
"String": "parallelogram"
|
||||
},
|
||||
"goal_gate": {
|
||||
"Boolean": true
|
||||
},
|
||||
"label": {
|
||||
"String": "Compile TypeScript"
|
||||
},
|
||||
"script": {
|
||||
"String": "cd apps/fabro-web && bun install && bun run typecheck 2>&1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"compile_rust": {
|
||||
"id": "compile_rust",
|
||||
"attrs": {
|
||||
"label": {
|
||||
"String": "Compile Rust"
|
||||
},
|
||||
"shape": {
|
||||
"String": "parallelogram"
|
||||
},
|
||||
"goal_gate": {
|
||||
"Boolean": true
|
||||
},
|
||||
"script": {
|
||||
"String": "cargo check -q --workspace 2>&1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"toolchain": {
|
||||
"id": "toolchain",
|
||||
"attrs": {
|
||||
"shape": {
|
||||
"String": "parallelogram"
|
||||
},
|
||||
"script": {
|
||||
"String": "rustc --version && cargo --version && bun --version 2>&1"
|
||||
},
|
||||
"label": {
|
||||
"String": "Toolchain"
|
||||
},
|
||||
"goal_gate": {
|
||||
"Boolean": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"exit": {
|
||||
"id": "exit",
|
||||
"attrs": {
|
||||
"label": {
|
||||
"String": "Exit"
|
||||
},
|
||||
"shape": {
|
||||
"String": "Msquare"
|
||||
}
|
||||
}
|
||||
},
|
||||
"test_rust": {
|
||||
"id": "test_rust",
|
||||
"attrs": {
|
||||
"goal_gate": {
|
||||
"Boolean": true
|
||||
},
|
||||
"label": {
|
||||
"String": "Test Rust"
|
||||
},
|
||||
"shape": {
|
||||
"String": "parallelogram"
|
||||
},
|
||||
"script": {
|
||||
"String": "ulimit -n 4096 && cargo nextest run --cargo-quiet --workspace --status-level fail 2>&1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
"retry_target": {
|
||||
"String": "exit"
|
||||
},
|
||||
"rankdir": {
|
||||
"String": "LR"
|
||||
},
|
||||
"goal": {
|
||||
"String": "Verify the sandbox can lint and test the project"
|
||||
}
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"provenance": {
|
||||
"server": {
|
||||
"version": "0.247.0-nightly.0"
|
||||
},
|
||||
"client": {
|
||||
"user_agent": "fabro-cli/0.247.0-nightly.0",
|
||||
"name": "fabro-cli",
|
||||
"version": "0.247.0-nightly.0"
|
||||
},
|
||||
"subject": {
|
||||
"kind": "user",
|
||||
"identity": {
|
||||
"issuer": "https://github.com",
|
||||
"subject": "19"
|
||||
},
|
||||
"login": "brynary",
|
||||
"auth_method": "github",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/19?v=4"
|
||||
}
|
||||
},
|
||||
"manifest_blob": "447811222e48c37d12362a387334ab286287d8f7dbe26d39616d445a8c505a42",
|
||||
"definition_blob": "8902c1ad75aca521861eb1a821cc58618a4f3fcdf3b8773e0059fef8b07a1b78",
|
||||
"git": {
|
||||
"origin_url": "https://github.com/fabro-sh/fabro",
|
||||
"branch": "main",
|
||||
"sha": "0f6da7d5ccf4484022b05b1e2bef318093bb476c",
|
||||
"dirty": "dirty",
|
||||
"push_outcome": {
|
||||
"type": "not_attempted"
|
||||
}
|
||||
}
|
||||
},
|
||||
"web_url": "http://127.0.0.1:32276/runs/01KSSY84ES3B2NN26YP0VVFV53",
|
||||
"start": null,
|
||||
"status": {
|
||||
"kind": "starting"
|
||||
},
|
||||
"status_updated_at": "2026-05-29T13:19:47.218407Z",
|
||||
"last_event_at": "2026-05-29T13:20:01.544666Z",
|
||||
"pending_control": null,
|
||||
"checkpoints": [],
|
||||
"conclusion": null,
|
||||
"sandbox": {
|
||||
"kind": "ready",
|
||||
"plan": {
|
||||
"provider": "daytona"
|
||||
},
|
||||
"instance": {
|
||||
"provider": "daytona",
|
||||
"snapshot": "daytona-medium",
|
||||
"runtime": {
|
||||
"id": "fabro-01KSSY84ES3B2NN26YP0VVFV53",
|
||||
"working_directory": "/home/daytona/workspace/fabro",
|
||||
"repo_cloned": true,
|
||||
"clone_origin_url": "https://github.com/fabro-sh/fabro",
|
||||
"clone_branch": "main",
|
||||
"workspace_root": "/home/daytona/workspace",
|
||||
"repos_root": "/home/daytona/repos",
|
||||
"primary_repo_path": "/home/daytona/repos/fabro-sh/fabro",
|
||||
"primary_repo_link": "/home/daytona/workspace/fabro"
|
||||
}
|
||||
}
|
||||
},
|
||||
"pull_request": null,
|
||||
"superseded_by": null,
|
||||
"pending_interviews": {},
|
||||
"stages": {}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue