fix(sbom): fix tag field on cache hits and new entries#841
Conversation
Cache hits were keeping the old tag:imageRef value. New entries were also storing tag:imageRef. Both now store tag:cacheKey (e.g. 'latest-20260514') so the nvidiaByTag lookup in buildStreamFromSbom resolves correctly. Migration is idempotent — every cache hit patches the tag in-place. Assisted-by: Claude Sonnet 4.6 via pi
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe script ChangesDakota
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts
Comment |
Cache hits in
processLatestTagStreamwere preserving the oldtag: imageRefvalue. New entries were also storingtag: imageRef.\n\nBoth now storetag: cacheKey(e.g.latest-20260514). Cache hits apply the fix idempotently — no SBOM re-downloads needed.\n\nNext SBOM cache run migrates all existing entries and the nvidia overlay resolves correctly."Summary by CodeRabbit
Bug Fixes