Skip to content

Missing callable nodes #43

Open
Open

Description

@georgesafta

Describe the bug

Analyzed the online-boutique/frontend project and for handlers.go I'm getting only 10 Callables in the Neo4j graph (the file has 22 method/functions).

The 12 absent ones are all (fe *frontendServer) methods — homeHandler, productHandler, addToCartHandler, emptyCartHandler, viewCartHandler, placeOrderHandler, assistantHandler, logoutHandler, getProductByID, chatBotHandler, setCurrencyHandler, chooseAd.

To Reproduce
Steps to reproduce the behavior:
1.

Expected behavior

All callables should be in the graph.

Logs

N/A

Additional context

N/A

Activity

  1. added
    bug
    on Nov 18, 2026
  2. lamwassi commented on Nov 18, 2026

    @lamwassi
    Contributor

    For https://github.com/GoogleCloudPlatform/microservices-demo/blob/main/src/frontend/handlers.go , I  emitted a Neo4j graph ( the projection of the Analysis.json). Then  i loaded the generated graph.cypher into a Neo4j database and ran the query: MATCH (c:GoCallable)
    WHERE c.id STARTS WITH 'can://frontend/'
    AND (c.id CONTAINS '/go/handlers.go/' OR c.source_file = 'handlers.go')
    RETURN split(c.signature,'/')[-1] AS name, c.source_file AS source_file
    ORDER BY name;
    All 22 are connected into the graph, none orphaned: 9 via GO_DECLARES (module functions) + 13 via GO_HAS_METHOD (12 frontendServer handlers + 1 platformDetails.setPlatformDetails) = 22. ✓
    Confirmed — all 22 callables are loaded in Neo4j ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions