Repository navigation
Confirm missing packages before sending sweep findings - #1902
Merged
Merged
Conversation
rdimitrov
enabled auto-merge (squash)
November 22, 2026 21:40
rdimitrov
added a commit
that referenced
this pull request
Nov 22, 2026
Promote the registry and usage collector to v1.8.15 through the production imageTag. This release includes #1902, which confirms package absence before the malware sweep reports it. The on-demand staging run completed and cleared all 17 previously misclassified entries. Production promotion waits for both published image manifests and the PR checks. After deployment, run the production sweep once and compare its complete missing-package log with the same 17 entries.
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 production sweep reported 649 server versions pointing to 206 missing packages on November 22. Checking every package against its upstream registry identified nine PyPI projects that still had an active install index with no distribution files. The metadata endpoint returned 404 for those projects, which generated 17 incorrect missing-package findings.
Require a second upstream lookup before reporting a missing package. For PyPI, check the normalized install index. For npm, read the full package record and require a dated unpublish event with no remaining versions, or an HTTP response confirming absence. For NuGet and crates.io, follow a missing HEAD result with GET. Inconclusive confirmations feed the existing unknown count and coverage warning.
Regression tests cover empty PyPI projects, missing confirmation data, npm versions without dist-tags, explicit unpublishing, and registries that return success on the second request. The malware and configuration race tests pass. The malware package passes golangci-lint. A read-only replay of the package checks against all 206 upstream names classified 197 as absent or unpublished and nine as present.