Skip to content

Commit a00a9f7

Browse files
feat(queue): raise review feed to 600/hour for backlog burn-down
1 parent 6ac2cce commit a00a9f7

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

‎dashboard/wrangler.toml‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,14 @@ EXACT_REVIEW_HEARTBEAT_GRACE_MS = "1200000"
6363
EXACT_REVIEW_WORKFLOW_PAUSED_RETRY_MS = "60000"
6464
EXACT_REVIEW_DISPATCH_DEBOUNCE_MS = "90000"
6565
EXACT_REVIEW_DISPATCH_DEBOUNCE_MAX_MS = "180000"
66-
EXACT_REVIEW_PENDING_SOFT_LIMIT = "300"
67-
EXACT_REVIEW_TARGET_RATE_PER_HOUR = "200"
68-
EXACT_REVIEW_TARGET_BURST = "50"
66+
EXACT_REVIEW_PENDING_SOFT_LIMIT = "600"
67+
# 200/h only sustained ~14 concurrent reviews against a 128-slot pool; with the
68+
# review/publication lane split (#953) the queue drains to zero pending while
69+
# 3,306 items have never been reviewed at all (42.9% weekly coverage). 600/h at
70+
# the measured 4.1-minute service time targets ~41 concurrent, clearing the
71+
# first-pass backlog in hours instead of days. Model spend scales with this dial.
72+
EXACT_REVIEW_TARGET_RATE_PER_HOUR = "600"
73+
EXACT_REVIEW_TARGET_BURST = "120"
6974
# Keep each mutation lease at 8 while allowing four isolated workflows to prepare
7075
# concurrently. Final commits still cross the single state-writer coordinator.
7176
# A full-window publish moves ~2k paths and observed ~40 min; the drain lease

‎test/dashboard-worker.test.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ test("production doubles exact review claims and canonical publication batches",
5454
assert.match(wrangler, /EXACT_REVIEW_ACTIONS_BUDGET = "194"/);
5555
assert.match(wrangler, /EXACT_REVIEW_PUBLICATION_BATCH_SIZE = "8"/);
5656
assert.match(wrangler, /EXACT_REVIEW_PUBLICATION_BATCH_MAX_CONCURRENT = "8"/);
57-
assert.match(wrangler, /EXACT_REVIEW_TARGET_RATE_PER_HOUR = "200"/);
58-
assert.match(wrangler, /EXACT_REVIEW_TARGET_BURST = "50"/);
57+
assert.match(wrangler, /EXACT_REVIEW_TARGET_RATE_PER_HOUR = "600"/);
58+
assert.match(wrangler, /EXACT_REVIEW_TARGET_BURST = "120"/);
59+
assert.match(wrangler, /EXACT_REVIEW_PENDING_SOFT_LIMIT = "600"/);
5960
});
6061

6162
test("full exact-review admission preserves production verdict publication capacity", () => {

0 commit comments

Comments
 (0)