Files
fusion/packages
gsxdsm 8c0a75f50e test(core): accept either fs.watch failure path on Linux and macOS
`store-activity.test.ts > "logs fs.watch setup failures and keeps polling
active"` flakes on Linux CI: it sets `tasksDir` to a non-existent path
and expects `fs.watch` to throw synchronously (routed to
`watch:fs-watch-setup`). macOS Node does throw, but Linux Node returns a
watcher that emits an async `error` event instead (routed to
`watch:fs-watch-error`). The contract this test guards is "log the
failure and keep polling alive" — not which catch arm handled it.

Match either warning message + phase, and use `vi.waitFor` so the async
Linux path isn't raced by the spy.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-28 10:03:29 -07:00
..
2026-05-28 08:20:50 -07:00
2026-05-28 08:20:50 -07:00
2026-05-28 08:20:50 -07:00
2026-05-28 08:20:50 -07:00
2026-05-28 08:20:50 -07:00
2026-05-28 08:20:50 -07:00
2026-05-28 08:20:50 -07:00
2026-05-28 08:20:50 -07:00