Brings b87178d to main. This fixes#6495 "A by-name "reference" edge cannot tell two definitions of the same name apart".
names_canon now takes defined_at, a map from each name to the repo paths that define it. When the repo also defines a canon's name somewhere the canon is not recorded, a mention counts only from the canon's own package.
Proposer version 8 → 9, so the next coverage refresh re-reads every row and replaces its reference edges.
Brings b87178d to main. This fixes #6495 "A by-name "reference" edge cannot tell two definitions of the same name apart".
- `names_canon` now takes `defined_at`, a map from each name to the repo paths that define it. When the repo also defines a canon's name somewhere the canon is not recorded, a mention counts only from the canon's own package.
- Proposer version 8 → 9, so the next coverage refresh re-reads every row and replaces its reference edges.
CI on dev passed (run 9913).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
A by-name reference edge could not tell two definitions of one name apart:
in a Go repo that defines `file` as importRun.file (internal/files, the
canon) and as sftpRun.file (internal/replication), a mirror test calling
`m.file(` was recorded as a use of the canon.
names_canon now takes defined_at, every repo path that defines each name,
in place of the shape file's own names. The own-file rule is unchanged.
When the repo also defines the canon's name somewhere the canon is not
recorded, a mention counts only from the canon's own package: the
directory of a file location exactly, or under a directory location.
A name defined once resolves as before. Proposer version 8 -> 9, so the
next coverage refresh re-reads every row and replaces its reference edges.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Brings
b87178dto main. This fixes #6495 "A by-name "reference" edge cannot tell two definitions of the same name apart".names_canonnow takesdefined_at, a map from each name to the repo paths that define it. When the repo also defines a canon's name somewhere the canon is not recorded, a mention counts only from the canon's own package.CI on dev passed (run 9913).
🤖 Generated with Claude Code