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
test: expect.poll's 1 s default is too short for viewer tests on a loaded runner #402
Several viewer and takeover tests wait on subprocess state with expect.poll and vitest's default 1 second timeout. On a loaded runner that is too short. In the release workflow dry run for 0.7.1 (run 40743359883, Lab gates), packages/cli/test/native-viewer-host.test.ts > "handles socket modes, session end, unknown events, and a clean close" failed with "Matcher did not succeed in time" while it waited for the cued fullscreen mode. 14 polls in the test suites use the default.
Acceptance criteria
Polls without an explicit timeout wait long enough for subprocess work on a loaded runner, while polls that pass quickly stay fast.
Seen again on PR #395 at 69dede1, CI run 40748220941, job test in bun run test:coverage: the same test, "handles socket modes, session end, unknown events, and a clean close", failed with "expected 'thumbnail' to be 'fullscreen'" after "Matcher did not succeed in time". #395 changes only Android UI tree output, so this is the runner-load timing in this issue.
Activity
test: give expect.poll a 5 s default for loaded runners
ElbertePlinio commentedon Oct 28, 2026
Seen again on PR #395 at 69dede1, CI run 40748220941, job
testinbun run test:coverage: the same test, "handles socket modes, session end, unknown events, and a clean close", failed with "expected 'thumbnail' to be 'fullscreen'" after "Matcher did not succeed in time". #395 changes only Android UI tree output, so this is the runner-load timing in this issue.test: give vi.waitFor a 5 s default for loaded runners