Skip to content

fix: filter toolchain entries in GoModulesProvider#387

Merged
ruromero merged 2 commits into
guacsec:mainfrom
ruromero:TC-3919
Mar 30, 2026
Merged

fix: filter toolchain entries in GoModulesProvider#387
ruromero merged 2 commits into
guacsec:mainfrom
ruromero:TC-3919

Conversation

@ruromero

@ruromero ruromero commented Mar 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • isGoToolchainEntry() now filters both go@* and toolchain@* entries from Go SBOMs, aligning with the JS client's isSpecialGoModule() behavior
  • Added unit test verifying both entry types are filtered while normal modules pass through

Closes TC-3919

Test plan

  • Unit test test_isGoToolchainEntry_filters_go_and_toolchain passes
  • mvn verify passes
  • Integration tests pass

🤖 Generated with Claude Code

isGoToolchainEntry() now matches both go@* and toolchain@* entries,
aligning with the JS client's isSpecialGoModule() behavior.

TC-3919

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ruromero
ruromero enabled auto-merge (squash) March 30, 2026 23:33
@ruromero
ruromero merged commit 82256ac into guacsec:main Mar 30, 2026
36 of 39 checks passed
@ruromero
ruromero deleted the TC-3919 branch March 30, 2026 23:38
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