You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(update): run incremental graph rebuild, drop stale "not implemented" warning (#310)
`java-codebase-rag update` did a Lance-only catch-up then unconditionally
printed "AST graph (LadybugDB) incremental rebuild is not yet implemented",
even though incremental graph shipped (67a76de) and `increment` already calls
run_incremental_graph. The two commands share the word "update" but use
different code paths; only the `increment` path (cli.py) was rewired — the
installer's run_update index step was never updated.
Now run_update mirrors `increment`: after run_cocoindex_update it calls
run_incremental_graph, so both index layers stay current. The stale warning
is removed entirely; on graph-step failure it prints a truthful, actionable
message instead of claiming the feature is missing. The warning constant
stays in cli.py for the legitimate `increment --vectors-only` opt-out path.
Docs/help (cli --help, README, JAVA-CODEBASE-RAG-CLI.md) updated to describe
update as artifact refresh + incremental Lance/graph catch-up, and to drop the
false "prints graph staleness warning" line.
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/JAVA-CODEBASE-RAG-CLI.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ java-codebase-rag install --scope user
61
61
62
62
### `update`
63
63
64
-
Post-upgrade refresh: overwrites skill and agent files with the latest shipped versions and updates the MCP command path. Requires a prior `install` run.
64
+
Post-upgrade refresh: overwrites skill and agent files with the latest shipped versions and updates the MCP command path. If an index exists, also runs an incremental Lance + graph catch-up (same as `increment`). Requires a prior `install` run.
0 commit comments