Skip to content

Comments

Bump opengrep to 1.16.1#2

Merged
machadoit merged 1 commit intomainfrom
bump-to-1161
Feb 18, 2026
Merged

Bump opengrep to 1.16.1#2
machadoit merged 1 commit intomainfrom
bump-to-1161

Conversation

@heliocodacy
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 18, 2026 17:42
@machadoit machadoit merged commit c6f0e92 into main Feb 18, 2026
9 of 10 checks passed
@codacy-production
Copy link

Codacy's Analysis Summary

0 new issue (≤ 0 minor issue)
0 new security issue

Review Pull Request in Codacy →

AI Reviewer available: add the codacy-review label to get contextual insights without leaving GitHub.

Copy link

@codacy-production codacy-production bot left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

The PR proposes updating opengrep to version 1.16.1. Static analysis indicates the PR is up to standards; however, the lack of a description prevents a full assessment of the update's impact.

About this PR

  • The PR description is empty. Please include a summary of the changes in opengrep 1.16.1 or a link to the release notes to clarify why this update is necessary.

💡 Codacy uses AI. Check for mistakes.

Copy link

Copilot AI left a comment

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 upgrades the opengrep version from v1.15.1 to v1.16.1 and enables two command-line flags that were previously commented out: --taint-intrafile for intrafile taint analysis and --max-memory with a value of 2560 MB to limit memory usage during scanning.

Changes:

  • Updated opengrep version from v1.15.1 to v1.16.1 in Dockerfile and .tool_version
  • Enabled --taint-intrafile flag to enhance taint analysis capabilities
  • Enabled --max-memory flag with 2560 MB limit to control memory consumption

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
Dockerfile Updated OPENGREP_VERSION argument from v1.15.1 to v1.16.1
.tool_version Updated version string from 1.15.1 to 1.16.1
internal/tool/command.go Uncommented --taint-intrafile and --max-memory "2560" flags in command parameters

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +87 to +90
"--taint-intrafile",
//"--pro",
//"--error-recovery",
//"--max-memory", "2560",
"--max-memory", "2560",
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

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

The test file internal/tool/command_test.go has not been updated to reflect the newly enabled command parameters. The test at lines 42-54 includes commented-out expectations for "-error_recovery" and "-max_memory", but does not expect "--taint-intrafile" or "--max-memory" "2560" which are now active in the production code. This test should be updated to verify that these flags are present in the command parameters.

Copilot uses AI. Check for mistakes.
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