Skip to content

feat: double review throughput and weekly coverage - #937

Merged
steipete merged 1 commit into
mainfrom
feat/double-review-throughput
Jul 29, 2026
Merged

steipete merged 1 commit into
mainfrom
feat/double-review-throughput

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Summary

  • double durable exact-review admission from 64 to 128 globally and 60 to 120 per target
  • preserve verdict publication at full review load with a separate 194-slot Actions budget (128 reviews + 50 publishers + 16 reserve), and restore eight concurrent size-8 canonical publication batches now that the shared Git writer is gone
  • double fleet review fanout from 10 to 20 hot targets and 6 to 12 normal targets
  • make the weekly coverage lane eligible at six days, scan the complete bounded open inventory, and select the oldest last-review timestamps before hot-item churn
  • double automatic apply from 20 to 40 closes, 300 to 600 base scan records, 900 to 1800 adaptive records, and 10 to 20 minutes of deterministic runtime; close policies and live guards are unchanged
  • add a six-hour Actions summary for canonical items scanned in the trailing seven days versus batched live open totals across the dynamic fleet

Capacity measurement

The live inventory snapshot contained 138 eligible public repositories, 3,831 open issues, and 2,630 open pull requests: 6,461 items total. Weekly coverage requires 38.5 successful item scans/hour, or 50.0/hour with 30% headroom.

Only two real review workflows succeeded in the sampled six hours (0.33/hour). The 1,448 short successful Review event item runs were queue-ingress wrappers, not review completions. The two successful review workers took 65.5 and 86.7 minutes; 128 concurrent claims imply about 101 completions/hour at that observed service time, above the 50/hour target. Current setup-state stalls remain an operational risk to verify after rollout.

For the OpenClaw installation token, a conservative 30 calls/review and a much faster 20-minute service time gives 120 target slots x 3 reviews/hour x 30 = 10,800 calls/hour. Full-scan planning and fanout add about 1,200 calls/hour, keeping the estimate near 12,000/hour under the roughly 15,000/hour installation budget. Durable Object admission still performs only four live checks per five-second pass; the wider limits increase leased rows, not per-alarm SQLite fanout.

Proof

  • pnpm run check
  • focused scheduler, fanout, workflow, and dashboard queue tests: 357 passed
  • full dashboard queue suite: 256 passed
  • /Users/steipete/.claude/skills/autoreview/scripts/autoreview --mode local: clean, no accepted/actionable findings
  • git diff --check

Risk and rollout notes

  • GitHub does not expose the hosted-runner concurrency cap; the review lane currently uses ubuntu-latest, while the org runner API only exposes ephemeral Blacksmith inventory, not a contractual cap.
  • The new coverage summary depends on the audit job's canonical Worker hydration and caps each repository numerator at its live open total while external-close reconciliation catches up.
  • No close reason, confidence threshold, protected-label rule, snapshot drift guard, or other auto-close eligibility policy changed.

@steipete
steipete requested a review from a team as a code owner July 29, 2026 11:43
@steipete
steipete merged commit 81c4ab6 into main Jul 29, 2026
13 checks passed
@steipete
steipete deleted the feat/double-review-throughput branch July 29, 2026 11:49
azaj01 pushed a commit to azaj01/clawsweeper that referenced this pull request Sep 21, 2026
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant