Skip to content

feat(queue): raise review feed to 600/hour - #955

Merged
steipete merged 1 commit into
mainfrom
feat/raise-review-feed-rate
Jul 30, 2026
Merged

steipete merged 1 commit into
mainfrom
feat/raise-review-feed-rate

Conversation

@steipete

Copy link
Copy Markdown
Contributor

With the review/publication lane split (#953) deployed, the queue drains to zero pending while active sits at 18 of 128 slots — the feed, not the queue, is now the limiter. Coverage is 42.9% with 3,306 items never reviewed. 600/h at the measured 4.1-min service time targets ~41 concurrent and clears the first-pass backlog in hours rather than a day and a half; burst 120 and pending soft limit 600 scale with it. Model spend scales with this dial — revert by lowering the same three vars. Tests 265/265, autoreview clean.

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal priority bug or improvement with limited blast radius. merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. labels Jul 30, 2026
@clawsweeper

clawsweeper Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 30, 2026, 5:29 AM ET / 09:29 UTC.

ClawSweeper review

What this changes

The PR raises the dashboard worker’s exact-review feed defaults from 200 to 600 reviews per hour, with matching burst and pending-limit increases plus a configuration test update.

Merge readiness

⛔ Blocked until real behavior proof is added - 5 items remain

Keep this PR open for a capacity-alignment correction and real after-fix proof. The proposed rate increase is not yet shown to deliver its stated 600/hour result because current main also caps the exact-review queue at 28 concurrent claims; at the PR’s reported 4.1-minute service time, that ceiling is roughly 410 completions/hour before per-target limits.

Priority: P2
Reviewed head: a00a9f766840a19285245060ff3ec4d65266c5a5
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The patch is narrowly scoped, but a material capacity mismatch and absent real behavior proof prevent a merge-ready rating.
Proof confidence 🧂 unranked krab (1/6) Needs real behavior proof before merge: The PR body reports tests and autoreview, but it does not include redacted after-fix staging or live queue output showing effective admission, concurrency, and backlog behavior; add that proof to the PR body and a fresh ClawSweeper review should follow. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Needs proof Needs real behavior proof before merge: The PR body reports tests and autoreview, but it does not include redacted after-fix staging or live queue output showing effective admission, concurrency, and backlog behavior; add that proof to the PR body and a fresh ClawSweeper review should follow. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 5 items Current concurrency ceiling: Current main config retains a 28-job exact-review queue ceiling and a 24-job per-target ceiling. Those limits are materially below the approximately 41 concurrent reviews claimed by the PR rationale.
Proposed rate change: The branch raises the hourly token target to 600 and burst to 120 without changing the queue concurrency ceilings that determine sustainable parallel execution.
Configuration-only test coverage: The changed test verifies the new literal values, but it does not demonstrate that the configured queue can sustain the stated rate or reaches the claimed concurrency.
Findings 1 actionable finding [P2] Align the 600/hour target with the queue ceiling
Security None None.

How this fits together

The dashboard Worker’s exact-review queue admits scheduled and recovery review jobs, applies token-rate and pending-pressure gates, and then claims work for review execution. Its configuration determines how quickly repository items enter review while the queue’s concurrency ceilings bound actual parallel work and model spend.

flowchart LR
  A[Scheduled and recovery reviews] --> B[Exact review queue]
  B --> C[Rate, burst, and pending gates]
  C --> D[Queue concurrency limits]
  D --> E[Review execution claims]
  E --> F[Published review results]
Loading

Decision needed

Question Recommendation
Should the review system remain bounded by the existing 28 concurrent exact-review jobs and use a rate that saturates that budget, or should maintainers intentionally raise concurrency to pursue the stated 600/hour target? Align rate to the current ceiling: Choose a measured rate and burst that sustain the existing 28-job queue budget, and prove it with after-fix staging or live queue output.

Why: The choice changes operational concurrency, backlog-drain behavior, and model spend; the current diff changes pacing but not the configured concurrency ceiling, so source inspection cannot safely select the intended operating budget.

Before merge

  • Add real behavior proof - Needs real behavior proof before merge: The PR body reports tests and autoreview, but it does not include redacted after-fix staging or live queue output showing effective admission, concurrency, and backlog behavior; add that proof to the PR body and a fresh ClawSweeper review should follow. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Align the 600/hour target with the queue ceiling (P2) - The branch claims that 600/hour needs about 41 concurrent reviews, but current config still caps the exact-review queue at 28 jobs (and 24 per target). At the stated 4.1-minute service time that caps sustained completions near 410/hour before per-target limits, so this rate-only change cannot demonstrate its stated outcome. Either set a rate that matches the chosen ceiling or intentionally raise and validate the relevant ceilings.
  • Resolve merge risk (P1) - With the existing 28-job queue ceiling, a 600/hour token target may not produce the claimed 600/hour or roughly 41 concurrent reviews; raising it without an aligned capacity decision and runtime proof can instead change queue pressure and model spend without the intended backlog-drain result.
  • Complete next step (P2) - A maintainer must choose the intended concurrency and spend budget before a mechanical correction can be safely made; the contributor also needs current runtime proof for the chosen target.

Findings

  • [P2] Align the 600/hour target with the queue ceiling — dashboard/wrangler.toml:73
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Configuration surface 3 queue controls raised; 1 assertion block updated The diff is narrowly scoped, so the unresolved question is whether those three values agree with the existing execution ceiling rather than broad implementation complexity.

Merge-risk options

Maintainer options:

  1. Validate and align effective capacity (recommended)
    Measure the configured queue under representative backlog, then revise the rate or deliberately raise the concurrency cap so the selected settings and expected throughput agree.
  2. Pause for an explicit operating-budget choice
    Hold the tuning change until maintainers choose the intended concurrency and spend envelope for backlog burn-down.

Technical review

Best possible solution:

Choose a sustainable rate and burst that match the intended concurrency budget, or deliberately raise the concurrency limits with focused overload safeguards; then show redacted staging or live queue output proving the selected configuration reaches the intended admission behavior.

Do we have a high-confidence way to reproduce the issue?

Not applicable as a bug reproduction: this PR is an operational capacity tuning change. Source comparison provides a high-confidence static check that the stated 41-concurrency target exceeds the current 28-job queue ceiling.

Is this the best way to solve the issue?

No. Raising the token rate alone does not establish the intended effective throughput while the existing concurrency cap remains lower than the stated target; an aligned operating-budget decision and runtime proof are safer.

Full review comments:

  • [P2] Align the 600/hour target with the queue ceiling — dashboard/wrangler.toml:73
    The branch claims that 600/hour needs about 41 concurrent reviews, but current config still caps the exact-review queue at 28 jobs (and 24 per target). At the stated 4.1-minute service time that caps sustained completions near 410/hour before per-target limits, so this rate-only change cannot demonstrate its stated outcome. Either set a rate that matches the chosen ceiling or intentionally raise and validate the relevant ceilings.
    Confidence: 0.9

Overall correctness: patch is incorrect
Overall confidence: 0.87

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 85ef42e5bf97.

Labels

Label changes:

  • add P2: This is a bounded operational-capacity change that can materially alter review throughput and model spend but does not show a current user-facing outage.
  • add merge-risk: 🚨 automation: The PR changes exact-review admission pacing, burst, and queue-pressure behavior used by the review automation pipeline.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦐 gold shrimp.
  • add status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR body reports tests and autoreview, but it does not include redacted after-fix staging or live queue output showing effective admission, concurrency, and backlog behavior; add that proof to the PR body and a fresh ClawSweeper review should follow. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Label justifications:

  • P2: This is a bounded operational-capacity change that can materially alter review throughput and model spend but does not show a current user-facing outage.
  • merge-risk: 🚨 automation: The PR changes exact-review admission pacing, burst, and queue-pressure behavior used by the review automation pipeline.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR body reports tests and autoreview, but it does not include redacted after-fix staging or live queue output showing effective admission, concurrency, and backlog behavior; add that proof to the PR body and a fresh ClawSweeper review should follow. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

What I checked:

  • Current concurrency ceiling: Current main config retains a 28-job exact-review queue ceiling and a 24-job per-target ceiling. Those limits are materially below the approximately 41 concurrent reviews claimed by the PR rationale. (dashboard/wrangler.toml:396, 85ef42e5bf97)
  • Proposed rate change: The branch raises the hourly token target to 600 and burst to 120 without changing the queue concurrency ceilings that determine sustainable parallel execution. (dashboard/wrangler.toml:73, a00a9f766840)
  • Configuration-only test coverage: The changed test verifies the new literal values, but it does not demonstrate that the configured queue can sustain the stated rate or reaches the claimed concurrency. (test/dashboard-worker.test.ts:54, a00a9f766840)
  • Related queue-admission history: The merged predecessor fix: unthrottle exact review admission #953 separated review admission from publication pressure and documented the prior 200/hour pacing; this PR is a follow-on tuning change rather than the same fix. (6ac2cce7f3c7)
  • Repository review policy: The repository policy requires focused validation and current real-behavior proof for code-bearing changes; the PR body reports tests and autoreview but no after-fix live or staging queue evidence. (AGENTS.md, 85ef42e5bf97)

Likely related people:

  • steipete: Authored the merged queue-admission split that established the reviewed pacing context and is the only concrete history signal provided for this configuration surface. (role: recent queue-admission contributor; confidence: medium; commits: 6ac2cce7f3c7; files: dashboard/wrangler.toml, test/dashboard-worker.test.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Decide whether the existing 28-job cap or a higher concurrency budget is intended.
  • Add redacted after-fix staging or live queue evidence that shows admission rate, active claims, and backlog behavior at the selected settings.
  • Update the literal-only test or add focused coverage for the chosen effective-capacity contract.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete
steipete merged commit ff53b35 into main Jul 30, 2026
18 checks passed
@steipete
steipete deleted the feat/raise-review-feed-rate branch July 30, 2026 09:31
azaj01 pushed a commit to azaj01/clawsweeper that referenced this pull request Sep 21, 2026
…nclaw#955)

Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. P2 Normal priority bug or improvement with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant