Monthly reset delay short retry #45

Closed
opened 2026-10-07 23:49:07 +09:00 by dreampiler · 3 comments
Owner

Implement one fork PR for suspension_policy.go MonthlyReset: classify reset-day post-reset quota errors as provider reset delay with next_retry_at now plus 30-60 minutes; preserve next-day monthly reset blocking. Include only the explicitly requested two accompanying unit cases. Validate changed-package go test, go build, go vet and actual isolated DP-DeepSeek Flash retry logs, merge fork PR with Conventional Commits and only KANDEV-W-046 referenced in its body, then report-progress. Source task bac4c73b-9b6a-4ab8-9aec-ccb1c49c2fcd; supplied operations observation on 2026-10-07 incorrectly blocked DP until 2026-11-07 23:20 KST. No common checkout writes, production changes or DB manipulation, upstream contact, provider-specific parsing expansion, new standing validation frameworks or decision-document edits. Existing date-boundary wording must be reconciled against the concrete same-day/next-day acceptance cases in the managed workspace.

Implement one fork PR for suspension_policy.go MonthlyReset: classify reset-day post-reset quota errors as provider reset delay with next_retry_at now plus 30-60 minutes; preserve next-day monthly reset blocking. Include only the explicitly requested two accompanying unit cases. Validate changed-package go test, go build, go vet and actual isolated DP-DeepSeek Flash retry logs, merge fork PR with Conventional Commits and only KANDEV-W-046 referenced in its body, then report-progress. Source task bac4c73b-9b6a-4ab8-9aec-ccb1c49c2fcd; supplied operations observation on 2026-10-07 incorrectly blocked DP until 2026-11-07 23:20 KST. No common checkout writes, production changes or DB manipulation, upstream contact, provider-specific parsing expansion, new standing validation frameworks or decision-document edits. Existing date-boundary wording must be reconciled against the concrete same-day/next-day acceptance cases in the managed workspace.
Author
Owner

KANDEV-W-046 closed as already satisfied by merged PR #161 (dreampiler/kandev), commit 5044ffd186, merged 2026-10-07T21:17:43Z. Adds routingerr.RenewalAt + renewalLagLadder {30m, 1h} + renewalDue/capAtRenewal: a DevPass quota notice whose stated renewal day has already begun is retried on the short ladder instead of blocking until the next monthly reset. R2 (following-day identical error -> next month) was discarded by manager decision q1_opt1 as conflicting with the owner's original wording ('already passed but still failing') and the merged regression test TestRenewalDueNoticeStartsAtTheShortestLagStep. No new PR, commit, or file change by W-046. Remaining, operations-owned: the already-open production circuit is persisted state the code fix does not release; hand off to operations. Evidence read at origin/main 5c122c572c; changed-package test/build/vet and isolated live retry were not re-run in this task.

KANDEV-W-046 closed as already satisfied by merged PR #161 (dreampiler/kandev), commit 5044ffd186, merged 2026-10-07T21:17:43Z. Adds routingerr.RenewalAt + renewalLagLadder {30m, 1h} + renewalDue/capAtRenewal: a DevPass quota notice whose stated renewal day has already begun is retried on the short ladder instead of blocking until the next monthly reset. R2 (following-day identical error -> next month) was discarded by manager decision q1_opt1 as conflicting with the owner's original wording ('already passed but still failing') and the merged regression test TestRenewalDueNoticeStartsAtTheShortestLagStep. No new PR, commit, or file change by W-046. Remaining, operations-owned: the already-open production circuit is persisted state the code fix does not release; hand off to operations. Evidence read at origin/main 5c122c572c; changed-package test/build/vet and isolated live retry were not re-run in this task.
Author
Owner

KANDEV-W-046 integration/cleanup complete. No W-046 PR exists: the goal was already satisfied by the owner merged PR #161 (commit 5044ffd186, merged 2026-10-07T21:17:43Z), so nothing was merged here. Cleanup: common checkout main fast-forwarded 4854da0f69 to 5c122c572c (origin/main); task worktree D:\260720_Ai_Workspace_Tools\kandev-wt-w046 removed (content already in main; git cherry empty); local branch kd/w046-monthly-reset-retry deleted. No blocked_by follow-up tasks to release. Remaining, operations-owned: the persisted production circuit for DP-DeepSeek Flash is not released by the code fix; hand off to operations. Follow-up suggestion: none from this task.

KANDEV-W-046 integration/cleanup complete. No W-046 PR exists: the goal was already satisfied by the owner merged PR #161 (commit 5044ffd186, merged 2026-10-07T21:17:43Z), so nothing was merged here. Cleanup: common checkout main fast-forwarded 4854da0f69 to 5c122c572c (origin/main); task worktree D:\260720_Ai_Workspace_Tools\kandev-wt-w046 removed (content already in main; git cherry empty); local branch kd/w046-monthly-reset-retry deleted. No blocked_by follow-up tasks to release. Remaining, operations-owned: the persisted production circuit for DP-DeepSeek Flash is not released by the code fix; hand off to operations. Follow-up suggestion: none from this task.
Author
Owner

[KANDEV-W-046] 판정: 이미 반영(구현 불필요). 근거 커밋 5044ffd186 = PR #161 dreampiler/kandev, 병합 커밋 2c6a6edb25 (origin/main 조상). 같은 날 리셋 직후 renewal lag: routingerr.go:204-215 RenewalAt 파싱, renewal.go:23-48 (당일은 이미 시작됨), suspension_policy.go:67 renewalLagLadder 30m/1h, :208-210 적용, :225-227 renewalDue. 다음 날 이후 월간 차단 유지: suspension_policy.go:231-236 capAtRenewal, :246-267 ladderUntil. 동행 시험 renewal_lag_test.go:30-99 3건. 로컬 검증 go test dynamic -run TestRenewalDueNotice|TestFutureRenewalDay ok, routingerr renewal 5/5 PASS. 구현·PR 없음.

[KANDEV-W-046] 판정: 이미 반영(구현 불필요). 근거 커밋 5044ffd186 = PR #161 dreampiler/kandev, 병합 커밋 2c6a6edb25 (origin/main 조상). 같은 날 리셋 직후 renewal lag: routingerr.go:204-215 RenewalAt 파싱, renewal.go:23-48 (당일은 이미 시작됨), suspension_policy.go:67 renewalLagLadder 30m/1h, :208-210 적용, :225-227 renewalDue. 다음 날 이후 월간 차단 유지: suspension_policy.go:231-236 capAtRenewal, :246-267 ladderUntil. 동행 시험 renewal_lag_test.go:30-99 3건. 로컬 검증 go test dynamic -run TestRenewalDueNotice|TestFutureRenewalDay ok, routingerr renewal 5/5 PASS. 구현·PR 없음.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dreampiler/kandev#45