utils/dep_freshness/registries
Krzysztof kuhy Rudnicki 3acf913b32
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
file length / file-length (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
palette drift / palette (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
dep_freshness: pool every Maven repo; resolve each host once; retry EAI_AGAIN
Three findings from proving the JitPack fix on the TachiyomiSY gate:

- The first repository with a stable answer used to win. Central still
  carries com.github.ben-manes:gradle-versions-plugin 0.11.1 (2016) while
  the plugin portal has 0.54.0, so a 0.51.0 pin graded "current". Every
  repository is now asked and the newest stable across the pooled lists is
  the answer.
- ~900 lookups, eight at a time, each resolving the registry host (A+AAAA)
  per connection: the LAN router's forwarder started dropping queries for
  every client on the LAN and the gate degraded itself. socket.getaddrinfo
  is memoised per (host, port, hints) for the run, and the per-host probe
  runs under a lock so eight workers make one probe, not eight.
- A resolver EAI_AGAIN ("temporary failure") during the probe marked the
  registry unreachable for the whole run. The probe retries it
  HTTP_ATTEMPTS times; a permanent failure still fails immediately.

Both retry loops lost their unreachable `return` sentinel (http.py is at
100% branch now); the resolver tests live in test_http_resolver.py to keep
test_http.py under the 250-line cap.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016P4KZw1E2sXJjYqfcZWf1x
2026-09-18 12:08:41 +02:00
..
__init__.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
_git.py dep_freshness: gitcommit ecosystem, no-stable fallback, JitPack repo; report unknowns beside stale 2026-09-12 20:21:34 +02:00
cargo.py dep_freshness: gitcommit ecosystem, no-stable fallback, JitPack repo; report unknowns beside stale 2026-09-12 20:21:34 +02:00
gitcommit.py dep_freshness: a commit pin is current at any branch head, not only the default one 2026-09-12 20:25:56 +02:00
gittag.py dep_freshness: gitcommit ecosystem, no-stable fallback, JitPack repo; report unknowns beside stale 2026-09-12 20:21:34 +02:00
gomod.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
http.py dep_freshness: pool every Maven repo; resolve each host once; retry EAI_AGAIN 2026-09-18 12:08:41 +02:00
maven.py dep_freshness: pool every Maven repo; resolve each host once; retry EAI_AGAIN 2026-09-18 12:08:41 +02:00
npmjs.py dep_freshness: gitcommit ecosystem, no-stable fallback, JitPack repo; report unknowns beside stale 2026-09-12 20:21:34 +02:00
pub.py dep_freshness: gitcommit ecosystem, no-stable fallback, JitPack repo; report unknowns beside stale 2026-09-12 20:21:34 +02:00
pypi.py dep_freshness: gitcommit ecosystem, no-stable fallback, JitPack repo; report unknowns beside stale 2026-09-12 20:21:34 +02:00
toolchain.py dep_freshness: Gradle ecosystem -- version catalogs, wrapper, Maven registries 2026-09-12 19:10:42 +02:00