Skip to content

[codex] Propagate rate limit reached type#18227

Merged
richardopenai merged 3 commits intomainfrom
codex/rate-limit-reached-type-plumbing
Apr 17, 2026
Merged

[codex] Propagate rate limit reached type#18227
richardopenai merged 3 commits intomainfrom
codex/rate-limit-reached-type-plumbing

Conversation

@richardopenai
Copy link
Copy Markdown
Contributor

Summary

First PR in the split from #17956.

  • adds the core/app-server RateLimitReachedType shape
  • maps backend rate_limit_reached_type into Codex rate-limit snapshots
  • carries the field through app-server notifications/responses and generated schemas
  • updates existing constructors/tests for the new optional field

Validation

  • cargo test -p codex-backend-client
  • cargo test -p codex-app-server-protocol
  • cargo test -p codex-app-server rate_limits
  • cargo test -p codex-tui workspace_
  • cargo test -p codex-tui status_
  • just fmt
  • just fix -p codex-backend-client
  • just fix -p codex-app-server-protocol
  • just fix -p codex-app-server
  • just fix -p codex-tui

@richardopenai richardopenai marked this pull request as ready for review April 16, 2026 23:26
@richardopenai richardopenai force-pushed the codex/rate-limit-reached-type-plumbing branch 2 times, most recently from 0d30480 to 63b0730 Compare April 17, 2026 02:49
@richardopenai richardopenai force-pushed the codex/rate-limit-reached-type-plumbing branch from 63b0730 to f2e4dbf Compare April 17, 2026 03:01
Comment thread codex-rs/codex-backend-openapi-models/src/models/rate_limit_status_payload.rs Outdated
@richardopenai richardopenai force-pushed the codex/rate-limit-reached-type-plumbing branch from 53fac2f to 3a3697d Compare April 17, 2026 06:07
@richardopenai richardopenai force-pushed the codex/rate-limit-reached-type-plumbing branch from 42f1e22 to 08978c8 Compare April 17, 2026 09:46
@richardopenai richardopenai force-pushed the codex/rate-limit-reached-type-plumbing branch from 08978c8 to 4edc250 Compare April 17, 2026 16:27
@richardopenai richardopenai merged commit 139fa8b into main Apr 17, 2026
41 of 44 checks passed
@richardopenai richardopenai deleted the codex/rate-limit-reached-type-plumbing branch April 17, 2026 20:37
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 17, 2026
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.

2 participants