Skip to content

TypeScript/TSX: v0.9.39 flags 26 typechecked files as partially extracted after a force rebuild #2610

Closed

Description

@Sid-AutoWisdom

Summary

Graphify 0.9.39 reports partial syntax extraction for 26 TypeScript/TSX files in a private Next.js App Router project, even though npx tsc --noEmit succeeds for the same checkout.

A forced rebuild was used, so this is not an incremental-cache result:

graphify update . --force
...
warning: 26 file(s) had syntax errors and may be partially extracted:
  page-client.tsx (first error at line 56),
  ArticlesContent.tsx (first error at line 385),
  page-client.tsx (first error at line 417),
  page.tsx (first error at line 2332),
  page.tsx (first error at line 16) (+21 more)
...
[graphify watch] Rebuilt: 4112 nodes, 11657 edges, 309 communities

Environment: macOS arm64, Python 3.14, Graphify 0.9.39.

Verification

  • npx tsc --noEmit succeeds.
  • The project lint succeeds for the changed files.
  • graphify diagnose multigraph --json reports zero missing endpoints, dangling edges, self-loops, or exact duplicate edges.
  • The warning is repeatable after a force rebuild.

The repository is private, so I cannot attach the affected source. I also have not yet reduced a minimal parser snippet, so I am deliberately not attributing this to a specific grammar construct.

Impact

The warning is useful, but the partially extracted files make graph-only usage unsafe for deletion decisions. We treat their nodes as incomplete and confirm with source, routing/configuration searches, typecheck, build, and focused flows instead.

This may be related to #2599, but the reported set includes additional files and I cannot yet prove the same triggers.

Request

  1. Could the warning include full relative paths (not only ambiguous basenames) and optionally machine-readable parse diagnostics?
  2. Is there a supported command to emit the tree-sitter ERROR spans for each affected file, so private-repository users can minimize a reproducible case without patching Graphify locally?

Activity

  1. added 2 commits that reference this issue on Aug 11, 2026
  2. safishamsi commented on Aug 11, 2026

    @safishamsi
    Member

    Fixed in v0.9.40 (graphifyy==0.9.40 on PyPI). The #2551 partial-parse warning now fires only when recovery plausibly cost symbols (file yielded at most the file node, or an error region spans multiple lines), so valid TypeScript/TSX that tree-sitter recovers from cleanly (a & in a JSX string attribute, a semicolon-less in_* interface member) no longer warns, while the genuine Kotlin one-line-body / Luau cases still do. Thanks for the report.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions