You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pip cross-check: stop early once errors pass 5%, and don't publish when the scan was cancelled #51
The nightly pip cross-check (#48) refuses to write agreement.json when more than 5% of its pip calls fail, but it only finds out at the end. When PyPI is unreachable each pip call takes about 9 s, so 800 checks run into the 15-minute step timeout instead of stopping cleanly.
Separately, the publish job's new if only excludes failure, so a scan that ends cancelled (timeout, or displaced from its concurrency group) still republishes main.
What to do
scripts/check_pip.py: count errors as results come in and stop submitting new checks once errors pass 5% of the planned total (or of a minimum sample, e.g. after 40 attempts). Exit 1 without writing, as today.
.github/workflows/scan.yml: make publish require needs.scan.result to be success or skipped, e.g. contains(fromJSON('["success","skipped"]'), needs.scan.result).
Activity
pip cross-check: stop once errors pass 5% of the plan; publish only a…