Repository navigation
Bring the AI-review callers up to main, and stop any label triggering a review - #839
Merged
Merged
Conversation
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
Contributor
📊 Benchmark Resultsget-sync.bench.tsgetSync() > random keys - small key size (100 records)
getSync() > sequential keys - small key size (100 records)
ranges.bench.tsgetRange() > small range (100 records, 50 range)
realistic-load.bench.tsRealistic write load with workers > write variable records with transaction log
transaction-log.bench.tsTransaction log > read 100 iterators while write log with 100 byte records
Transaction log > read one entry from random position from log with 1000 100 byte records
worker-put-sync.bench.tsputSync() > random keys - small key size (100 records, 10 workers)
worker-transaction-log.bench.tsTransaction log with workers > write log with 100 byte records
Results from commit ef6fd3d |
… a review
Two problems, found while auditing CI review coverage for the 2026-09-05 DLC
post-mortem.
**The pin is two months stale.** These callers pin ai-review-prompts at
1255f2e1 (main, 2026-07-10) while harper and harper-pro are both on af81872e
(main, 2026-09-01). Everything that moves together moves through that pin —
workflow logic, layer files, bash scripts, auth-gate behavior — so this repo has
been reviewing against July's lenses and July's auth gate. Bumped in all three
callers (claude-review, gemini-review, validate-caller-workflows), both the
`uses:` ref and the paired `ai-review-prompts-ref`.
Checked before bumping: between the two refs the reusables add only OPTIONAL
inputs (effort, effort-by-size, debounce-seconds, skip-when-only,
expected-review-author). No new required input and no new required secret, and
these callers already pass every required one.
**Any label fired a full review.** The gate was:
types: [..., labeled]
if: vars.CLAUDE_ALWAYS_ON == 'true' || github.event.action == 'labeled'
so adding ANY label to ANY PR — `dependencies`, `wip`, anything — triggered a
complete AI review. The label gesture is supposed to admit the `claude-review` /
`gemini-review` label specifically. Replaced with harper's maintained gate, which
matches the label by NAME and additionally admits `ready_for_review` while the
opt-in label is still on the PR, so a draft that opted in resumes review when it
flips ready even with the always-on variable unset.
Note this does NOT turn on always-on review here: `CLAUDE_ALWAYS_ON` /
`GEMINI_ALWAYS_ON` are still unset at repo level, so both remain opt-in via
label. That is a repo-variable change, deliberately left to a human.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Keep GitHub Actions on the last known-green pnpm version instead of resolving the mutable latest tag across major versions. Co-Authored-By: GPT-5 Codex <noreply@openai.com>
Remove legacy caller-level concurrency after adopting the reusable workflows' post-authorization cancellation. This prevents unrelated label events from cancelling an admitted review before the caller job gate skips the replacement. Co-Authored-By: GPT-5 Codex <noreply@openai.com>
Document that callers prefilter provider labels while the reusable workflows retain final authorization. Co-Authored-By: GPT-5 Codex <noreply@openai.com>
Co-Authored-By: GPT-5 Codex <noreply@openai.com>
Co-Authored-By: GPT-5 Codex <noreply@openai.com>
kriszyp
force-pushed
the
kris/bump-ai-review-pin
branch
from
September 8, 2026 23:44
8ba4702 to
f2e2d85
Compare
cb1kenobi
reviewed
Sep 11, 2026
Remove the twelve workflow-local pnpm pins so this PR stays focused on the AI-review callers and leaves the package-manager policy to PR #844. Co-Authored-By: GPT-5 Codex <noreply@openai.com>
cb1kenobi
approved these changes
Sep 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates the Claude and Gemini review callers from the July
ai-review-promptsrevision to the September revision, restricts label events to each provider's own opt-in label, and replays a labeled draft when it becomes ready. Review feedback removed every pnpm change from this PR, leaving package-manager policy to #844 and the final diff limited to the two review callers plus their validator.For the human reviewer
claude-reviewandgemini-reviewremain one-shot gestures, withready_for_reviewas the draft replay point, rather than sticky subscriptions to every later push or reopen. Making them sticky is a one-line expression change per provider, but increases paid review frequency and should remain symmetric.af81872ewas verified as identical toai-review-promptsmain. Rollback is a paired one-SHA change in each caller.claude-*andgemini-*callers; adding consumer-side tests later is straightforward if that upstream contract proves insufficient.Changes
ready_for_review, the caller gate rejects unrelated labels, and removal of caller-level concurrency delegates cancellation to the reusable after authorization. The reusable ref and its paired checkout ref advance together.Verification
pnpm build— production bundle and native binding built successfully.pnpm check— type-check, oxlint, and oxfmt checks passed.pnpm test— 65 files passed, 1 skipped; 906 tests passed, 9 skipped.pnpm test:native— 194 tests passed across 30 suites.ready_for_reviewgates; no caller-level concurrency block remains.af81872eis identical toai-review-promptsmain; both reusable review jobs use distinct provider-and-PR concurrency groups after authorization.6aad6c36and converged with no unaddressed defect. Its one in-scope tradeoff and one pre-existing policy item are captured above.The end-to-end route is the live
Validate caller workflowscheck on this pushed head; the runtime/library tests are corroboration because this PR does not change shipped code.Complexity: medium
🤖 Generated with Claude Code; updated with Codex
Review-Coverage: authored=codex; ran=gemini,claude; adjudicated=domain; declined=cursor-grok,cursor-composer; rounds=6 @ 6aad6c3
Human-Review-Need: 3 (decisions: cancellation-ownership, opt-in-label-lifetime, atomic-reusable-upgrade, verification-strategy) @ 6aad6c3