Skip to content

Commit 985651b

Browse files
authored
Revert "perf(queue): restore exact-review feed rate to 600/h (#1065)" (#1066)
This reverts commit 7784c9b.
1 parent 7784c9b commit 985651b

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎dashboard/wrangler.toml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ EXACT_REVIEW_WORKFLOW_PAUSED_RETRY_MS = "60000"
6565
EXACT_REVIEW_DISPATCH_DEBOUNCE_MS = "90000"
6666
EXACT_REVIEW_DISPATCH_DEBOUNCE_MAX_MS = "180000"
6767
EXACT_REVIEW_PENDING_SOFT_LIMIT = "600"
68-
# Model spend scales with this dial. 600/h previously saturated the GitHub App
69-
# installation token budget (installation 122230863 rate-limit 403s, 2026-07-30)
70-
# and was trimmed to 450/h. Restored to 600/h on 2026-08-08 after apply-guard
71-
# read memoization (#1060) cut per-item API cost and the read-pool split
72-
# (#1062/#1064) moved router/public reads onto the per-repo Actions token pool,
73-
# leaving the App bucket to memoized review hydration and writes. Telemetry
74-
# after #1064: ~336 ok reviews/h with near-empty throttle backoff at the 450
75-
# cap. If installation 403s recur, trim here first.
76-
EXACT_REVIEW_TARGET_RATE_PER_HOUR = "600"
68+
# 200/h only sustained ~14 concurrent reviews against a 128-slot pool; with the
69+
# review/publication lane split (#953) the queue drains to zero pending while
70+
# 3,306 items have never been reviewed at all (42.9% weekly coverage). Model
71+
# spend scales with this dial. 600/h saturated the GitHub App installation
72+
# token budget once the apply and comment-sync lanes resumed alongside reviews
73+
# (installation 122230863 rate-limit 403s, 2026-07-30 16:56Z): at ~30 API calls
74+
# per review, 450/h leaves the write lanes headroom inside the shared allowance
75+
# while still clearing the first-pass backlog in about a day.
76+
EXACT_REVIEW_TARGET_RATE_PER_HOUR = "450"
7777
EXACT_REVIEW_TARGET_BURST = "120"
7878
# Keep each mutation lease at 8 while allowing four isolated workflows to prepare
7979
# concurrently. Final commits still cross the single state-writer coordinator.

‎test/dashboard-worker.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ test("production doubles exact review claims and canonical publication batches",
172172
assert.match(wrangler, /EXACT_REVIEW_PUBLICATION_BATCH_SIZE = "8"/);
173173
assert.match(wrangler, /EXACT_REVIEW_PUBLICATION_BATCH_MAX_CONCURRENT = "8"/);
174174
assert.match(wrangler, /EXACT_REVIEW_PUBLICATION_BATCH_DISPATCH_COOLDOWN_MS = "5000"/);
175-
assert.match(wrangler, /EXACT_REVIEW_TARGET_RATE_PER_HOUR = "600"/);
175+
assert.match(wrangler, /EXACT_REVIEW_TARGET_RATE_PER_HOUR = "450"/);
176176
assert.match(wrangler, /EXACT_REVIEW_TARGET_BURST = "120"/);
177177
assert.match(wrangler, /EXACT_REVIEW_PENDING_SOFT_LIMIT = "600"/);
178178
});

0 commit comments

Comments
 (0)