Skip to content

chore: Refresh all snapshots and snapshot diffing - #2920

Merged
another-rex merged 5 commits into
google:mainfrom
another-rex:update-snaps-correct
Jul 10, 2026
Merged

another-rex merged 5 commits into
google:mainfrom
another-rex:update-snaps-correct

Conversation

@another-rex

@another-rex another-rex commented Jul 9, 2026 •

Copy link
Copy Markdown
Collaborator

Also add cassette diffing if the cassettes don't match, to allow easier debugging. See vcr.go

There seems to be a change with deps.dev resolver response, causing a resolution to fail. Merging as is for now and following up on it later.

@another-rex another-rex changed the title chore: Refresh all snapshots chore: Refresh all snapshots and snapshot diffing Jul 9, 2026
@codecov-commenter

codecov-commenter commented Jul 10, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 42.85714% with 44 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.83%. Comparing base (b56b519) to head (f45d57c).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
cmd/osv-scanner/internal/testcmd/vcr.go 42.85% 43 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2920      +/-   ##
==========================================
- Coverage   79.26%   78.83%   -0.43%     
==========================================
  Files         122      122              
  Lines        8279     8355      +76     
==========================================
+ Hits         6562     6587      +25     
- Misses       1335     1382      +47     
- Partials      382      386       +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@another-rex
another-rex merged commit 3e4dfbe into google:main Jul 10, 2026
26 of 27 checks passed
herdiyana256 added a commit to herdiyana256/osv-scanner that referenced this pull request Jul 13, 2026
…nux snapshot

- Rebase onto upstream/main (includes snapshot refresh google#2920, google#2921)
- Drop go.mod replace directive: google/osv-scalibr#2250 (AlmaLinux VERSION_ID
  trim) is now merged upstream
- Bump osv-scalibr to v0.4.6-0.20260713000915-500ad84f4ed1 (official upstream)
- Regenerate TestCommand_OCIImage_JSONFormat/scanning_almalinux_9_image snapshot
  and cassette with updated scalibr
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