Skip indexing unchanged files#210
Closed
jenny-codes wants to merge 1 commit intographite-base/210from
Closed
Conversation
This was referenced Oct 15, 2025
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
3bc257e to
f6036b8
Compare
85d09ee to
6b0ba47
Compare
f6036b8 to
a0fa5a7
Compare
3d94630 to
270cfeb
Compare
0bf5aa2 to
6559a40
Compare
270cfeb to
06357d1
Compare
6559a40 to
810f92f
Compare
06357d1 to
47005ee
Compare
810f92f to
e91ac9e
Compare
ccfc0c2 to
4a6a724
Compare
e91ac9e to
bf9dfb0
Compare
0e4e1e0 to
6bb1350
Compare
bf9dfb0 to
51b2896
Compare
6bb1350 to
043ee18
Compare
51b2896 to
5c5c994
Compare
043ee18 to
a487d33
Compare
2d7510b to
7688c0a
Compare
7688c0a to
9f8eefa
Compare
jenny-codes
commented
Oct 30, 2025
9f8eefa to
fbfd830
Compare
This was referenced Oct 30, 2025
63950f8 to
943e408
Compare
fbfd830 to
1a0b597
Compare
943e408 to
5957ec7
Compare
0134e3c to
e1541ac
Compare
5957ec7 to
4fd17e1
Compare
e1541ac to
5089b00
Compare
4fd17e1 to
10bef90
Compare
10bef90 to
d55b7d1
Compare
5089b00 to
00c882a
Compare
548ce91 to
87b5c3a
Compare
00c882a to
4bcd1de
Compare
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.

For #88
See the full work at main.../jennyshih/save-updated-graph
This is a different implementation than #173. In the previous version, here is the flow:
which has a few issues
This new attempt here is as follows:
So for our four kinds of uris:
This pr implements the part where it looks up the db document entries and use it to inform the indexing worker to skip a file when it has not been changed.
Prs to come
Benchmark
Skipping the unchanged files reduced the db save time to 0 when we run the index twice on the same repo, but does not really affect the indexing time.
Before
After