Scope missing executor prompts safely while keeping graph coverage aligned with the post-cutover workflow route. - Treat absent executor prompts as empty before worktree path scoping. - Update graph retry, parity, and smoke expectations for plan review, completion summary, and post-merge traversal. - Quarantine only the stale executor-pause direct-dispatch suite with a ledger entry and engine-default exclude. Files changed: .changeset/fn-7239-scope-prompt-guard.md | 7 ++++ .../engine/src/__tests__/executor-pause.test.ts | 10 +++++ .../src/__tests__/task-pipeline-smoke.test.ts | 7 ++++ .../workflow-graph-executor-parity.test.ts | 15 ++++++- ...ow-graph-executor-retry-coding-workflow.test.ts | 48 +++++++++++++++++----- packages/engine/src/executor.ts | 15 ++++--- packages/engine/vitest.config.ts | 5 +++ scripts/lib/test-quarantine.json | 8 +++- 8 files changed, 97 insertions(+), 18 deletions(-) Fusion-Task-Id: FN-7239 Fusion-Task-Lineage: 9382e4e0-7cfc-416a-93e8-6ba1c7cd7879 Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
11 lines
1.4 KiB
JSON
11 lines
1.4 KiB
JSON
{
|
|
"$comment": "Flaky-test quarantine ledger (deletion ratchet — see AGENTS.md 'Flaky tests: quarantine on sight' and docs/testing.md 'Quarantine ledger and the deletion ratchet'). A test observed failing without a corresponding real bug is quarantined ON SIGHT: add an entry here AND a matching one-line `exclude` entry in that package's vitest config, in the same commit. Every entry needs a non-empty `reason` (link the failing run) and a `quarantinedAt` date — the entry expires 14 days later, at which point the test file is DELETED unless someone rescues it with evidence it catches real regressions plus a root-cause fix (never appeasement). There is deliberately no loader module and no automation around this file: it is a dated record, the vitest config exclude is the mechanism, and the sweep is policy executed by whoever touches the suite.",
|
|
"entries": [
|
|
{
|
|
"file": "packages/engine/src/__tests__/executor-pause.test.ts",
|
|
"reason": "FN-7239: stale post-cutover direct-dispatch StepSessionExecutor/legacy pause assertions fail after builtin:coding graph cutover; equivalent direct step-session, pause-abort graph, and graph rerun coverage remains active. Local targeted run: pnpm --filter @fusion/engine exec vitest run --project engine-default src/__tests__/workflow-graph-executor-retry-coding-workflow.test.ts src/__tests__/executor-pause.test.ts --silent=passed-only --reporter=dot (2026-06-29).",
|
|
"quarantinedAt": "2026-06-29"
|
|
}
|
|
]
|
|
}
|