fabro/lib/crates/fabro-cli/tests
Bryan Helmkamp 1490024823 Add failing regression tests for 6 bugs in create/start/attach lifecycle
Unit tests (run_progress.rs, start.rs):
- Bug 1: handle_json_line reads pre-rename field names (name/stage/branch/message)
  but real JSONL uses post-rename names (node_label/node_id/node_id/error)
- Bug 5: start_run doesn't write Starting status before spawning engine
- Bug 6: handle_json_line missing DevcontainerLifecycleStarted dispatch

Integration tests (cli.rs):
- Bug 2: _run_engine reads spec.workflow_path instead of cached graph.fabro
- Bug 3: attach loop doesn't delete interview_request.json after handling
- Bug 4: attach hardcodes verbose=false, ignoring spec.verbose

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 12:28:19 -04:00
..
cmd Rename init to repo init with backwards-compat shim 2026-03-18 17:41:49 -04:00
cli.rs Add failing regression tests for 6 bugs in create/start/attach lifecycle 2026-03-20 12:28:19 -04:00
scenario.rs Add fabro secret CLI subcommands for managing ~/.fabro/.env 2026-03-18 18:02:38 -04:00
trycmd.rs Rename init to repo init with backwards-compat shim 2026-03-18 17:41:49 -04:00