Skip to content

Conversation

@kccarlos
Copy link
Owner

No description provided.

kccarlos and others added 4 commits January 7, 2026 20:23
…e concurrency

- add MAX_CONCURRENT_READS and bounded copy concurrency
- route WORKDIR reads to main thread and verify worker isolation
- remove eager worktree snapshotting
- avoid WORKDIR in default branch selection
- add WorkdirFileReader utility and plumb currentDir through components
- support optional workFiles in worker loadRepo
- debounce file filter input
- add diff result caching in workers
- confirm incremental/cancelable token counting
- verify binary handling unchanged
…zily

- remove default worktree snapshotting from web load path
- route all WORKDIR reads and diffs to the main thread
- implement tracked-file WORKDIR diff without full worktree scan
- add bounded concurrency and MAX_CONCURRENT_READS guardrails
- introduce diff and readFile LRU caches for performance
- debounce file filter input and avoid WORKDIR as default branch
- add e2e coverage to ensure no full worktree scan on load
- enforce worker/main-thread contract: fail-fast or route WORKDIR ops to main thread
- implement main-thread incremental WORKDIR listing with .gitignore support
- compute WORKDIR diffs lazily without seeding full worktree; add getOids API
- add MAX_CONCURRENT_READS and a shared bounded-concurrency helper for IO
- add LRU caches for diffs and readFile/blob and worker read caching
- make copy/preview/token-counting streaming/incremental to reduce peak memory
- avoid full-tree traversals in render path (plan FileTreeView virtualization)
- add DEV-only perf instrumentation and large-repo safety guardrails/thresholds
- reuse LightningFS .git when fingerprint unchanged; add cache eviction action
- add e2e/unit tests to assert no worker WORKDIR walks and correct diffs

Notes:
- preserves UX semantics; defaults behind flags where applicable
- focuses on tracked-files-only, incremental algorithms, and cancellation support
@kccarlos kccarlos merged commit 9dc5005 into main Jan 28, 2026
8 checks passed
@kccarlos
Copy link
Owner Author

🎉 This PR is included in version 1.3.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants