Production deployments stuck in QUEUED state

Issue: Production deployments stuck in QUEUED state for over an hour.
No deployments are in BUILDING state. The deployment events endpoint
(GET /v3/deployments/{id}/events) returns an empty array for queued
deployments, indicating the build scheduler has not claimed them.

Verified:

  • All build resource limits are green (2h/100h Build Time used,
    6h32m Build CPU Minutes, all under plan caps)
  • No other project on the team has any active build
  • Cancelled all earlier queued deployments — left only the latest
  • Patched resourceConfig to buildQueue.configuration=SKIP_NAMESPACE_QUEUE
    (HTTP 200, applied successfully) — no change in build behavior
  • Pushed a fresh commit after the patch — still QUEUED, no events