Rescue the Paperclip CLI spawn coverage by making fake child events deterministic and re-enabling the suite. - Route mintAgentApiKeyViaCli cases through the shared fake spawn helper so close and error events are emitted after listener registration. - Document the async import/listener-order requirement that caused the quarantine. - Remove paperclip-client.test.ts from the quarantine ledger and Vitest exclude list so the rescued tests run. Files changed: .../src/__tests__/paperclip-client.test.ts | 134 +++++++-------------- .../vitest.config.ts | 2 - scripts/lib/test-quarantine.json | 5 - 3 files changed, 44 insertions(+), 97 deletions(-) Fusion-Task-Id: FN-6636 Fusion-Task-Lineage: 79038ab3-0aa6-465e-9c6e-f6bc83fcd407
16 lines
1.6 KiB
JSON
16 lines
1.6 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__/QuickEntryBox.test.tsx",
|
|
"reason": "FN-6633 workspace pnpm test observed focus-restoration assertion flake after this task's targeted chat-manager coverage passed; unrelated dashboard jsdom focus race, quarantined under deletion ratchet instead of appeasement.",
|
|
"quarantinedAt": "2026-06-18"
|
|
},
|
|
{
|
|
"file": "packages/dashboard/src/__tests__/chat-routes.test.ts",
|
|
"reason": "FN-6633 workspace pnpm test observed SSE lifecycle test timeout after this task's targeted chat-manager coverage passed; unrelated dashboard route timing flake, quarantined under deletion ratchet instead of broadening this prompt-only change.",
|
|
"quarantinedAt": "2026-06-18"
|
|
}
|
|
]
|
|
}
|