Skip to content

feat(quota): add reset-confirmed limit warm-up#786

Merged
Soju06 merged 10 commits into
mainfrom
fix/pr-773-limit-warmup-repair
May 27, 2026
Merged

feat(quota): add reset-confirmed limit warm-up#786
Soju06 merged 10 commits into
mainfrom
fix/pr-773-limit-warmup-repair

Conversation

@Komzpa
Copy link
Copy Markdown
Collaborator

@Komzpa Komzpa commented May 23, 2026

Draft repair branch for #773. The original fork branch has maintainer edits disabled, so this branch carries the same reset-confirmed limit warm-up work plus follow-up fixes needed for CI and review findings.\n\nFollow-up fixes included here:\n- remove the unsupported typed ResponsesRequest max_output_tokens constructor argument\n- type LimitWarmupService against structural repository ports so test doubles pass ty\n- compare configured available-quota thresholds against remaining quota\n- warm all selected reset windows when primary and secondary reset in the same refresh\n- keep the default 100 setting as any reset-confirmed availability rather than requiring exactly 0% used\n\nVerification run locally:\n- make lint\n- make typecheck\n- uv run pytest tests/unit/test_limit_warmup.py\n- codex review --base origin/main, three-pass capped review loop with findings addressed\n\nReferences #773.

@Komzpa Komzpa force-pushed the fix/pr-773-limit-warmup-repair branch from 4613e02 to 9258b99 Compare May 23, 2026 21:41
@Soju06
Copy link
Copy Markdown
Owner

Soju06 commented May 23, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Soju06 Soju06 added the 🤖 codex: ok [@codex review] says no issues found. label May 23, 2026
@Komzpa Komzpa marked this pull request as ready for review May 23, 2026 22:24
@Soju06 Soju06 removed the 🤖 codex: ok [@codex review] says no issues found. label May 23, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9258b99dbf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/modules/limit_warmup/service.py Outdated
@Soju06 Soju06 added 🤖 codex: needs work [@codex review] raised an issue and removed 🤖 codex: needs work [@codex review] raised an issue labels May 23, 2026
@Komzpa
Copy link
Copy Markdown
Collaborator Author

Komzpa commented May 23, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Soju06 Soju06 added 🤖 codex: ok [@codex review] says no issues found. and removed 🤖 codex: ok [@codex review] says no issues found. labels May 23, 2026
@mahirozdin
Copy link
Copy Markdown

Thanks for carrying this forward and creating the repair branch for #773.

I confirm that #786 follows the same feature direction I originally proposed in #773, with additional fixes for CI, type-checking, review feedback, and merge readiness.

Thanks again for the follow-up work.

@Komzpa Komzpa force-pushed the fix/pr-773-limit-warmup-repair branch from a82fcd7 to ebf623e Compare May 24, 2026 14:23
@Komzpa
Copy link
Copy Markdown
Collaborator Author

Komzpa commented May 24, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ebf623e1a1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/modules/limit_warmup/service.py Outdated
@Soju06 Soju06 added the 🤖 codex: needs work [@codex review] raised an issue label May 24, 2026
@Soju06 Soju06 removed the 🤖 codex: needs work [@codex review] raised an issue label May 24, 2026
@Komzpa
Copy link
Copy Markdown
Collaborator Author

Komzpa commented May 24, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fdff67f05f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/modules/limit_warmup/service.py
@Soju06 Soju06 added the 🤖 codex: needs work [@codex review] raised an issue label May 24, 2026
@Komzpa
Copy link
Copy Markdown
Collaborator Author

Komzpa commented May 24, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 684c518904

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/modules/limit_warmup/service.py
Comment thread app/modules/limit_warmup/service.py Outdated
@Komzpa
Copy link
Copy Markdown
Collaborator Author

Komzpa commented May 24, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 85c889af11

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/modules/limit_warmup/service.py
@Komzpa
Copy link
Copy Markdown
Collaborator Author

Komzpa commented May 24, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 851e71c63b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/modules/limit_warmup/service.py Outdated
@Komzpa
Copy link
Copy Markdown
Collaborator Author

Komzpa commented May 24, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Komzpa Komzpa added 🤖 codex: ok [@codex review] says no issues found. and removed 🤖 codex: needs work [@codex review] raised an issue labels May 24, 2026
@Soju06 Soju06 merged commit bfc7d6c into main May 27, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖 codex: ok [@codex review] says no issues found.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants