fix: synchronize watcher graph on startup - #1071
Merged
Shashankss1205 merged 7 commits intoJun 10, 2026
Merged
Conversation
|
@eshaanag is attempting to deploy a commit to the shashankss1205's projects Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Author
|
CI baseline note:
Focused local verification remains |
eshaanag
force-pushed
the
fix/832-watch-start-sync
branch
from
June 7, 2026 11:17
e26a29e to
4dd242e
Compare
macunha1
pushed a commit
to macunha1/CodeGraphContext
that referenced
this pull request
Jun 21, 2026
…t#832) Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Filenodes, removing files deleted while watch was stoppedWhy a full startup reconciliation
The current graph schema does not store per-file modification metadata, so a selective changed-file comparison would miss offline edits. This runs once when watch starts for an already-indexed repository; normal live updates remain incremental.
Verification
HOME=/tmp/cgc-test-home PYTHONPATH=src /tmp/cgc-test-venv/bin/python -m pytest tests/unit/core -q105 passed, 15 skippedgit diff --checkpython3 -m compileallon changed Python filesFixes #832