ci: upgrade pr-reviewer-action to v1.2.0 (routing + escalation)#344
Merged
Conversation
Contributor
Author
|
Follow-up grounded in the actual LiteLLM config (home-ops
|
Rebuilt on current main (renovate pin bump landed underneath). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
b46a721 to
30196bd
Compare
Superseded by a newer automated review for this pull request.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Superseded by a newer automated review for this pull request.
There was a problem hiding this comment.
AI Automated Review
Incremental review: reviewed changes since the last managed review. This is not a full re-review of the entire PR.
Analysis engine: review@https://litellm.jory.dev/v1 (openai) (incremental delta review)
Recommendation
Approved. This PR performs a minor version bump of the pr-reviewer-action from v1.2.1 to v1.2.2. Based on the provided release notes for v1.2.0 and the incremental diff, this is a routine dependency update to a newer patch/minor version within the same feature set.
Change-by-change findings
.github/workflows/ai-pr-review.yaml
- Updated
uses: misospace/pr-reviewer-action@...fromv1.2.1SHA tov1.2.2SHA (e891235e8e3e75824b88fb696b1f7b4816122737).
Standards Compliance
- Dependency Updates: The update follows the repository's semver-based release process. The PR description notes that
v1.2.0was feature-heavy and backward-compatible, and this bump tov1.2.2is a subsequent minor update. - CI/Lint: No changes to the build or linting logic were detected; only the action version was updated.
Linked Issue Fit
- The PR title and body indicate this is a CI maintenance task to adopt the latest features and reliability improvements from the
pr-reviewer-actionrelease. It aligns with the goal of maintaining the AI PR review workflow.
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.
Upgrades the AI PR review workflow to pr-reviewer-action v1.2.0 and adopts the new routing/reliability features.
Repo character: application code — routing sends routine changes to the fast model; auth/route/secret-touching changes go to the smart model.
What changed and why
ff03870). Feature-heavy release: model routing + escalation, structured findings, required-check validation, incremental-review and CI-wait fixes, large context/perf work. All backward-compatible.review_routing_mode: auto— PRs are classified deterministically; low-risk ones (e.g. routine dependency bumps) go to the fast model, risk-flagged ones (auth, secrets, migrations, public routes, linked security issues) go straight to the smart model. Fast stays your currentPRIMARY_MODEL. Smart is wired asvars.SMART_MODEL || vars.FALLBACK_MODEL— no new vars are required; it uses your fallback model until you optionally add aSMART_MODEL(andSMART_FORMATif it differs) repo variable pointing at a bigger model.on_model_failure: notice+ retries 8 → 3 — when the homelab endpoint is down, instead of hammering it (~8 attempts with backoff) and leaving a red check with no explanation, the action now tries 3 times, then posts a visible "review could not run" notice as request_changes. Faster feedback, never silently approves.inline_findings: "true"— findings that anchor to a diff line are posted as native line-anchored review comments (capped at 20) instead of only prose in the review body.verdict_policy: findings_severity_gated— the approve/request-changes verdict is now derived deterministically from the structured findings (request_changes iff any blocker-severity finding) instead of trusting the model's mood, since this repo publishes native review verdicts. Falls back to the model verdict when no findings are returned.Now-active defaults worth knowing (no config needed)
review_scope: auto— full review first, then incremental reviews of just the new commits on later pushes. Significant token savings on long-lived PRs.validate_required_checks: auto(modewarn) — risky PRs get classifier-derived required checks; reviews that never address them get a visible "Unaddressed required checks" section.Choices for you (left out on purpose — flag if you want any)
SMART_MODELrepo variable — add it to route risky PRs/escalations to a stronger model than your current fallback. Without it, smart =FALLBACK_MODEL.model_context_tokens— if the models behind your LiteLLM endpoint have small context windows (8k–32k local models), set this to the real window and the action right-sizes the corpus instead of using the coarsecontext_limit_mode: normal(~55–70k tokens). I don't know your per-model windows, so I didn't guess.ai_response_format: json_object— helps small local models emit parseable JSON, but errors on backends that don't support it; only enable if you know the models behind LiteLLM accept it.ci_status_check: "true"— waits (up to 5 min) for CI before reviewing so the review can see CI state. Adds latency to every review; worth it only if you want the reviewer gating on test results.required_check_validation_mode: fail— make unaddressed required checks block instead of warn.🤖 Generated with Claude Code