Skip to content

cross-repo-intelligence returns 0 edges for a byte-identical call/route #523

Description

@azuttre

I may be missing a required input here, so this is partly a question.

Running index_repository with mode=cross-repo-intelligence and an explicit target_projects, where the consumer has an HTTP_CALLS edge whose url_path is byte-identical to a provider's served Route name (/v2/orders/{id} on both sides), returns projects_scanned: 1, total_cross_edges: 0. I could not get the pass to emit a single cross edge under any input I tried, including this identical-string case. On a larger multi-service codebase it also returned 0 across all categories (http/grpc/async/channel).

My actual question: what is the minimum a call and a route need to share to be linked? If the matcher needs more than a matching path (a method, a confidence value, a node property the extractor sets), I could not find it in the docs.

Repro (self-contained): https://gist.github.com/azuttre/21e5e85f7590261721e3af7aa079dbfbissue-3-cross-repo-zero-edges.sh

Related note, possibly the cause: the route/call extractor did not produce Route or HTTP_CALLS nodes from the minimal gin, FastAPI, and Express services I tried. A @app.get(...) decorator was captured but no route. That is why the repro inserts the nodes directly, to give the matcher unambiguous input. If that minimal-extraction gap is expected (for example it needs resolvable dependencies), I would value a pointer.

Env: v0.8.1, macOS (arm64).

Activity

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

    bugSomething isn't workingparsing/qualityGraph extraction bugs, false positives, missing edgespriority/highNeeds near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions