fabro/docs/workflows
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
..
human-in-the-loop.mdx Unify fabro run foreground to use create + start + attach (#141) 2026-03-22 22:48:09 -04:00
stages-and-nodes.mdx Update roadmap and standardize on Graphviz terminology 2026-03-16 20:01:33 -04:00
stylesheets.mdx Update docs, frontend, marketing, and skills for .fabro extension 2026-03-13 22:38:25 -04:00
transitions.mdx Add Node Outcomes docs page and fix status gaps across docs 2026-03-21 10:05:36 -04:00
variables.mdx Update roadmap and standardize on Graphviz terminology 2026-03-16 20:01:33 -04:00