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
{{ message }}
Repository navigation
Snapshot patch can produce multi-MB parts with 100K+ file entries #18921
Snapshot.patch() runs git diff --name-only with no file count cap. When a worktree has unignored test artifacts (e.g. .test-tmp with 99K+ files from test runs), the diff returns all file paths — stored as a 17 MB JSON patch part in the DB and sent to the browser.
Steps to reproduce
Run tests in a project that creates temp files not covered by .gitignore
Start a session with snapshot enabled
Observe patch parts with thousands of file entries
Activity
github-actions commentedon Mar 24, 2026
This issue might be a duplicate of existing issues. Please check:
git diff --name-onlyinSnapshot.patch(), while [BUG] Snapshot module ignores 'watcher.ignore' config, causing excessive disk usage and performance degradation #8887 is aboutgit addinSnapshot.track()).If your issue is specifically about the patch part size from
Snapshot.patch(), it may be a new and distinct problem worth tracking separately.github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.