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
[Bug]: Windows admin pagination test is flaky (auth store worker startup timeout) #339
Seen twice on windows-latest, Node 24, in unrelated PRs (#328 and #333), both passing on a re-run of only the failed job.
Failing test: real user-query pagination and page export preserve combined filters across more than fifty accounts (packages/admin). Failures: auth_store_unavailable with cause worker thread began executing after ~22ms, then did not report readiness for a further ~15000ms (#328, together with admin pages share one meaningful heading and skip target ...), and an assertion {"error":"Narrow the user filters"} after a 12.7 s run (#333).
Looks like slow store startup on the Windows runner rather than a product bug, but that is unverified. Investigate whether the 15 s readiness budget is too tight on Windows CI, and whether the pagination test's slowness (12-18 s) should be reduced. A rerun of the failed job is the workaround until then.
Diagnostics merged in #341: the auth store worker now reports the last startup stage reached (database opened, journal mode set) and the readiness-timeout message names it. The investigation found no worker race: failing runs were runner-wide stalls (the same untouched admin test took 19.9 s instead of 2.5 s, the suite 61 s instead of 29 s). Budgets are unchanged. Keeping this open: on the next failure, read the reported stage. If it is always 'journal mode set' after a long stall, consider a CI-only budget increase or lower concurrency for the Windows admin suite.
Fresh CI evidence from PR #356 (Windows workspace job, 2026-09-21): seven packages/admin tests failed because the auth-store worker reached journal mode set then exceeded its readiness deadline by about 15 seconds (auth_store_unavailable, HTTP 503). The other verify platforms and workspace lanes passed.
Fixed by 06f2179 (fix: make auth store startup budget raisable for slow CI runners (#339) (#424)). The auth store worker readiness budget is now configurable via URLCODE_AUTH_STORE_STARTUP_MS (clamped 15s–120s) instead of a fixed 15s, addressing the tight-budget-on-Windows-CI hypothesis this issue asked to investigate.
Activity
jimhoyd commentedon Sep 20, 2026
Progress: an agent has started on this; a PR will be linked here when it opens.
Name the startup stage an auth store worker reached when its bound el…
jimhoyd commentedon Sep 20, 2026
Diagnostics merged in #341: the auth store worker now reports the last startup stage reached (database opened, journal mode set) and the readiness-timeout message names it. The investigation found no worker race: failing runs were runner-wide stalls (the same untouched admin test took 19.9 s instead of 2.5 s, the suite 61 s instead of 29 s). Budgets are unchanged. Keeping this open: on the next failure, read the reported stage. If it is always 'journal mode set' after a long stall, consider a CI-only budget increase or lower concurrency for the Windows admin suite.
jimhoyd commentedon Sep 21, 2026
Fresh CI evidence from PR #356 (Windows workspace job, 2026-09-21): seven
packages/admintests failed because the auth-store worker reachedjournal mode setthen exceeded its readiness deadline by about 15 seconds (auth_store_unavailable, HTTP 503). The other verify platforms and workspace lanes passed.This was unrelated to the PR diff (only core ESLint ignores and a core test fixture). Failed run/job: https://github.com/jimhoyd-com/urlcode/actions/runs/35547053802/job/106174766003
fix: make auth store startup budget raisable for slow CI runners (#339)…
jimhoyd commentedon Sep 22, 2026
Fixed by 06f2179 (fix: make auth store startup budget raisable for slow CI runners (#339) (#424)). The auth store worker readiness budget is now configurable via URLCODE_AUTH_STORE_STARTUP_MS (clamped 15s–120s) instead of a fixed 15s, addressing the tight-budget-on-Windows-CI hypothesis this issue asked to investigate.
fix(auth): raise password-hash contention wait budget for slow CI run…