gsxdsm
080a8e7134
FN-8464: guard baseline capture against invalid worktrees
Prevent baseline Git probes from using stale or non-directory task worktrees.
- Gate baseline capture on an existing worktree directory
- Defer graph step projection until worktree acquisition completes
- Cover missing, non-directory, and filesystem-race worktree paths
- Add a patch changeset for the operator-facing fix
Files changed:
.changeset/fn-8464-baseline-cwd.md | 7 ++
.../__tests__/executor-fast-mode-workflows.test.ts | 100 ++++++++++++++++++++-
.../engine/src/__tests__/executor-test-helpers.ts | 6 +-
packages/engine/src/__tests__/step-runner.test.ts | 62 +++++++++++++
packages/engine/src/executor.ts | 16 +++-
packages/engine/src/step-runner.ts | 24 +++++
6 files changed, 210 insertions(+), 5 deletions(-)
Fusion-Task-Id: FN-8464
Fusion-Task-Lineage: e4116dd0-decd-4f9d-87f0-e695cc7f182b
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-21 19:40:36 -07:00
..
2026-07-21 17:14:30 -07:00
2026-07-21 01:00:46 -07:00
2026-07-21 19:28:35 -07:00
2026-07-21 19:35:03 -07:00
2026-07-21 18:33:22 -07:00
2026-07-21 01:00:46 -07:00
2026-07-21 19:40:36 -07:00
2026-07-21 01:00:46 -07:00
2026-07-21 01:00:46 -07:00
2026-07-21 01:00:46 -07:00
2026-07-21 01:00:46 -07:00