Repository navigation
ci: OCR review stops losing its CLI mid-run; drop the retry that never saved one - #630
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
✅ OpenCodeReview: Review complete: 0 finding(s) across 1 selected item(s). |
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.
The OCR review job sometimes died before reviewing anything with
Error: Cannot find module '/usr/local/bin/ocr'(or exit 127). Our retry step did not help: in the last 40 runs both failures were this error, and the retry failed both times too. The cause was the CLI's background self-updater. Our CLI pin (1.12.6) was older than npm latest, so every run started annpm i -gthat removed theocrbin mid-job. Action v1.13.4 disables the updater inside the action (alibaba/open-code-review#1204), and #627 just bumped us to v1.13.7.code-reviewis not a required check, so if the flake comes back it cannot block merges.Proof: actionlint 1.7.7 is clean, and this PR's own
code-reviewrun uses the new CLI 1.13.7 and completes.Reviewed with sol-loop: 1 round with gpt-6.1-sol. Sol verdict: approved
Claude Opus 5.5 on behalf of Max