Repository navigation
Commit e07f70d
fix(server): status refresh no longer indexes thousands of untracked files
The Changes totals copy the git index and run `git add --intent-to-add` over
every untracked file on each local status refresh (end of every agent turn,
client subscribe). In a repo with ~50k untracked files this pinned a CPU core
for seconds per refresh. Past 5,000 untracked files the totals are now
reported incomplete, reusing the existing "too many untracked" path.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>1 parent efecd3c commit e07f70d
2 files changed
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1886 | 1886 | | |
1887 | 1887 | | |
1888 | 1888 | | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
1889 | 1910 | | |
1890 | 1911 | | |
1891 | 1912 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| |||
2545 | 2548 | | |
2546 | 2549 | | |
2547 | 2550 | | |
2548 | | - | |
| 2551 | + | |
2549 | 2552 | | |
2550 | 2553 | | |
2551 | 2554 | | |
| |||
2567 | 2570 | | |
2568 | 2571 | | |
2569 | 2572 | | |
| 2573 | + | |
2570 | 2574 | | |
2571 | 2575 | | |
2572 | 2576 | | |
| |||
0 commit comments