fabro/lib/crates
Bryan Helmkamp c71722d797 Default TestContext::command() working directory to temp_dir
Tests were flaky because command() inherited the real repo as the
working directory. When the repo was clean, detached runs attempted
git worktree creation against it, sometimes failing and injecting
extra warning lines into snapshots.

Now command() defaults to the non-git temp_dir, eliminating this
class of flakiness. Tests needing a specific directory override with
.current_dir(). Also canonicalizes fixture paths and adds a
[FIXTURES] snapshot filter via test_context!() macro.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 20:36:48 -04:00
..
fabro-agent Centralize E2E test env var handling 2026-03-31 09:30:38 -04:00
fabro-api-types Add publish = false to all crates to prevent accidental crates.io publish 2026-03-29 13:47:09 -04:00
fabro-checkpoint Preserve metadata deserialize error details 2026-03-30 16:17:39 -04:00
fabro-cli Default TestContext::command() working directory to temp_dir 2026-03-31 20:36:48 -04:00
fabro-config Add global JSON output mode 2026-03-31 07:51:19 -04:00
fabro-core Rename fabro-workflows crate to fabro-workflow 2026-03-30 12:27:40 -04:00
fabro-db Add publish = false to all crates to prevent accidental crates.io publish 2026-03-29 13:47:09 -04:00
fabro-devcontainer Clean up workspace clippy warnings 2026-03-30 11:27:25 -04:00
fabro-github Add global JSON output mode 2026-03-31 07:51:19 -04:00
fabro-graphviz Clean up workspace clippy warnings 2026-03-30 11:27:25 -04:00
fabro-hooks Clean up workspace clippy warnings 2026-03-30 11:27:25 -04:00
fabro-interview Speed up sleep-heavy test suites 2026-03-31 13:12:21 -04:00
fabro-llm Tighten non-interactive JSON mode 2026-03-31 09:47:50 -04:00
fabro-macros Centralize E2E test env var handling 2026-03-31 09:30:38 -04:00
fabro-mcp Clean up workspace clippy warnings 2026-03-30 11:27:25 -04:00
fabro-model Clean up workspace clippy warnings 2026-03-30 11:27:25 -04:00
fabro-oauth Rename fabro-openai-oauth to fabro-oauth 2026-03-31 13:23:43 -04:00
fabro-proctitle Add publish = false to all crates to prevent accidental crates.io publish 2026-03-29 13:47:09 -04:00
fabro-retro Refactor run event envelopes and subagent linking 2026-03-30 17:09:07 -04:00
fabro-sandbox Prune stale git worktrees before branch creation in WorktreeSandbox 2026-03-31 13:44:01 -04:00
fabro-server Speed up sleep-heavy test suites 2026-03-31 13:12:21 -04:00
fabro-slack Allow GitHub and Slack base URLs to be overridden via env vars 2026-03-30 19:08:12 -04:00
fabro-store Fix logs --follow timeout by lowering SlateDB reader manifest poll interval 2026-03-31 10:45:34 -04:00
fabro-telemetry Speed up sleep-heavy test suites 2026-03-31 13:12:21 -04:00
fabro-test Default TestContext::command() working directory to temp_dir 2026-03-31 20:36:48 -04:00
fabro-tracker Clean up workspace clippy warnings 2026-03-30 11:27:25 -04:00
fabro-types Prefix API routes with /api/v1 2026-03-30 16:17:06 -04:00
fabro-util Add global JSON output mode 2026-03-31 07:51:19 -04:00
fabro-validate Add publish = false to all crates to prevent accidental crates.io publish 2026-03-29 13:47:09 -04:00
fabro-workflow Centralize E2E test env var handling 2026-03-31 09:30:38 -04:00