Fetch the license databases from sbom-tools, and stop building them here #502
All Vouch review confidence checks passed
Residual risk 0.29 = Change Risk (0.39) × (1 − Review Confidence (0.25)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 257 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 32% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.332
Real PR Conversation Timeline
1 comments
"Review active on #502"
general
weight: 0.35
copilot-pull-request-reviewer[bot]
The per-distro license databases are data this action downloads, not part of the action. sbomify/sbom-tools#63 moves the generator and its publishing workflow there, and they get published as release assets next to the bundles. This PR removes them from here and switches the download over.
What changes
license_db_generator.py,scripts/license_db_matrix.py, thelicense-db.yamlworkflow and thesbomify-license-dbentry point.SBOMIFY_ENABLE_LICENSE_DB_GENERATION). It needed the generator and was off by default anyway, since Ubuntu and Debian take hours.license-dbsource now downloads{distro}-{version}.json.gzfrom the sbom-tools release thattools.tomlpins. A master image usesrolling, the same as the bundles do (tool_manifest.tools_release()). This is a plain asset download, not a releases API call, so it is not rate limited. A 404 there is logged at debug, not as a warning.tools.tomlpins an sbom-tools release that has them.lifecycle_data.pymoves to sbom-tools along with the generator.check_lifecycle_staleness.pykeeps everything else.license_normalizer.pyandlifecycle_data.pystay here because the action uses both at run time. The generator imports them from the published package.Testing
tests/test_license_db_release.pycovers three cases: download from the pinned sbom-tools release without touching the API,rollingfor a master image, and falling back to this repo's releases on a 404.ruff check,ruff format --checkandmypyare clean. Fullpytest: 4231 passed, coverage 86.11%.check_lifecycle_staleness.py --offlineis clean.License DB Integration Testshould keep passing through the fallback until the pin moves.🤖 Generated with Claude Code