Skip to content

fix(ai): deferred status for Global + daily-summary OIDC - #245

Merged
Pigbibi merged 1 commit into
mainfrom
fix/ai-parallel-deferred-briefing-drift
Sep 17, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
fix/ai-parallel-deferred-briefing-drift

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Global ETF codegen treats service-shaped codex_quota_reserved deferrals as deferred even when failure_category is omitted (no longer global_codegen_gateway_failed).
  • Gateway 429/admission defer responses now include failure_category=quota_or_capacity_failure.
  • Daily briefing --summary-only exits 0 on deferred so Cursor/Codex OIDC canary schedules do not fail the job when capacity defers.

Test plan

  • pytest tests/test_global_etf_research_codegen.py tests/test_daily_briefing_summary.py
  • After merge: next codex_audit daily-summary / portfolio schedule on main with Cursor providers

Made with Cursor

Recognize service-shaped Codex quota deferrals without requiring
failure_category, stamp the category on gateway defer bodies, and treat
daily-summary deferred as exit 0 so Actions stays green with artifacts.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Pigbibi
Pigbibi enabled auto-merge September 17, 2026 18:02
@Pigbibi
Pigbibi merged commit 3e965df into main Sep 17, 2026
4 checks passed
@Pigbibi
Pigbibi deleted the fix/ai-parallel-deferred-briefing-drift branch September 17, 2026 18:04
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