Skip to content

Comments

feat: FileService - onDidChangeFile - Implement file change buffering to deduplicate events (solution 1)#17016

Open
safisa wants to merge 1 commit intoeclipse-theia:masterfrom
safisa:safi-fileEvents
Open

feat: FileService - onDidChangeFile - Implement file change buffering to deduplicate events (solution 1)#17016
safisa wants to merge 1 commit intoeclipse-theia:masterfrom
safisa:safi-fileEvents

Conversation

@safisa
Copy link
Contributor

@safisa safisa commented Feb 18, 2026

What it does

First solution to the issue below (simple with overhead: 100ms latency on every file change event + extra complexity):

Fixes: #16520

Brief summary:
Deduplicate at the FileService event emission — centralized, prevents all consumers from seeing duplicates

See comment for details:
#16520 (comment)

How to test

Follow-ups

Breaking changes

  • This PR introduces breaking changes and requires careful review. If yes, the breaking changes section in the changelog has been updated.

Attribution

Review checklist

Reminder for reviewers

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

Labels

None yet

Projects

Status: Waiting on reviewers

Development

Successfully merging this pull request may close these issues.

FileService.onDidFilesChange emits duplicate identical events for a single file change

1 participant