Bump Opengrep version to 1.26.0 - #30
Merged
Merged
Conversation
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>
Up to standards ✅🟢 Issues
|
There was a problem hiding this comment.
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
DMarinhoCodacy
approved these changes
Jul 30, 2026
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.
Summary
1.23.0to1.26.0(latest GitHub release, non-prerelease, published 2026-07-24)..tool_versionand the Dockerfile'sARG OPENGREP_VERSIONtogether (v1.26.0), per the repo's playbook.internal/docgen/parsing.goopengrep-rules commit pin: thereleasebranch referenced in the README no longer exists onopengrep/opengrep-rules(the repo now only hasmain), and the current pin (f1d2b562b414783763fd02a6ed2736eaed622efa) is already the HEAD ofmain, so no change was needed there.go.moddependency 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 thev1.26.0opengrep 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
codacy-plugins-testmultiple-tests pass