Skip to content

[Bug]: graphify update skips or partially rebuilds a missing graph when the manifest survives #5016

Closed

Description

@azizur100389

Reproduction

Confirmed on v8 at 59b5ab11 (0.9.102), Python 3.12 on Windows. No LLM or API credentials are needed.

  1. Put def first(): return 1 in first.py and def second(): return 2 in second.py in a clean directory.
  2. Run graphify update . --no-cluster.
  3. Delete only graphify-out/graph.json. Leave graphify-out/manifest.json in place.
  4. Run the same update again. Repeat after changing just first.py.

Actual behavior

With no source changes, update exits successfully without recreating the file. With one changed source, it creates a graph containing only that source. The manifest identifies changed bytes but cannot supply unchanged nodes and edges.

Expected behavior

Recreate the complete AST graph using the existing full rebuild path whenever the output graph is absent.

This is a follow-up to the manifest-derived update path in #4801.

Activity

  1. github-actions commented on Nov 5, 2026

    @github-actions

    Thanks for opening this issue, @azizur100389. A maintainer will take a look soon.

    If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.

    To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.

  2. safishamsi commented on Nov 8, 2026

    @safishamsi
    Member

    Fixed in 0.9.104 (now on PyPI) via #5021: a --watch incremental update now rebuilds the full corpus when graph.json is missing, instead of writing a partial graph.

  3. added a commit that references this issue on Nov 8, 2026
    6c8002e
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