[Bug]: graphify update skips or partially rebuilds a missing graph when the manifest survives
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
まず graphify update と、#4801 で導入されたマニフェスト由来の更新経路をたどり、次に AST グラフの作成に使われる完全な再構築経路を見つけます。graphify-out/manifest.json は残したまま graphify-out/graph.json を削除し、その後 graphify update . --no-cluster を実行して再現します。ソースに変更がある場合もない場合も、更新によってグラフ全体が再作成されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Reproduction
Confirmed on v8 at 59b5ab11 (0.9.102), Python 3.12 on Windows. No LLM or API credentials are needed.
- Put
def first(): return 1infirst.pyanddef second(): return 2insecond.pyin a clean directory. - Run
graphify update . --no-cluster. - Delete only
graphify-out/graph.json. Leavegraphify-out/manifest.jsonin place. - 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.
- 主要言語
- Python
- スター
- 124k
- フォーク
- 11.9k
- 平均マージ
- 2時間 35分
- マージ済み PR(30日)
- 6
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Graphify-Labs/graphify のほかの issue
-
[Bug]: valid JSON with the wrong global-manifest shape bypasses recovery対応中かも @azizur100389 が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
Graphify-Labs/graphify#5020 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: malformed learning sidecar data can hide valid annotations対応中かも @azizur100389 が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Graphify-Labs/graphify#5019 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Graphify-Labs/graphify#5006 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
extract --out <dir>: semantic cache never saved, docs missing from manifest (relative source_file resolved against --out)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Graphify-Labs/graphify#4831 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
hooks: last-resort `python3` probe launches the Microsoft Store redirector on Windows (visible console flash, exit 9009)対応中かも @Deepjyoti-Sarmah が 18 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Graphify-Labs/graphify#4563 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
Graphify-Labs/graphify の issue をすべて見る
似ている issue
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
graphql-python/graphql-core#304 ·
メンテナーはふだん 1 日以内に返信
-
docs size:S
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
Gathin23/cleanyourtv#3464 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信