Repository navigation
Conversation
- Re-measure the grid after a tab becomes visible and keep list rows at a fixed height - Memoize selected and dragged paths, and pass sudo passwords over stdin - Extract file filtering and sorting with a shared collator and add tests
- Prefetch likely directories and share epoch-aware listing requests. - Read directory entries concurrently with deduplication and a 30s watchdog. - Show loading state, retry sudo reads after skipped prefetch, and guard against stale listings. - Fix mutation refresh and cache invalidation; add controlled-fixture benchmarks and docs (not live-host measurements).
|
AI review | Looks safe to merge Implements bounded directory prefetching, request coalescing, and pipelined SFTP reads to reduce listing latency. Race conditions, cache invalidation, and sudo credential handling are carefully managed with comprehensive tests and isolated benchmarks. Reviewed b244973. AI can be wrong, a maintainer still decides. Comment |
3 of 6 tasks
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.
Overview
Speeds up the first open of a directory in the file manager, using bounded prefetching and shared in-flight reads. It also shows a loading state instead of a transient "No files found." The branch also carries earlier layout, listing and sudo-read fixes.
Changes Made
Related Issues
Screenshots / Demos
Controlled fixtures only, not live Termix or real SSH hosts. Reproduce with
scripts/benchmark-file-loading.mjsandscripts/benchmark-file-rendering.cjs.Rendering (real Chromium, production bundles, 15 samples):
Loading and rendering were measured separately and should not be added together.
Checklist