Repository navigation
Scan app icon directories once at shell startup - #15167
Merged
Merged
Conversation
Contributor
|
This was referenced Oct 13, 2026
Closed
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.
The application icon fallback index scans every icon tree twice at shell startup and whenever applications change: once for SVGs, then again for PNGs. Scan each tree once and stream SVGs immediately, buffering PNGs until the end to preserve the existing format and directory preference.
Across 25 runs in a disposable VM booted using
omarchy-iso/test/vm-image/vm-bootfrom the verified 2026.10.12.442 edge image, median indexing time fell from 51.7 ms to 32.4 ms. All 7,201 output paths were byte-for-byte identical. On the host, 20 runs fell from 72.8 ms to 44.5 ms. These measure indexing, not total boot time.Validation: real-tree regression fixtures cover SVG/PNG precedence, XDG directory priority, PNG-only duplicates, device icons, excluded action icons, filenames with spaces and exactly one traversal per root. Existing app-search tests pass. The installed shell restarts, answers IPC and opens the menu in the VM. Claude found no actionable issues; its suggested PNG-only ordering fixture was added.
This PR is to remain unmerged. Greptile feedback will be addressed as it arrives.