Skip to content
This repository was archived by the owner on Jul 3, 2026. It is now read-only.

Fallback on non-quota Codex exec failures#61

Merged
Pigbibi merged 1 commit into
mainfrom
codex/codex-exec-unknown-fallback
Jul 3, 2026
Merged

Fallback on non-quota Codex exec failures#61
Pigbibi merged 1 commit into
mainfrom
codex/codex-exec-unknown-fallback

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • keep quota/capacity classification for Codex exec failures
  • treat other Codex process nonzero output as unknown so provider=auto can use API fallback
  • keep service auth/allowlist classification outside Codex exec output

Tests

  • python3 -m ruff check scripts/run_monthly_codex_audit.py scripts/codex_audit_service.py service/ai_gateway_service.py tests/test_run_monthly_codex_audit.py
  • python3 -m unittest tests.test_run_monthly_codex_audit.RunMonthlyCodexAuditTests.test_service_failure_classification_identifies_infra_failures tests.test_run_monthly_codex_audit.RunMonthlyCodexAuditTests.test_service_failure_classification_ignores_source_code_secret_words
  • python3 -m unittest discover -s tests
  • git diff --check

Co-Authored-By: Codex <noreply@openai.com>
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

🤖 Codex PR Review

⚠️ Review skipped: The Codex review could not be completed.

Codex service request failed: 401 {"error": "OIDC workflow_ref is not allowed"}

Please ensure a human reviewer checks this PR before merging.

@Pigbibi Pigbibi merged commit 43d1e43 into main Jul 3, 2026
4 checks passed
@Pigbibi Pigbibi deleted the codex/codex-exec-unknown-fallback branch July 3, 2026 08:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant