Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ READY
Hygiene✅ Deterministic PR hygiene checks passed. |
리뷰 · 우선순위 64 / 80이 변경은 할당량 창 자동 시작을 켜 둔 계정만 다뤄요. 그런 계정이 이번 창을 한 번도 안 쓰면, 사용량은 0%로 남고 리셋 시각만 볼 때마다 뒤로 밀려요. 그 시각이 올 때까지 기다려도 창은 시작되지 않아요. 같은 로그인 정보로 사용량을 두 번 새로 봐요. 리셋 시각이 본 시간만큼 같이 밀리면, 아직 안 쓴 창으로 보고 원래 있던 작은 모델 요청을 한 번 보내요. 리셋 시각이 가만히 있으면 이미 시간이 가는 중이니 보내지 않아요. 보내기 전에 시도 시각을 설정 파일에 적어요. 프록시가 다시 켜져도 5분 안에는 같은 시도를 반복하지 않아요. 일시정지, 계정 검사 대기, 다시 로그인, 풀 모드, 메인 계정 잠금은 그대로 막아요. 기준 브랜치는
검증 - 작성자 기록으로는 초점 테스트 55개가 통과했어요. 메인테이너의 판단이 필요한 지점 너의 추천 이 댓글은 grok-bot이 작성했습니다 |
|
Author-action sweep: clarified the PR description so the parallel #6020 proposal is not described as already integrated or validated here. The code head remains |
|
Closing as superseded by #6020, which landed in #6062 (merge |
Summary
An opted-in account that has never used its current quota window can remain idle until a retained future deadline. Its authentic usage response stays at 0% and moves the full-window reset timestamp forward on every observation, so waiting for that timestamp does not start the window promptly.
Use two fresh, credential-bound observations to recognize that moving deadline and run the existing small activation request. A fixed reset at 0% is already counting down and does not qualify. Persist the attempt before sending, retain a five-minute retry fence across restarts (including a saved deadline becoming due), and preserve pause, validation, reauthentication, pool-mode and native-main protection. Read the observation clock again after asynchronous metadata refresh. No reported usage values or reset credits are changed, and a completed request is not treated as proof of a refreshed UI.
Related: #3376 and the initial-window intent in #2969. Parallel proposal: #6020 addresses saved-deadline scheduling and reduced metadata polling; this proposal addresses initial-window observation. Their interaction still needs validation when updating to the current integration branch. Combined behavior has not been verified, and the broader scheduling issue is not fully resolved here.
Verification
bun scripts/test.ts --changed=devdid not pass: the wrapper selected the olderupstream/devmerge basee807e1e27b, expanded into other provider/server suites, reported failures (including a composed runtime-port startup timeout), and reached the explicit 180-second run limit with exit 124. The runner and its tracked child exited. These broader failures have not been attributed to this patch or baseline-isolated. Full-suite validation is not claimed; this remains a draft.Checklist
Review readiness
devcommit.