Skip to content

fix: restored dormant window priming - #200

Merged
jacobcxdev merged 1 commit into
mainfrom
jacobcxdev/fix/window-priming
Sep 12, 2026
Merged

jacobcxdev merged 1 commit into
mainfrom
jacobcxdev/fix/window-priming

Conversation

@jacobcxdev

@jacobcxdev jacobcxdev commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Quota resets can reopen dormant weekly windows before the previous verified reset date. The primer now permits a confirmed newer dormant epoch while preserving duplicate protection for admitted and unresolved requests, including after restart.

  • Excluded the backend-gated gpt-reserve pool from proactive priming; ordinary windows remain eligible and unknown pools still report resolution errors.
  • Added regression coverage for early reset recovery, restart persistence, earlier-epoch replay protection and reserve exclusion.

Validation: go test -race -count=1 ./..., go build ./... and go vet ./... passed. Independent code review found no actionable issues. Live upstream routing, continuity, latency and degraded rescue passed on the merged commit and packaged executable. Deployed v0.32.8 locally; installed binary hash matched the tested package. Fresh weekly reset timestamps remained fixed, primer error cleared, and production probes returned HTTP 200 and WebSocket 101 with zero errors.

- Allowed newer dormant epochs after verified quota resets.
- Preserved duplicate protection across restarts.
- Excluded backend-gated reserve quota from proactive priming.
@jacobcxdev jacobcxdev self-assigned this Sep 12, 2026
@jacobcxdev
jacobcxdev merged commit 89f6006 into main Sep 12, 2026
6 checks passed
@jacobcxdev
jacobcxdev deleted the jacobcxdev/fix/window-priming branch September 12, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant