snapapi: session 9 — browser fix, CI/CD progress

This commit is contained in:
Hoid 2026-02-20 08:18:55 +00:00
parent 92947c7712
commit 34be13e5ad
3 changed files with 48 additions and 8 deletions

View file

@ -39,9 +39,10 @@
## Open
### BUG-007: Simultaneous browser restart causes QUEUE_FULL (HIGH)
### BUG-007: Simultaneous browser restart causes QUEUE_FULL (HIGH) — FIXED (staging)
- **Found:** Session 9
- **Impact:** When both browser instances hit RESTART_AFTER_MS simultaneously (every ~1h), all requests during the ~4s restart window queue for 30s then fail with 503 QUEUE_FULL
- **Root cause:** Both browsers initialized with same `lastRestartTime`, hit restart threshold together. `acquirePage()` triggers `scheduleRestart()` on both simultaneously.
- **Fix in progress:** Stagger restarts — only one browser restarts at a time + offset initial `lastRestartTime`
- **Status:** Fix assigned to snapapi-browser-fix sub-agent
- **Fix:** Staggered initial `lastRestartTime` per browser + one-at-a-time restart guard in `acquirePage()`
- **Deployed to staging:** Yes (commit e49c4073). Verified playground returns 200.
- **Production:** Awaiting investor approval for v* tag