Restore reliable QuickEntryBox post-submit focus and return its test to the dashboard suite. - Replace the ref-gated focus effect with a state-driven post-submit focus request. - Cover desktop Enter, Save, duplicate-confirmed submit, mobile non-focus, and failed-submit draft preservation. - Remove QuickEntryBox from dashboard quarantine while keeping the remaining workflow editor quarantine. Files changed: .../dashboard/app/components/QuickEntryBox.tsx | 46 +++++++++++++++++----- .../components/__tests__/QuickEntryBox.test.tsx | 29 +++++++++++++- packages/dashboard/vitest.config.ts | 5 ++- scripts/lib/test-quarantine.json | 5 --- 4 files changed, 69 insertions(+), 16 deletions(-) Fusion-Task-Id: FN-6743 Fusion-Task-Lineage: 2d458631-3ff3-4d96-8d91-bc2a17538be2
41 lines
4.0 KiB
JSON
41 lines
4.0 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/dashboard/app/components/__tests__/WorkflowNodeEditor.test.tsx",
|
|
"reason": "FN-6726 local workspace `pnpm test` observed the duplicate-merge-seam template conflict assertion fail only in the broad dashboard components-b shard, while a targeted rerun of that exact test passed; quarantine the workflow editor concurrency flake instead of appeasing unrelated template insertion behavior while the Command Center token containment fix remains scoped.",
|
|
"quarantinedAt": "2026-06-19"
|
|
},
|
|
{
|
|
"file": "packages/core/src/__tests__/store-concurrent-writes.test.ts",
|
|
"reason": "FN-6741 merge verification observed store-concurrent-writes fail again only under the broad @fusion/core lane with SQLite BEGIN IMMEDIATE lock exhaustion after the other same-day core quarantine entries stayed loaded; re-quarantine this suite-load lock flake instead of widening SQLite lock-recovery timing, adding retries, or weakening concurrent-write assertions.",
|
|
"quarantinedAt": "2026-06-19"
|
|
},
|
|
{
|
|
"file": "packages/cli/src/__tests__/extension-goal-tools.test.ts",
|
|
"reason": "FN-6705 local workspace `pnpm test` observed extension-goal-tools timing out and leaking state only in the broad changed-package CLI lane; immediate targeted rerun with the CLI failure batch passed this file, so quarantine the suite-load flake instead of widening the 5s test timeout or weakening goal-list assertions.",
|
|
"quarantinedAt": "2026-06-19"
|
|
},
|
|
{
|
|
"file": "packages/cli/src/__tests__/extension-mission-goal-tools.test.ts",
|
|
"reason": "FN-6705 local workspace `pnpm test` observed extension-mission-goal-tools timing out and leaving ENOTEMPTY cleanup only in the broad changed-package CLI lane; immediate targeted rerun with the CLI failure batch passed this file, so quarantine the suite-load flake instead of timeout/retry appeasement.",
|
|
"quarantinedAt": "2026-06-19"
|
|
},
|
|
{
|
|
"file": "packages/cli/src/__tests__/extension-task-tools.test.ts",
|
|
"reason": "FN-6705 verification observed extension-task-tools timeout under both the broad changed-package CLI lane and a direct rerun while unrelated task surfaces still passed; quarantine the load-sensitive repo-root integration file under the deletion ratchet instead of raising testTimeout.",
|
|
"quarantinedAt": "2026-06-19"
|
|
},
|
|
{
|
|
"file": "packages/cli/src/__tests__/extension.test.ts",
|
|
"reason": "FN-6705 local workspace `pnpm test` observed extension.test fn_task_list cases time out and hit ENOTEMPTY cleanup only in the broad changed-package CLI lane; immediate targeted rerun with the CLI failure batch passed this file, so quarantine the suite-load flake instead of appeasing it.",
|
|
"quarantinedAt": "2026-06-19"
|
|
},
|
|
{
|
|
"file": "packages/cli/src/__tests__/research-extension-tools.test.ts",
|
|
"reason": "FN-6705 local workspace `pnpm test` observed research-extension-tools timing/assertion drift only in the broad changed-package CLI lane; immediate targeted rerun with the CLI failure batch passed this file, so quarantine the suite-load flake instead of loosening assertions or adding retries.",
|
|
"quarantinedAt": "2026-06-19"
|
|
}
|
|
]
|
|
}
|