Repository navigation
Reviewer: review every pull request, a per-repo trigger - #898
Merged
Merged
Conversation
Contributor
|
💚 Post-merge health check passed: the deploy of
|
Each repo's review config gets `trigger` next to `label`: "label" (the default, so existing repos review exactly what they did) or "every_pr". With every_pr, a person's or a bot's pull request opened, reopened, marked ready for review or pushed to is reviewed with no label, through the same path a labelled one takes: drafts wait for ready, one review per head, the token limit, the stale-commit checks. The label still asks by hand. CoderHelm's own pull requests follow the label its PR maker adds, so they are never reviewed twice. An edited description re-reviews the same pull requests a push does, and the merge gate's status comment covers pull requests every_pr opted in. Incident case wk_every_pr_reviewed.
nambok
force-pushed
the
review-every-pr
branch
from
November 30, 2026 00:51
f443611 to
94f5739
Compare
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.
Summary
A per-repo setting so the reviewer can review every pull request, with no label needed. Each repo's review config gets
triggernext tolabel:label(the default, so every existing repo reviews exactly what it did) orevery_pr. The dashboard control is in CoderHelm/coderhelm#502.Changes
common::review_config:Trigger(label|every_pr, unknown values read aslabel), saved and shown with the rest of the config, and the pureasks_reviewdecision.handle_review_triggeraskspr_event_asks_review. Withevery_pr, a pull request opened, reopened, marked ready for review or pushed to is reviewed, labelled or not. Everything after that is the labelled path unchanged: the draft gate, the per-head claim, the token limit and the onesend_review_job. The label still works as a manual ask.@coderhelm reviewstill works on a draft for an early look).every_prnever reviews them twice.description_review), and the merge gate's status comment covers pull requestsevery_propted in (await_merge).wk_every_pr_reviewed(test and page).Verification
cargo fmt --all --check,rustfmt --check --edition 2021 worker/src/passes/incidents/*.rs: clean.cargo clippy -p common -p worker -p gateway --all-targets -- -D warnings: clean.cargo test -p common -p worker -p gateway: all pass, including the new gateway webhook tests (opened, reopened, ready_for_review, synchronize, draft, CoderHelm's own pull request, a dependency bot, the label as a manual ask), the config round trip, and the incident case.