Repository navigation
feat(scan): persist scan failures and expose them to search - #2095
Merged
Merged
Conversation
Signed-off-by: Catarina Paralta <[email protected]>
Signed-off-by: Catarina Paralta <[email protected]>
Signed-off-by: Catarina Paralta <[email protected]>
Signed-off-by: Catarina Paralta <[email protected]>
2 tasks done
Contributor
|
The latest Buf updates on your PR. Results from workflow Buf CI / verify-proto (pull_request).
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
Signed-off-by: Catarina Paralta <[email protected]>
Signed-off-by: Catarina Paralta <[email protected]>
Signed-off-by: Catarina Paralta <[email protected]>
Signed-off-by: Catarina Paralta <[email protected]>
Signed-off-by: Catarina Paralta <[email protected]>
Signed-off-by: Catarina Paralta <[email protected]>
paralta
force-pushed
the
feat/persist-scan-report
branch
2 times, most recently
from
September 3, 2026 10:04
e658cd6 to
c05962e
Compare
Signed-off-by: Catarina Paralta <[email protected]>
paralta
force-pushed
the
feat/persist-scan-report
branch
from
September 3, 2026 10:25
c05962e to
b622900
Compare
Signed-off-by: Catarina Paralta <[email protected]>
paralta
force-pushed
the
feat/persist-scan-report
branch
from
September 3, 2026 11:58
6cf68fd to
9076b1e
Compare
paralta
marked this pull request as ready for review
September 3, 2026 11:58
2 tasks done
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.
The reconciler only recorded a scan when it reached a verdict, so a record that could not be scanned — a private source repository, an unreachable endpoint, a missing scanner binary — left no trace at all. It matched the "needs scanning" query on every pass and was re-cloned indefinitely, and an operator had no way to list those records or tell a fault of the published record apart from a fault of our own infrastructure. Every attempt is now persisted with a status and a machine-readable failure reason, retries are bounded by exponential backoff, and
--scan-status/--scan-failure-reasonmake the failures searchable so an admin can act on them — for example, a scheduled job that deletes records whose source repository is permanently unreachable.Failure Examples from imported records
github.com/sravanism/esrp-oss-mcp-server— private or deletedfailedsource-unreachablegithub.com/bap-microsoft/MCP-Platform/— private or deletedfailedsource-unreachableexample.com/mcp-server.git— placeholder never substitutedfailedsource-unreachable.../servers/tree/main/src/git— subdirectory URL, not a repofailedsource-unreachablemcp.circleci.com,mcp.newrelic.com— gated behind OAuthfailedendpoint-unreachable