Skip to content

fix(routing): route impact follows references edges - #196

Merged
h0ffmann merged 1 commit into
mainfrom
fix/impact-references
Oct 20, 2026
Merged

h0ffmann merged 1 commit into
mainfrom
fix/impact-references

Conversation

@h0ffmann

Copy link
Copy Markdown
Contributor

Summary — graphify 0.9.74 keeps one edge per node pair. When a method both names a type and constructs it, the edge it keeps is often references (the type use) rather than calls, so route impact Coordinates lost Main.scala and SwimConditionsMcpServer.scala and the umbrella's bench dropped impact 5 -> 4 on the nixpkgs bump in marola-dev/marola#897.

MIP none — not MIP-scoped
Tested not recorded — add a Tested: trailer (AGENTS.md)

What changed

  • fix(routing): route impact follows references edges (cdfbc03)

graphify 0.9.74 keeps one edge per node pair. When a method both names a
type and constructs it, the edge it keeps is often `references` (the type
use) rather than `calls`, so `route impact Coordinates` lost Main.scala and
SwimConditionsMcpServer.scala and the umbrella's bench dropped impact 5 -> 4
on the nixpkgs bump in marola-dev/marola#897. Walking `references` too
restores 5/5 on 0.9.74 and leaves 0.9.53's answers unchanged.

Tested: tests/route_test.py (new test_impact_follows_references, red first); umbrella routing-bench.yaml on main's pins: 0.9.74 20/34 -> 21/34, 0.9.53 21/34 -> 21/34; just quality all ok except format.sh's scalafmt self-test, which fails the same on clean main (host scalafmt)

Co-Authored-By: Claude <noreply@anthropic.com>
@h0ffmann
h0ffmann merged commit de32b23 into main Oct 20, 2026
8 checks passed
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