ci: upgrade pr-reviewer-action to v1.2.0 (routing + escalation)#201
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Collaborator
Author
|
Follow-up grounded in the actual LiteLLM config (home-ops
|
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
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 is a routine dependency bump to upgrade the AI PR reviewer action to a newer version (v1.2.2).
Change-by-change findings
.github/workflows/ai-pr-review.yaml: Updatedmisospace/pr-reviewer-actionfromv1.2.1(SHA87d01c8...) tov1.2.2(SHAe891235...). This aligns with the release notes provided in the PR description.
Standards Compliance
- Dependency Management: The PR correctly pins the action to a specific commit SHA (
e891235e8e3e75824b88fb696b1f7b4816122737), which is a best practice for CI stability. - Repository Conventions: No violations of
AGENTS.mdor other repository standards were found.
Linked Issue Fit
- The PR description explicitly states the purpose is to upgrade the workflow to
v1.2.0(and the diff shows the subsequentv1.2.2update), adopting new routing and reliability features. The implementation matches the intent.
Unknowns or Needs Verification
- None. The change is a straightforward version bump of a GitHub Action.
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; the conservative
tool_allowed_gh_api_reposrestriction is kept as-is.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