feat: massive indexing performance and UX improvements #165
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.
Summary
Massive improvements to indexing performance and CLI user experience, delivering a 184% speedup and eliminating all silent processing gaps.
Performance Improvements (184% faster)
dev stats(saves 1-3s)dev owners(1s)UX Improvements (No More Silent Gaps)
Section-Based Progress Display
dev index,dev update,dev git index,dev github indexContext-Aware
dev ownersCommandThree intelligent modes:
packages/cli/,packages/core/)Smart ownership display:
Examples:
Your file (clean, minimal):
Your file + recent activity by others:
Someone else's stale file:
Architecture Simplifications
file_authorsSQLite table (on-demand is fast enough)appendFileAuthors()andgetFileAuthors()from MetricsStoreauthorContributionsfrom IndexUpdatedEventTechnical Details
log-updatedependency for smooth progress updatesProgressRendererclass for section-based progress displaybuildCodeMetadata()to derive change frequency from author contributionsTesting
All 1100+ tests passing ✅
Breaking Changes
None for end users. Internal APIs changed:
IndexUpdatedEventno longer includesauthorContributionsMetricsStoremethods removed (use on-demand calculation instead)Before: 95s with 3-minute silent gaps
After: 33s with continuous feedback every 1 second