Skip to content

Bump Opengrep version to 1.26.0 - #30

Merged
stefanvacareanu7 merged 1 commit into
mainfrom
chore/automated-tool-update
Jul 30, 2026
Merged

Bump Opengrep version to 1.26.0#30
stefanvacareanu7 merged 1 commit into
mainfrom
chore/automated-tool-update

Conversation

@stefanvacareanu7

Copy link
Copy Markdown
Contributor

Summary

  • Bumps the wrapped Opengrep engine from 1.23.0 to 1.26.0 (latest GitHub release, non-prerelease, published 2026-07-24).
  • Updates .tool_version and the Dockerfile's ARG OPENGREP_VERSION together (v1.26.0), per the repo's playbook.
  • Checked the internal/docgen/parsing.go opengrep-rules commit pin: the release branch referenced in the README no longer exists on opengrep/opengrep-rules (the repo now only has main), and the current pin (f1d2b562b414783763fd02a6ed2736eaed622efa) is already the HEAD of main, so no change was needed there.
  • No CI orb or go.mod dependency bumps included — out of scope for this version-only update per the playbook's guidance to only touch those when the task calls for it.

Validation

  • go run ./cmd/docgen — completed without panics (docs are git-ignored, no diff expected/seen).
  • go test $(go list ./... | grep -v /docs/) — all packages pass.
  • docker build --build-arg TOOL_VERSION=$(cat .tool_version) -t codacy-opengrep:latest . — succeeds, and the built image correctly downloads the v1.26.0 opengrep binary.
  • codacy-plugins-test (sbt "runMain codacy.plugins.DockerTest multiple codacy-opengrep:latest") — all 13 multiple-test suites pass (javascript, sql, java, gitlab-rules, i18n, exotic, ai, suggestions, etc.).

Test plan

  • Local unit tests pass
  • Local Docker build succeeds with new version
  • Local codacy-plugins-test multiple-tests pass
  • CI checks green (polling after opening PR)

Updates .tool_version and the Dockerfile's OPENGREP_VERSION ARG in
lock-step. The opengrep-rules commit pin in internal/docgen/parsing.go
is already at the latest commit on the default branch (the "release"
branch referenced in the README no longer exists; the repo now only
has main), so no change was needed there.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request updates the wrapped Opengrep engine version from 1.23.0 to 1.26.0. The updates cover both the development environment configuration (.tool_versions) and the Docker build arguments, ensuring parity between local and containerized executions.

Codacy analysis indicates the changes are up to standards, with no new issues, complexity increases, or logic flaws identified by the specialized review agents.

Test suggestions

  • Verify that the Docker build correctly downloads the v1.26.0 binary from the GitHub release
  • Ensure local unit tests and docgen execution pass with the updated version references
  • Run codacy-plugins-test suites to verify backward compatibility and rule execution for various languages

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

@stefanvacareanu7
stefanvacareanu7 merged commit 6f8d633 into main Jul 30, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants