google / osv.dev

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

fix(importer): tolerate blobs disappearing #2679

Open andrewpollock opened 9 hours ago

andrewpollock commented 9 hours 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.