Skip to content

Currency detector: five set-7 root causes (floating major tag, Dropwizard EOL, Gradle wrapper, Gradle catalog drift, PKG-INFO vendored) - #2223

Merged
remigiusz-antczak merged 1 commit into
mainfrom
lane/g5-round15-sq
Nov 4, 2026
Merged

remigiusz-antczak merged 1 commit into
mainfrom
lane/g5-round15-sq

Conversation

@remigiusz-antczak

Copy link
Copy Markdown
Collaborator

Fixes five detector gaps found by the set-7 scored currency run. A sixth miss turned out to be a truth error, not a detector bug.

  • Floating major release tag: a GitHub release tagged v6 no longer hides v6.1.2. Costs one git ls-remote per repo, cached for the run; failed lookups are not cached.
  • Dropwizard: dropwizard-core and dropwizard-bom feed the endoflife.date dropwizard product (Maven and Gradle).
  • Gradle wrapper: gradle-wrapper.properties distributionUrl is now a Gradle runtime pin.
  • Gradle catalog drift: the same module at two versions in a build file and a version catalog is a drift row. When one file itself declares two versions (two catalog aliases), the case is ambiguous and gives no row.
  • PKG-INFO: review_checks.sh now passes PKG-INFO to the detector, so a vendored Python package gets its vendored row, named from Name:.

Truth error disclosed: the set-7 truth recorded github.com/mattn/go-sqlite3 at v2.0.3+incompatible, but the Go proxy's @latest is v1.14.x. The detector keeps +incompatible out of latest, and a regression test pins this. The set-8 truth builder must follow @latest semantics.

Review: independent review found 0 🔴 and 2 🟡; both 🟡 are fixed, each with a test. 1 🔵 is deferred: gradle -rc/-milestone wrapper distributions give no row.

Tests: 85/85 dependency-currency (6 new), run-ci-tests.sh --affected green.

🤖 Generated with Claude Code

…zard EOL, Gradle wrapper, Gradle catalog drift, PKG-INFO vendored)

The set-7 scored currency run missed six rows. Five were detector gaps:
- A GitHub release tagged with a bare major (v6) hid newer point-release
  tags; gh_latest now resolves the highest tag via one git ls-remote per
  repo (cached per run, failures not cached).
- io.dropwizard:dropwizard-core / dropwizard-bom feed the endoflife.date
  dropwizard product (Maven and Gradle).
- gradle-wrapper.properties distributionUrl is a Gradle runtime pin.
- The same Gradle module at two versions in a build file and a version
  catalog is a drift row; a file that itself declares two versions (two
  catalog aliases) is ambiguous and yields no row.
- review_checks.sh hands PKG-INFO to the detector, and vendored_rows names
  the package from its Name: field.

The sixth miss (Go github.com/mattn/go-sqlite3) was a truth error: the Go
proxy's @latest is v1.14.x, while the set-7 truth recorded
v2.0.3+incompatible. The detector keeps +incompatible tags out of latest
and a regression test pins that; the set-8 truth builder must follow
@latest semantics.

Independent review: 0 red, 2 yellow fixed with tests (per-repo ls-remote
cache, two-alias catalog ambiguity), 1 blue deferred (gradle -rc/-milestone
wrapper distributions give no row).

Tests: 85/85
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@remigiusz-antczak
remigiusz-antczak merged commit cad2246 into main Nov 4, 2026
11 checks passed
@remigiusz-antczak
remigiusz-antczak deleted the lane/g5-round15-sq branch November 4, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant