Skip to content

[codex] Ignore monitor dispatch capacity warnings - #284

Merged
Pigbibi merged 1 commit into
mainfrom
codex/ignore-monitor-dispatch-capacity-warnings
Jul 2, 2026
Merged

[codex] Ignore monitor dispatch capacity warnings#284
Pigbibi merged 1 commit into
mainfrom
codex/ignore-monitor-dispatch-capacity-warnings

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Ignore Cloud Run 429 no available instance warnings for /monitor-dispatch in Runtime Guard by default.
  • Keep /run and /dry-run capacity errors classified as failures.
  • Add regression coverage for default ignore, opt-out, and strategy request behavior.

Root cause

Runtime Guard failed because /monitor-dispatch overlapped with a running /dry-run while Cloud Run is configured with max-instances=1 and concurrency=1. The strategy dry-run completed successfully; only the low-priority monitor dispatcher request was rejected.

Validation

  • PYTHONPATH=. PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 python3 -m pytest -q tests/test_cloud_run_runtime_guard.py
  • python3 -m ruff check --exclude external .
  • Re-ran scripts/cloud_run_runtime_guard.py locally against the current lookback; it returned OK.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit ec666cd into main Jul 2, 2026
2 of 3 checks passed
@Pigbibi
Pigbibi deleted the codex/ignore-monitor-dispatch-capacity-warnings branch July 2, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant