fix(mission-control): increase rate limit for events/recent, add error handling #742

Merged
jason.woltje merged 1 commits from fix/mission-control-ratelimit into main 2026-03-08 00:44:33 +00:00
Owner

Summary

  • increase GET /agents/events/recent throttling to default profile at 1000 req/min
  • harden Mission Control audit log fetch with try/catch
  • on 429, show Rate limited - retrying... and return safe empty response
  • on other errors, return empty response to avoid UI crash

Validation

  • attempted: SKIP_ENV_VALIDATION=true pnpm turbo lint --filter=@mosaic/orchestrator --filter=@mosaic/web (fails on existing orchestrator baseline issues unrelated to this diff)
  • attempted: SKIP_ENV_VALIDATION=true pnpm turbo typecheck --filter=@mosaic/orchestrator --filter=@mosaic/web (fails on existing orchestrator Prisma type generation/baseline issues unrelated to this diff)
## Summary - increase `GET /agents/events/recent` throttling to `default` profile at 1000 req/min - harden Mission Control audit log fetch with try/catch - on 429, show `Rate limited - retrying...` and return safe empty response - on other errors, return empty response to avoid UI crash ## Validation - attempted: `SKIP_ENV_VALIDATION=true pnpm turbo lint --filter=@mosaic/orchestrator --filter=@mosaic/web` (fails on existing orchestrator baseline issues unrelated to this diff) - attempted: `SKIP_ENV_VALIDATION=true pnpm turbo typecheck --filter=@mosaic/orchestrator --filter=@mosaic/web` (fails on existing orchestrator Prisma type generation/baseline issues unrelated to this diff)
jason.woltje added 1 commit 2026-03-08 00:43:16 +00:00
jason.woltje merged commit 3d91334df7 into main 2026-03-08 00:44:33 +00:00
Sign in to join this conversation.