You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flaky: edge-allocate.test.ts allocate --platform ios test times out at 20 s on the Windows unit job #2096
bug:needs-infoCould not reproduce. Waiting on the reporter.flaky-testNames a test that fails without a code change. Delivery skips its base-commit check.os:windowsRuns on, or affects, Windows hosts
src/agent-device/edge-allocate.test.ts, "the agent-device front, through the whole worker daemon > allocate --platform ios makes a simlock lease whose ID and requester are the CLI's lease ID, owned by the token's principal, and the lease request names no osVersion, mode, imageTag or physical device", timed out at 20 s on the Windows unit job (shard 2/3) on PR #2087, at 5f193ec, attempt 1 of the CI run (job). The same job run also failed src/report-guard.test.ts and src/agent-device/gateway-handover.test.ts. A re-run of the run (attempt 2) passed.
FAIL unit src/agent-device/edge-allocate.test.ts > the agent-device front, through the whole worker daemon > allocate `--platform ios` makes a simlock lease whose ID and requester are the CLI's lease ID, owned by the token's principal, and the lease request names no osVersion, mode, imageTag or physical device
TestTimeoutError: Test timed out in 20000ms.
❯ src/agent-device/edge-allocate.test.ts:29:3
Line 29 is the test's start; the log does not say which step hung. The test sets up a whole worker daemon twice (setUp() and a second setUp({ drivers })) inside the 20 s.
What you expected
The test passes on every run.
How to reproduce
Not reproduced locally: it runs on Windows only. Seen once, on 2026-12-03. The shard ran 384 s and three files failed, so a loaded runner is a likely cause, not a known one.
Environment
CI: windows-2025, job Unit tests (Windows) (2/3), pnpm run test:unit (20 s test timeout).
Not reproduced. This test failed inside the same runner stall as #2095. Nothing points at the test or at the agent-device front.
What I tried
pnpm exec vitest run --project unit src/agent-device/edge-allocate.test.ts on macOS at b2dd634: 3 of 3 runs passed. The test took 111 to 531 ms.
Windows unit job logs, this test and its file:
run / job this test whole file
47119859798 attempt 1 (failing) 21880 ms 58109 ms
47119859798 attempt 2 1490 ms 22158 ms
47136059717 1529 ms 21777 ms
47183410661 1156 ms 17225 ms
47184626915 1195 ms 14640 ms
In the same file, the tests after the gap took 0.4 to 1.8 s. That is about 2x their normal time (0.4 to 0.8 s): a loaded runner, but not a stuck one. Only the test inside the gap took 15x its normal time.
A failure of this test on a run where other files kept finishing while it hung. Or the runner's CPU and disk use from 13:53 to 13:55 on 2026-12-03. Without either, I suggest closing this together with #2095 and #2097 as one runner stall.
bug:needs-infoCould not reproduce. Waiting on the reporter.flaky-testNames a test that fails without a code change. Delivery skips its base-commit check.os:windowsRuns on, or affects, Windows hosts
Activity
V3RON commentedon Dec 3, 2026
Not reproduced. This test failed inside the same runner stall as #2095. Nothing points at the test or at the agent-device front.
What I tried
pnpm exec vitest run --project unit src/agent-device/edge-allocate.test.tson macOS at b2dd634: 3 of 3 runs passed. The test took 111 to 531 ms.setUp()already uses the fake directory-access reader (flaky: edge-request-rules-devices.test.ts boot test times out at 20 s on the Windows unit job #1912's fix). WithhostLoadProbe: null, it starts no PowerShell. So this test has no Windows-only wait that I could find that would make a short stall a long one.What would let me reproduce it
A failure of this test on a run where other files kept finishing while it hung. Or the runner's CPU and disk use from 13:53 to 13:55 on 2026-12-03. Without either, I suggest closing this together with #2095 and #2097 as one runner stall.
Written by an agent.