Skip to content

aperture: a module LICENSE with a title line above the root's license marks a first-party dir vendored (gson/, Java call-resolution recall 64.9 -> 2.7) #5525

Closed

Description

@squid-protocol

Regression from #5512 (Part of #5464). The aperture's foreign-license rule now treats gson's own gson/ directory as a vendored project, so the Java call-resolution gate collapses on every PR that runs graph-accuracy-audit.

Evidence

Class

A first-party subdirectory carrying the root's license with a project-name or title line on top. The family check compares a fixed-width prefix, so any heading line pushes the license text out of the comparison window. Maven and Gradle multi-module repos often put a titled LICENSE copy in each module, so this is likely broader than gson.

Fix direction

Compare license identity in a way that survives a leading title line. For example, find the license's header (apache license, gnu general public license, mit license ...) anywhere in the first few hundred characters, or test whether one family string contains the other. Add a regression test with gson's two-file shape. Then confirm python tests/tools/call_graph_resolution.py java --ci is back at its baseline.

Blocks: #5516 (and any PR whose graph-accuracy-audit runs).

Activity

  1. squid-protocol commented on Oct 18, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host melek, lease renewed 2026-10-19T08:01Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:melek label.

  2. squid-protocol commented on Oct 18, 2026

    @squid-protocol
    OwnerAuthor

    Also blocks #5545 (C/C++ only; same graph-accuracy-audit numbers on run 39174944407). Since 18:08 UTC it has also failed on #5465, #5467 and #5503.

  3. added
    bug
    scope:core
    on Oct 19, 2026
  4. added a commit that references this issue on Oct 22, 2026
    6af200e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugclaim:melekscope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions