Repository navigation
Conversation
…y lookup, JSONL importer Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Collaborator
Author
|
Added nullable |
The repository does not track a uv lock file; CI and the image install from requirements.txt. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Postgres side of the reach ranking in settlebridge-verifier (a2a-settlement/settlebridge-verifier#56).
Changes
e8b1c4d72a05(down_revisiond2e5f7a9c1b3, single head).package_reachhas one row per (ecosystem, name) with the raw signals and a fetched_at per signal group.cve_priorityhas one row per CVE with the scores, tier,weights_hashandcomputed_at, indexed onpriority DESC NULLS LAST.app/models/reach.py:PackageReachandCvePriority.python -m app.cli.import_reach <bundle.jsonl> [--replace-priorities]upserts the bundle written bysvf rank pushin one transaction. It rejects unknown columns and redacts the DB URL from errors.FIX_VERIFIER_PRIORITY_QUEUE(defaultFalse) gatesapp/services/cve_priority.py:priority_for(db, vuln_id)queued_by_priority(db, limit), which orders queuedfix_verificationsby priority (NULLs last), thencreated_at.Tests
New
tests/test_cve_priority.pyandtests/test_reach_migration.py, plustest_fix_verifier_service.py: 30 passed (in-memory SQLite bridge, as intest_verifier_quota.py).alembic upgrade d2e5f7a9c1b3:head --sqlchecked offline.Not done
The migration has not been run and the bundle has not been imported into any real database.
Made with Cursor