Skip to content

Commit 4acfb97

Browse files
committed
feat: Skip writing import findings at import time, just do it during cron job run
1 parent 26178db commit 4acfb97

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gcp/workers/importer/importer.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,10 @@ def _record_quality_finding(
265265
findings for the record (if any already exist)
266266
"""
267267

268+
# TODO: Do not write import findings at import time, as it could cause
269+
# confusing results.
270+
# We run osv-linter daily on all records and populate the linting bucket.
271+
return
268272
# Get any current findings for this record.
269273
findingtimenow = utcnow()
270274
if existing_finding := osv.ImportFinding.get_by_id(bug_id):

0 commit comments

Comments
 (0)