Skip to content

chore(deps): consume bomly-sdk v0.11.0 and every plugin's latest tag; ADR-0045 decides the codec's home - #465

Merged
bomly-guy merged 3 commits into
mainfrom
chore/sdk-v0.11.0
Sep 14, 2026
Merged

bomly-guy merged 3 commits into
mainfrom
chore/sdk-v0.11.0

Conversation

@bomly-guy

@bomly-guy bomly-guy commented Sep 13, 2026 •

Copy link
Copy Markdown
Collaborator

SDK v0.11.0. Two fixes this repository asked for:

Every plugin at its latest tag. grype-matcher and syft-detector v0.4.0; osv, deps.dev license and scorecard matchers v0.2.2; govulncheck, jsreach, pyreach and jvmreach analyzers v0.3.2. The Update Smoke Goldens workflow dispatched on this branch (run 34747247890) regenerated every slice and found all goldens byte-identical to what is committed, so no golden moves. Three reachability cases do differ on my laptop with the new analyzers (dependency_refs absent, dynamic_imports_detected present); that is an environment-dependent analyzer difference, filed separately, and does not affect CI.

#459, what the CLI can do today. Parts A–C (identical plugin copies, the #429/#438 backports, dropping anchore/syft from the plugin codec) landed in grype-matcher and syft-detector v0.4.0 after the issue was measured; pinning them here brings the fixes to the lite build. Part D is decided in ADR-0045: the SDK owns the SBOM codec (option 1 in the issue): the CLI's internal/sbom and graphview move to the SDK as one public package, executed as the SDK → plugins → CLI release train, with the copies first made a genuine subset. Part E, the train, is its own work and is not started here.

Gates: make verify passes; make generate clean; the full smoke suite passed locally on the SDK + grype/syft pins, and CI regenerated every golden unchanged on the final pin set.

Refs #459.

🤖 Generated with Claude Code

…R-0045 decides the codec's home

