agent-orchestrator/packages/web/src/hooks
Ashish Huddar c473088373 fix: prevent retry storms and stale refresh on project switch
- Update lastRefreshAtRef on non-OK /api/sessions responses to prevent
  infinite 5-second retry loops when the API is unhealthy
- Reset lastRefreshAtRef when project changes so each project gets its
  own immediate first refresh instead of inheriting the prior project's
  cooldown timestamp
- Add test for project-switch refresh behavior

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 22:49:51 -07:00
..
__tests__ fix: prevent retry storms and stale refresh on project switch 2026-04-06 22:49:51 -07:00
useMediaQuery.ts Polish mobile dashboard UX and harden PWA behavior 2026-03-25 13:57:40 +05:30
useMux.ts feat(web): add MuxProvider React context for persistent WebSocket 2026-04-06 22:46:29 -07:00
useSSESessionActivity.ts feat: event-driven live tab titles and favicons via SSE (#848) 2026-04-06 22:46:29 -07:00
useSessionEvents.ts fix: prevent retry storms and stale refresh on project switch 2026-04-06 22:49:51 -07:00