Repository navigation
feat(collector): support --codex-5h flag in quota-warmup task - #75
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
需要单独开启 Codex 的 5 小时窗口(
five-hour)到期预热,同时保持 Antigravity 只预热 7 天周窗口(gemini_weekly与3p_weekly)。变更内容
scripts/quota-warmup.ts新增--codex-5h参数(及METERLEAF_WARMUP_CODEX_5H=1环境变量):启用后,Codex 的seven-day与five-hour窗口到期均会自动预热,Antigravity 仍只预热周窗口(--include-5h则开启全部 5 小时窗口)。tests/quota-warmup.test.ts单测与docs/collector.md说明。验证证据
bun test tests/quota-warmup.test.ts与bun run typecheck通过。meterleaf-collector tasks已更新为--codex-5h并执行通过。