utils/dep_freshness/tests
Krzysztof kuhy Rudnicki 978d32af3a Don't judge allowlist rot from a file-scoped run; cut two library versions
Two things, because the first is what blocked the second from committing.

**The rot check was scope-blind.** pre-commit passes only the staged
manifests, so a run that sees no package.json cannot learn anything about
whether the fleet-wide typescript hold is still needed -- yet it concluded the
entry was dead and exited 2. Staging two pubspec.yaml files in utils was
enough to make the repo uncommittable. The dead-entry check now runs only
under --all, which is CI and the manual whole-repo run; a subset scan has seen
a subset by construction.

**crdt_sync_dart 0.11.1 and design_system 0.2.1.** Both had dependency
upgrades land after their newest tag, so a consumer moving to "latest tag"
would pick up the pre-upgrade constraints (crdt_sync_dart-v0.11.0 still
carries `crypto: ^3.0.7`, `http: ^1.6.0`, `lints: ^5.0.0`) while carrying its
own new exact pins -- the unsatisfiable-resolution case exact pins create.
Version bump only; the dependency work is already in 922fb36 and 704c67e.

The allowlist end-to-end tests moved to their own file for the 250-line cap,
and `run`/`canned` moved to conftest so both files share one definition.
`canned` is no longer autouse: the resolver tests patch `_fetch` themselves.

293 tests, 100% branch coverage on every production module.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CRykabMwPgDzFHcARoqpaK
2026-08-28 14:07:09 +02:00
..
__init__.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
conftest.py Don't judge allowlist rot from a file-scoped run; cut two library versions 2026-08-28 14:07:09 +02:00
test_allowlist.py Make the allowlist inheritable, and cache the quarantine lookups 2026-08-28 13:58:44 +02:00
test_check_allowlist.py Don't judge allowlist rot from a file-scoped run; cut two library versions 2026-08-28 14:07:09 +02:00
test_check.py Don't judge allowlist rot from a file-scoped run; cut two library versions 2026-08-28 14:07:09 +02:00
test_constraints.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_discover.py Exclude the shared-gate checkout from dependency discovery 2026-08-28 13:24:00 +02:00
test_edges.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_evaluate.py Judge peer dependencies by range, and check the packageManager pin 2026-08-28 13:38:40 +02:00
test_golang.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_http.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_parsers_edges.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_parsers.py Judge peer dependencies by range, and check the packageManager pin 2026-08-28 13:38:40 +02:00
test_quarantine.py Make the allowlist inheritable, and cache the quarantine lookups 2026-08-28 13:58:44 +02:00
test_registries.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_report.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_resolve.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_toolchain_registry.py Add the shared dependency-freshness gate 2026-08-28 13:00:35 +02:00
test_versions.py Accept exact pins with more than three version components 2026-08-28 13:37:12 +02:00