fabro/lib/crates/fabro-workflows/src
Bryan Helmkamp ad84f9f92c Add GitSyncStatus and WorkdirStrategy enums to fix cloud sandbox pre-run checks
The git sync check and auto-push logic was gated on should_create_worktree,
which was always false for remote sandboxes. This meant Daytona/Exe/SSH runs
silently proceeded without verifying commits were pushed or warning about
uncommitted changes. Replace the git_clean boolean and should_create_worktree
boolean with two enums (GitSyncStatus: Synced/Unsynced/Dirty and
WorkdirStrategy: LocalDirectory/LocalWorktree/Cloud) so every combination
is handled explicitly via match arms. Also display the base commit SHA for
cloud runs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 11:17:39 -04:00
..
backend Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
context Clean up fabro-validate extraction 2026-03-17 13:42:54 -04:00
handler Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
artifact.rs rename Arc to Fabro in all Rust crates, symbols, env vars, and supporting files 2026-03-12 12:25:58 -04:00
asset_snapshot.rs Add safeguards to asset collection and checkpoint commits (#8) 2026-03-15 19:54:17 -04:00
assets.rs Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
checkpoint.rs rename Arc to Fabro in all Rust crates, symbols, env vars, and supporting files 2026-03-12 12:25:58 -04:00
conclusion.rs rename Arc to Fabro in all Rust crates, symbols, env vars, and supporting files 2026-03-12 12:25:58 -04:00
condition.rs Clean up fabro-validate extraction 2026-03-17 13:42:54 -04:00
cost.rs Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
devcontainer_bridge.rs Extract fabro-daytona crate from fabro-workflows 2026-03-17 12:10:09 -04:00
engine.rs Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
error.rs Clean up fabro-validate extraction 2026-03-17 13:42:54 -04:00
event.rs Move sandbox lifecycle into the engine (#22) 2026-03-16 22:00:05 -04:00
git.rs Add GitSyncStatus and WorkdirStrategy enums to fix cloud sandbox pre-run checks 2026-03-19 11:17:39 -04:00
graph_render.rs Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
lib.rs Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
manifest.rs Make fabro ps behave like docker ps 2026-03-15 17:27:09 -04:00
outcome.rs Unified dry-run via Handler::simulate() (#14) 2026-03-15 19:55:03 -04:00
preamble.rs Extract fabro-graphviz crate from fabro-workflows 2026-03-17 11:20:55 -04:00
pull_request.rs Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
run_fork.rs Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
run_lookup.rs Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
run_rewind.rs Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
run_status.rs Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
sandbox_provider.rs Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
sandbox_reconnect.rs Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
sandbox_record.rs rename Arc to Fabro in all Rust crates, symbols, env vars, and supporting files 2026-03-12 12:25:58 -04:00
stylesheet.rs Extract fabro-validate crate from fabro-workflows 2026-03-17 13:33:34 -04:00
transform.rs Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
vars.rs Move workflow CLI ownership into fabro-cli 2026-03-18 09:31:11 -04:00
workflow.rs Clean up fabro-validate extraction 2026-03-17 13:42:54 -04:00