bomly-sdk v0.11.0 carries two fixes this repository asked for: a
location's identity in the graph fold is the usage unit (module root and
declaration site), so a second module root's record of one path survives
consolidation (bomly-sdk#73); and a Homebrew coordinate without a stated
package URL mints the specification's pkg:brew (bomly-sdk#75). The
attribution helper's comment documented the first as an SDK limit; it now
records the fix, and a consolidation test pins the case it said was lost.

bomly-plugin-grype-matcher and bomly-plugin-syft-detector v0.4.0 carry parts
A to C of #459: their codec copies are byte-identical, the LicenseRef (#429)
and end-of-life read-back (#438) fixes reached them, and the anchore/syft
import used only to recognize a refused format is gone. Both are pinned
here so the fixes reach the lite build.

ADR-0045 records part D: the SDK owns the SBOM codec in full, executed as
the SDK -> plugins -> CLI release train after the copies are a subset of it.

The seven analyzer and matcher plugins stay at v0.2.0 on purpose: their
newer tags add reachability fields (dynamic_imports_detected, module_root)
that move three smoke goldens, which is Dependabot's bump and a golden
refresh, not this change.

Refs #459. Refs bomly-dev/bomly-sdk#73, bomly-dev/bomly-sdk#75.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@coderabbitai

coderabbitai Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

Warning

Review limit reached

Next included review available in 27 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: bdc03b1a-bcb7-4917-9d23-d6b1f6b8c714

📥 Commits

Reviewing files that changed from the base of the PR and between 8876a5c and 27e0df0.

⛔ Files ignored due to path filters (5)
  • go.sum is excluded by !**/*.sum
  • test/smoke/testdata/golden/scan-go-reachability.golden.json is excluded by !**/*.golden.json, !**/testdata/**
  • test/smoke/testdata/golden/scan-java-maven-reachability.golden.json is excluded by !**/*.golden.json, !**/testdata/**
  • test/smoke/testdata/golden/scan-npm-reachability.golden.json is excluded by !**/*.golden.json, !**/testdata/**
  • test/smoke/testdata/golden/scan-python-pip-reachability.golden.json is excluded by !**/*.golden.json, !**/testdata/**
📒 Files selected for processing (1)
  • go.mod

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: b8cd1bbb-fdae-4280-b286-85bdaea99b83

📥 Commits

Reviewing files that changed from the base of the PR and between 3c6b4e6 and 8876a5c.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (5)
  • dev-docs/adr/0045-the-sdk-owns-the-sbom-codec.md
  • dev-docs/adr/README.md
  • go.mod
  • internal/detectors/attribution.go
  • internal/engine/consolidation/location_fold_test.go

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The change documents SDK ownership of the SBOM codec, updates three direct dependencies, refreshes location-record attribution, and adds a consolidation test for preserving module-root records.

Changes

SDK SBOM codec adoption

Layer / File(s) Summary
Document SDK codec ownership
dev-docs/adr/0045-the-sdk-owns-the-sbom-codec.md, dev-docs/adr/README.md
Adds and indexes ADR-0045, which defines SDK ownership of the SBOM codec and the migration sequence.
Update SDK dependencies and attribution
go.mod, internal/detectors/attribution.go
Updates the Grype matcher, Syft detector, and Bomly SDK versions. Documents SDK v0.11.0 location identity and workspace-folding behavior.
Validate module-root location preservation
internal/engine/consolidation/location_fold_test.go
Adds a test that verifies consolidation retains location records, relationships, and scopes for two module roots of one package.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 8876a

The dependency update and consolidation coverage do not show a concrete regression requiring changes before merge.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 2 files. (3 skipped: 3 …
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the dependency updates and ADR-0045. It is specific and related to the main changes, although “every plugin's latest tag” is broader than the changeset because some plugin…
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/sdk-v0.11.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Comment thread go.mod
github.com/bomly-dev/bomly-plugin-depsdev-license-matcher v0.2.0
github.com/bomly-dev/bomly-plugin-govulncheck-analyzer v0.2.0
github.com/bomly-dev/bomly-plugin-grype-matcher v0.2.0
github.com/bomly-dev/bomly-plugin-grype-matcher v0.4.0
Comment thread go.mod
github.com/bomly-dev/bomly-plugin-scorecard-matcher v0.2.0
github.com/bomly-dev/bomly-plugin-syft-detector v0.2.0
github.com/bomly-dev/bomly-sdk v0.10.0
github.com/bomly-dev/bomly-plugin-syft-detector v0.4.0
Comment thread go.mod
github.com/bomly-dev/bomly-plugin-syft-detector v0.2.0
github.com/bomly-dev/bomly-sdk v0.10.0
github.com/bomly-dev/bomly-plugin-syft-detector v0.4.0
github.com/bomly-dev/bomly-sdk v0.11.0
@github-actions

github-actions Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Bomly Diff Summary

Compared 3c6b4e6a44d3b3f29b626c6cf25dbecb24bf01ae to 27e0df07e66712217292bc49802b1a9fc3fb3cef.

Overview

Status Manifests Dependencies Findings Duration
⚠️ Warnings +0 / ~1 / -0 0 added / 10 version changed / 0 detail changes / 0 removed 3 introduced / 0 persisted / 0 resolved 1m 13s

Dependency Changes

Summary: 0 added, 10 version changed, 0 detail changes, 0 removed.

Changed Dependencies

Change Package Version Direct? Scope Licenses
changed github.com/bomly-dev/bomly-plugin-depsdev-license-matcher v0.2.0 → v0.2.2 Yes runtime Apache-2.0
changed github.com/bomly-dev/bomly-plugin-govulncheck-analyzer v0.2.0 → v0.3.2 Yes runtime -
changed github.com/bomly-dev/bomly-plugin-grype-matcher v0.2.0 → v0.4.0 Yes runtime Apache-2.0
changed github.com/bomly-dev/bomly-plugin-jsreach-analyzer v0.2.0 → v0.3.2 Yes runtime -
changed github.com/bomly-dev/bomly-plugin-jvmreach-analyzer v0.2.0 → v0.3.2 Yes runtime Apache-2.0
changed github.com/bomly-dev/bomly-plugin-osv-matcher v0.2.0 → v0.2.2 Yes runtime -
changed github.com/bomly-dev/bomly-plugin-pyreach-analyzer v0.2.0 → v0.3.2 Yes runtime Apache-2.0
changed github.com/bomly-dev/bomly-plugin-scorecard-matcher v0.2.0 → v0.2.2 Yes runtime Apache-2.0
changed github.com/bomly-dev/bomly-plugin-syft-detector v0.2.0 → v0.4.0 Yes runtime Apache-2.0
changed github.com/bomly-dev/bomly-sdk v0.10.0 → v0.11.0 Yes runtime Apache-2.0

Vulnerabilities

✅ No vulnerability changes.

License Changes

Summary: 0 added, 3 changed, 0 removed.

Changed Licenses

Change Package Before After
changed github.com/bomly-dev/[email protected] Apache-2.0 -
changed github.com/bomly-dev/[email protected] Apache-2.0 -
changed github.com/bomly-dev/[email protected] Apache-2.0 -

Project Posture

✅ No project posture changes (--matchers +scorecard was not selected).

Policy Findings

Summary: 3 introduced, 0 persisted, 0 resolved.

Introduced Findings

Status Category Severity ID Package Fixed In Title
⚠️ introduced license WARNING UNKNOWN-b2wk-64nb-fqyp github.com/bomly-dev/[email protected] - Package license is unknown
⚠️ introduced license WARNING UNKNOWN-iul3-eo2u-hf4j github.com/bomly-dev/[email protected] - Package license is unknown
⚠️ introduced license WARNING UNKNOWN-zkmi-czfe-4gpf github.com/bomly-dev/[email protected] - Package license is unknown

Legend: ✅ resolved · ❌ failing · ⚠️ warning

osv, deps.dev license and scorecard matchers to v0.2.2; govulncheck,
jsreach, pyreach and jvmreach analyzers to v0.3.2. The analyzers add two
reachability fields (dynamic_imports_detected, module_root) that move the
three *-reachability smoke goldens; those are regenerated by the Update
Smoke Goldens workflow on this branch rather than written from a laptop.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@bomly-guy bomly-guy changed the title chore(deps): consume bomly-sdk v0.11.0 and the plugin codec fixes; ADR-0045 decides the codec's home chore(deps): consume bomly-sdk v0.11.0 and every plugin's latest tag; ADR-0045 decides the codec's home Sep 13, 2026
Comment thread go.mod
github.com/bomly-dev/bomly-plugin-scorecard-matcher v0.2.0
github.com/bomly-dev/bomly-plugin-syft-detector v0.2.0
github.com/bomly-dev/bomly-sdk v0.10.0
github.com/bomly-dev/bomly-plugin-depsdev-license-matcher v0.2.2
Comment thread go.mod
github.com/bomly-dev/bomly-plugin-syft-detector v0.2.0
github.com/bomly-dev/bomly-sdk v0.10.0
github.com/bomly-dev/bomly-plugin-depsdev-license-matcher v0.2.2
github.com/bomly-dev/bomly-plugin-govulncheck-analyzer v0.3.2
Comment thread go.mod
github.com/bomly-dev/bomly-plugin-depsdev-license-matcher v0.2.2
github.com/bomly-dev/bomly-plugin-govulncheck-analyzer v0.3.2
github.com/bomly-dev/bomly-plugin-grype-matcher v0.4.0
github.com/bomly-dev/bomly-plugin-jsreach-analyzer v0.3.2
Comment thread go.mod
github.com/bomly-dev/bomly-plugin-govulncheck-analyzer v0.3.2
github.com/bomly-dev/bomly-plugin-grype-matcher v0.4.0
github.com/bomly-dev/bomly-plugin-jsreach-analyzer v0.3.2
github.com/bomly-dev/bomly-plugin-jvmreach-analyzer v0.3.2
Comment thread go.mod
github.com/bomly-dev/bomly-plugin-grype-matcher v0.4.0
github.com/bomly-dev/bomly-plugin-jsreach-analyzer v0.3.2
github.com/bomly-dev/bomly-plugin-jvmreach-analyzer v0.3.2
github.com/bomly-dev/bomly-plugin-osv-matcher v0.2.2
Comment thread go.mod
github.com/bomly-dev/bomly-plugin-jsreach-analyzer v0.3.2
github.com/bomly-dev/bomly-plugin-jvmreach-analyzer v0.3.2
github.com/bomly-dev/bomly-plugin-osv-matcher v0.2.2
github.com/bomly-dev/bomly-plugin-pyreach-analyzer v0.3.2
Comment thread go.mod
github.com/bomly-dev/bomly-plugin-jvmreach-analyzer v0.3.2
github.com/bomly-dev/bomly-plugin-osv-matcher v0.2.2
github.com/bomly-dev/bomly-plugin-pyreach-analyzer v0.3.2
github.com/bomly-dev/bomly-plugin-scorecard-matcher v0.2.2

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1bffb3b185

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread go.mod
@bomly-guy
bomly-guy disabled auto-merge September 14, 2026 04:38
@bomly-guy
bomly-guy merged commit 68189bf into main Sep 14, 2026
15 checks passed
@bomly-guy
bomly-guy deleted the chore/sdk-v0.11.0 branch September 14, 2026 04: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