fabro/docs/execution
Bryan Helmkamp 3db2c237e2
Unify fabro run foreground to use create + start + attach (#141)
## Summary

- **Unify foreground and detach code paths**: Both `fabro run` modes now
go through the same `create_run() + start_run()` pipeline, with
foreground adding `attach_run()`. Only `--preflight` remains as a
special case.
- **Fix three bugs in create→start→attach path**: (1) `_run_engine`
crashed for `.fabro` workflows by hardcoding `run.toml` — now falls back
to `graph.fabro`; (2) `attach_run` couldn't detect crashed engines due
to zombie processes — `start_run` now returns the `Child` handle; (3)
`create_run` ignored `--run-id`.
- **Configure nextest slow-timeout profiles**: Tighten unit test timeout
to 2s slow / 4s kill, add `e2e` profile with 10s/30s. Switch CI and docs
to `cargo nextest run`.

## Test plan

- [ ] `cargo nextest run --workspace` passes with new timeout profiles
- [ ] `fabro run <workflow>` works in foreground mode (create + start +
attach)
- [ ] `fabro run --detach <workflow>` prints run ID and exits
- [ ] `fabro attach <run>` works standalone (without child handle)
- [ ] `fabro resume <run>` works for both `.toml` and `.fabro` workflows

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Fabro <noreply@fabro.sh>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 22:48:09 -04:00
..
checkpoints.mdx Extract fabro resume subcommand (#137) 2026-03-22 13:45:06 -04:00
context.mdx rename Arc to Fabro in all Rust crates, symbols, env vars, and supporting files 2026-03-12 12:25:58 -04:00
devcontainers.mdx Update docs, frontend, marketing, and skills for .fabro extension 2026-03-13 22:38:25 -04:00
environments.mdx Extract fabro resume subcommand (#137) 2026-03-22 13:45:06 -04:00
failures.mdx Unify fabro run foreground to use create + start + attach (#141) 2026-03-22 22:48:09 -04:00
observability.mdx Update docs for new CLI commands, GitHub token injection, and events 2026-03-15 18:33:18 -04:00
outcomes.mdx Add Node Outcomes docs page and fix status gaps across docs 2026-03-21 10:05:36 -04:00
retros.mdx Designate retros as experimental, disable by default via [features] flag 2026-03-15 20:36:32 -04:00
run-configuration.mdx Update roadmap and standardize on Graphviz terminology 2026-03-16 20:01:33 -04:00