Refactor extension architecture and improve reliability/security hardening#5
Open
nirajkvinit wants to merge 5 commits intokaransinghgit:mainfrom
Open
Refactor extension architecture and improve reliability/security hardening#5nirajkvinit wants to merge 5 commits intokaransinghgit:mainfrom
nirajkvinit wants to merge 5 commits intokaransinghgit:mainfrom
Conversation
…t settings
- replace shared debounce behavior with queued URI-set flushing to prevent dropped updates
- listen to file change/edit/save events so badges update reliably on content edits
- switch cache invalidation from size-only to {size, mtimeMs} to avoid stale same-size edits
- fix empty-file stream counting edge case
- normalize skip-path matching for cross-platform folder patterns
- track and dispose timers/watchers/provider state cleanly across refresh/deactivate
- remove intrusive startup popups and use status bar updates
- add linesight.* configuration schema (size limit, debounce, batch, excludes, include extensions, etc.)
- fix broken test script by making test run compile+lint
- update README settings section
- upgrade eslint/typescript-eslint/typescript dev toolchain to remove TS version warning
…ore extension modules, comprehensive test suite, and changelog.
This was referenced Feb 7, 2026
…e counts in the hundreds, along with updated tests and documentation.
…ions for CI/CD and publishing, and rewrite the README.
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.
Summary
This PR modularizes the extension codebase and adds reliability/security hardening for file decoration updates in large or high-churn workspaces. Read CHANGELOG.md for more detailed information about the fixes
What Changed
LineSight/src/cache.tsLineSight/src/concurrency.tsLineSight/src/config.tsLineSight/src/constants.tsLineSight/src/decorationProvider.tsLineSight/src/fileFilter.tsLineSight/src/fileWatcher.tsLineSight/src/initialization.tsLineSight/src/lineCounter.tsLineSight/src/state.tsLineSight/src/timer.tsLineSight/src/types.tsLineSight/src/extension.tsas a thin entrypoint.Why
Validation
npm testpasses (compile + lint + unit tests).Notes / Follow-ups