Skip to content

Generated JSON is expanded into thousands of Variable nodes #2132

Description

@avigdorsky

Severity: low (workaround exists) — but the default is wasteful.

Three generated OpenAPI contracts produced 4 589 Variable nodes ($ref, $id, …)
and ~28 700 edges, while yielding zero Route nodes. Workaround: .cbmignore.

Ask: index large generated JSON as a single File/Contract node; for OpenAPI
specifically, extract paths into Route nodes instead of exploding every key.


Observed on v0.10.8 (build 996bad5fe6fb), macOS arm64, Python monorepo (~36k nodes / ~179k edges). Happy to provide a minimal reproduction repo if useful.

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

    enhancementNew feature or requestparsing/qualityGraph extraction bugs, false positives, missing edgespriority/normalStandard review queue; useful PR with ordinary maintainer urgency.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions