Skip to content

build(deps): bump alibaba/open-code-review from 1.12.8 to 1.12.9 - #4654

Merged
SmittieC merged 1 commit into
mainfrom
dependabot/github_actions/alibaba/open-code-review-1.12.9
Oct 1, 2026
Merged

SmittieC merged 1 commit into
mainfrom
dependabot/github_actions/alibaba/open-code-review-1.12.9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2026

Copy link
Copy Markdown
Contributor

Bumps alibaba/open-code-review from 1.12.8 to 1.12.9.

Release notes

Sourced from alibaba/open-code-review's releases.

v1.12.9

🐛 Bug Fixes

  • fix(session): preserve findings across file renames (#1529)
  • fix(config): preserve unknown JSON fields during config updates (#1508)
  • fix(review): keep git stderr out of --commit background (#1467)
  • fix(ci): pin workflow action references to full commit SHAs (#856)
  • fix(viewer): wrap long session metadata on mobile (#1458)

📖 Documentation

  • docs(agents): add guideline to comment sparingly and explain why (#1534)

Other Changes

  • security: validate credential commands and expand .gitattributes binary markers (#1291)
  • Fix/gitlab multiline comments and suggestions (#1000)
  • test: stabilize token boundary fixtures (#1015)
  • test(diff): guard quoted-path parsing through a real git subprocess (#1516)

Full Changelog: alibaba/open-code-review@v1.12.8...v1.12.9

Commits
  • bccbc15 docs(agents): add guideline to comment sparingly and explain why (#1534)
  • e333b0b security: validate credential commands and expand .gitattributes binary marke...
  • 2e4896b fix(session): preserve findings across file renames (#1529)
  • 3f8d63d Fix/gitlab multiline comments and suggestions (#1000)
  • 6d17aa4 fix(config): preserve unknown JSON fields during config updates (#1508)
  • 64e0e15 fix(review): keep git stderr out of --commit background (#1467)
  • f651412 fix(ci): pin workflow action references to full commit SHAs (#856)
  • 57fd9be fix(viewer): wrap long session metadata on mobile (#1458)
  • 7003e01 test: stabilize token boundary fixtures (#1015)
  • 01cf7ff test(diff): guard quoted-path parsing through a real git subprocess (#1516)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [alibaba/open-code-review](https://github.com/alibaba/open-code-review) from 1.12.8 to 1.12.9.
- [Release notes](https://github.com/alibaba/open-code-review/releases)
- [Commits](alibaba/open-code-review@5c7b383...bccbc15)

---
updated-dependencies:
- dependency-name: alibaba/open-code-review
  dependency-version: 1.12.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Oct 1, 2026
@claude

claude Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

🔍 Dependency Analysis Summary

Package Ecosystem Old → New Type
alibaba/open-code-review github-actions 1.12.8 → 1.12.9 (5c7b383 → bccbc15) PATCH

Risk: LOW — no breaking changes, no action-input changes, no config migration.

Merge recommendation: REVIEW_NEEDED — not because the bump is risky, but because as written it is a no-op. One extra line makes it do what it claims.


⚠️ Primary finding: ocr_version was left at 1.12.8, so this PR changes no behaviour

.github/workflows/ocr-review.yml now reads:

uses: alibaba/open-code-review@bccbc15f785269400735d5255540c231e6c02b6d # v1.12.9
with:
  ocr_version: '1.12.8'   # ← unchanged

Three verified facts combine here:

  1. action.yml is unchanged between v1.12.8 and v1.12.9. The last commit touching it (e080583, "honor an explicit llm_protocol") is an ancestor of v1.12.8 (compare e080583...v1.12.8 → status: ahead, behind_by: 0). I also fetched action.yml at both SHAs — the same 34 inputs, identically defined.
  2. Every behavioural fix in v1.12.9 is in the Go CLI, not the wrapper. E.g. 2e4896b ("preserve findings across file renames") touches cmd/opencodereview/session_cmd.go, internal/session/compare.go, internal/viewer/handler.go.
  3. The CLI version is selected solely by ocr_version, whose upstream description is "npm version spec for @alibaba-group/open-code-review" (default latest). The action npm is the CLI at run time.

So moving the SHA pin while leaving ocr_version: '1.12.8' installs the same 1.12.8 CLI through a byte-identical wrapper. Reviews behave exactly as before; none of the advertised fixes land.

This also falsifies the invariant the file documents about itself at lines 29–30:

# alone does not freeze behaviour — ocr_version is pinned to the same release

After this PR the two are one release apart.

This will recur on every OCR bump. Dependabot's github-actions ecosystem only rewrites uses: refs; it never reads or updates with: input values. It cannot see this coupling.

Suggested fix

          ocr_version: '1.12.9'

Bump to 1.12.9, not to latest/1.12.11. .github/dependabot.yml sets cooldown.default-days: 7 for github-actions, and the config comment explains why: "a freshly published release has time to be found malicious and unpublished before we adopt it." v1.12.9 shipped 2026-09-22 (9 days ago, past cooldown); v1.12.10 and v1.12.11 shipped Sep 28/29 and are still inside it. Jumping to latest would bypass a deliberate supply-chain guard — expect Dependabot to offer those once cooldown elapses.


📋 Changelog review — v1.12.9

All CLI-side; relevant only once ocr_version is bumped.

🐛 Bug fixes

  • #1529 preserve findings across file renames — relevant: this repo runs incremental: 'false' + sticky_summary: 'true', so renames in a PR currently risk dropped/duplicated findings in the summary
  • #1508 preserve unknown JSON fields during config updates
  • #1467 keep git stderr out of --commit background
  • #1458 wrap long session metadata on mobile (viewer UI only)
  • #856 pin upstream's own workflow actions to full SHAs (hygiene in their repo; no effect here)

🔐 Security

  • #1291 validate credential commands; expand .gitattributes binary markers. Hardening, not a CVE — no advisory, and ANTHROPIC_API_KEY is passed via llm_auth_token, not a credential helper.

Other: GitLab multiline comments/suggestions (#1000, unused — this is GitHub); test stabilization (#1015, #1516).

Breaking changes: none. No inputs added, removed, or renamed, so the existing with: block stays valid as-is.


🧩 Secondary note: OCR_NO_UPDATE is load-bearing (pre-existing, not a regression)

The header comment at lines 32–37 warns that once the registry holds a release newer than the pinned ocr_version, an ocr call can trigger npm i -g, unlinking the global launcher mid-run → ocr: command not found (exit 127).

That condition is already true on main today: npm latest for @alibaba-group/open-code-review is 1.12.11, ahead of the 1.12.8 pin. OCR_NO_UPDATE: '1' is set and is the only thing suppressing it. I confirmed upstream alibaba/open-code-review#1204 is still OPEN — the real fix has not shipped, so the comment's "fix pending in #1204" remains accurate.

This PR neither causes nor worsens this, and bumping to 1.12.9 won't resolve it either (latest is still ahead). Flagging only so the env var isn't removed as redundant cleanup.


🛠️ Impact assessment

  • Breaking changes found: No
  • Affected files: .github/workflows/ocr-review.yml only. No application code — this action is CI-only and touches nothing in apps/, assets/, or templates/
  • Test impact: None. No Django/pytest or JS test surface; OCS's own test suite is unaffected
  • Configuration changes: None required. .opencodereview/rule.json needs no migration — the #1508 config fix concerns OCR writing config, not reading repo-local rules. The include: ["**/test_*.py"] entry (which exists to undo the test_*.py default exclude introduced in 1.12.7) is still needed and still works in 1.12.9

✅ Recommendations

  1. Add ocr_version: '1.12.9' to this PR — otherwise merging is cosmetic.
  2. Testing focus: none needed beyond watching the next PR's OCR run complete and post its sticky summary (guards against the exit-127 updater path). A PR containing a file rename is the natural check on #1529.
  3. Follow-up: consider a guard against this class of drift recurring, since Dependabot structurally cannot catch it — either a CI assertion that the # vX.Y.Z comment on the uses: line matches ocr_version, or a pre-commit check. Alternatively drop ocr_version and accept upstream's latest default, though that trades the drift problem for unpinned run-time behaviour and re-exposes the #1204 updater race — the current pin looks like the right call.

📚 Links

🤖 Dependabot review by Claude Code

@SmittieC
SmittieC merged commit 6283ba8 into main Oct 1, 2026
20 checks passed
@SmittieC
SmittieC deleted the dependabot/github_actions/alibaba/open-code-review-1.12.9 branch October 1, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code risk:high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant