Skip to content

fix(ci): add rust/op-reth/tests/ to .semgrepignore#19522

Merged
pcw109550 merged 4 commits intodevelopfrom
aj/fix/semgrep-reth-test-contracts
Mar 13, 2026
Merged

fix(ci): add rust/op-reth/tests/ to .semgrepignore#19522
pcw109550 merged 4 commits intodevelopfrom
aj/fix/semgrep-reth-test-contracts

Conversation

@ajsutton
Copy link
Copy Markdown
Contributor

@ajsutton ajsutton commented Mar 13, 2026

Summary

  • Fixes semgrep-scan-local CI failure on develop
  • ethereum-optimism/optimism#19252 moved test contracts from rust/op-reth/crates/tests/ (already in .semgrepignore) to rust/op-reth/tests/ (not ignored), causing 3 sol-style-input-arg-fmt violations to surface
  • Adds rust/op-reth/tests/ to .semgrepignore — these are test contracts for eth_getProof testing, not production Solidity code, consistent with the existing exclusion for the old path

Test plan

  • semgrep-scan-local CI job passes on this branch

🤖 Generated with Claude Code

…acts

Fixes semgrep-scan-local CI failure on develop caused by
sol-style-input-arg-fmt rule violations in SimpleStorage.sol and
TokenVault.sol test contracts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ajsutton ajsutton requested a review from a team as a code owner March 13, 2026 04:32
ajsutton and others added 3 commits March 13, 2026 04:42
The compute-git-versions target was moved to a deprecated shim that
delegates to just, but the GitHub Actions prep job doesn't have just
installed. Restore it as a native make target that calls the shell
script directly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The path was moved from rust/op-reth/crates/tests/ (already ignored) to
rust/op-reth/tests/ in #19252, taking test contracts out of the ignore
scope and breaking semgrep-scan-local on develop. Revert the Solidity
file changes and ignore the new path instead — these are test contracts,
not production code.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ajsutton ajsutton changed the title fix(rust/op-reth): prefix function args with underscore in test contracts fix(ci): add rust/op-reth/tests/ to .semgrepignore Mar 13, 2026
@ajsutton ajsutton enabled auto-merge March 13, 2026 04:46
@ajsutton ajsutton added this pull request to the merge queue Mar 13, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 13, 2026
@pcw109550 pcw109550 added this pull request to the merge queue Mar 13, 2026
Merged via the queue into develop with commit 672bbe8 Mar 13, 2026
97 checks passed
@pcw109550 pcw109550 deleted the aj/fix/semgrep-reth-test-contracts branch March 13, 2026 09:57
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.

3 participants