google / osv.dev

Open source vulnerability DB and triage service.
https://osv.dev
Apache License 2.0
1.54k stars 188 forks source link

fix(importer): tolerate blobs disappearing #2679

Closed andrewpollock closed 4 weeks ago

andrewpollock commented 1 month ago

I noticed some errors getting logged by the GCS deletion code because the blob disappeared in between the bucket getting listed and the blobs being retrieved (this can happen, but led me to also find the fix in #2678

Also give validation failure the same exception-raising treatment as the refactor in #2644 did for import-time validation failure.