ci: auto code review on PRs via OpenCodeReview (free tier) - #109
Merged
Conversation
| # Keep reviews fast and cheap on the diffusion model: low effort, | ||
| # low reasoning, sticky summary so re-pushes update one comment. | ||
| effort: low | ||
| llm_reasoning_effort: 'low' |
There was a problem hiding this comment.
llm_reasoning_effort is not a declared input of alibaba/open-code-review, so GitHub Actions warns and silently ignores it. Reviews therefore use the CLI's default reasoning behavior rather than the documented low-reasoning setting, defeating the intended cost and latency control.
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.
Adds .github/workflows/ocr-review.yml: every PR (opened/synchronize/reopened) triggers an Alibaba open-code-review run on GitHub-hosted runners (free for this public repo), plus on-demand re-review via
/open-code-reviewcomments.Cost design mirrors local Lynkr tiers (SIMPLE/MEDIUM/COMPLEX -> free models):
Note: pull_request_target runs the workflow from base, so this setup PR itself won't be reviewed until after merge - open any test PR after merging to see it fire.
Greptile Summary
This revision hardens the OpenCodeReview workflow by replacing mutable third-party action references with full commit SHAs and selecting an immutable OpenCodeReview CLI release.
actions/github-scriptto the commit annotated as v7.0.1.alibaba/open-code-reviewto the commit annotated as v1.12.0.ocr_versionas1.12.0.llm_reasoning_effortsetting unchanged.Confidence Score: 5/5
The latest changes appear safe to merge, although the existing non-blocking warning that
llm_reasoning_effortis ignored remains outstanding.The mutable privileged action references identified previously are now pinned and that thread was resolved. The unresolved previous finding remains valid because
llm_reasoning_effortis still supplied even though it is not a declared OpenCodeReview action input, so the intended low-reasoning cost and latency control is not applied.Files Needing Attention: .github/workflows/ocr-review.yml
Important Files Changed
Reviews (3): Last reviewed commit: "ci: pin ocr action and CLI to immutable ..." | Re-trigger Greptile