Skip to content

ci: OCR review stops losing its CLI mid-run; drop the retry that never saved one - #630

Merged
sims1253 merged 1 commit into
mainfrom
ci/ocr-cli-1.13
Nov 13, 2026
Merged

sims1253 merged 1 commit into
mainfrom
ci/ocr-cli-1.13

Conversation

@sims1253

Copy link
Copy Markdown
Owner

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 an npm i -g that removed the ocr bin 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.

  Run OpenCodeReview
-   continue-on-error: true
-   ocr_version: '1.12.6'
+   ocr_version: '1.13.7'        # same release as the action
- Run OpenCodeReview (retry)     # 30 duplicated lines of inputs
- Triage OCR failure

code-review is 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-review run 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

@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: d5ec52b0-e766-4684-95c2-1aaddc41fa69
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added the size:M 30-99 changed lines outside tests label Nov 13, 2026
@github-actions

Copy link
Copy Markdown

✅ OpenCodeReview: Review complete: 0 finding(s) across 1 selected item(s).

@sims1253
sims1253 merged commit 25bad70 into main Nov 13, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines outside tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant