mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-09 04:02:35 +00:00
cache.spec.ts polled fire-and-forget fail-soft writes with a fixed 40ms settle(); contended runners drain the write after the window, so the warn/row assertions flaked. Poll the observable outcome with vi.waitFor (5s) instead, matching the file's existing cold-read write-back pattern. The sdk-client and subagent-dsh-sdk dispose-ladder tests passed tight confirmation budgets (disposeGraceMs 100-300ms) to real children; on a contended runner the SIGKILL exit edge can arrive after the budget and close() misreports a slow reap as failure. Use the product-default budgets (disposeGraceMs 3000ms) for the real-child cases; the fake-child negative cases in dispose.spec.ts keep the 10ms bound.