Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watcher - correlate events to their requesting source #194776

Merged
merged 39 commits into from
Oct 10, 2023

Conversation

bpasero
Copy link
Member

@bpasero bpasero commented Oct 4, 2023

No description provided.

@bpasero bpasero self-assigned this Oct 4, 2023
@bpasero bpasero changed the base branch from main to ben/vast-partridge October 4, 2023 06:43
@bpasero bpasero changed the title Ben/watcher-correlation watcher - correlate events to their requesting source Oct 4, 2023
@bpasero bpasero added this to the October 2023 milestone Oct 4, 2023
Base automatically changed from ben/vast-partridge to main October 4, 2023 07:13
@bpasero bpasero marked this pull request as ready for review October 10, 2023 04:48
@bpasero bpasero merged commit 29b6943 into main Oct 10, 2023
5 checks passed
@bpasero bpasero deleted the ben/watcher-correlation branch October 10, 2023 08:27
@bpasero
Copy link
Member Author

bpasero commented Oct 10, 2023

fyi @lszomoru, this makes it possible for an extension such as Git to fully own a recursive file watcher with custom exclude rules even inside the workspace. I remember we had talked about it and was not sure if you still have a usecase for it.

Alex0007 pushed a commit to Alex0007/vscode that referenced this pull request Oct 26, 2023
* watcher - emit `URI` instead of `string` for faster `fsPath` compute  (for microsoft#194341)

* wip

* more

* adopt

* some cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* implement correlation

* cleanup

* add correlation

* undo, leave for later

* tests

* tests

* tests

* tests

* tests

* log cId

* simpler correlation id

* 💄

* tests

* runs

* skip normalization

* fix tests

* tests

* fix tests

* add `createWatcher` API

* partition events in ext host

* allow custom excludes

* remove disk file change

* 💄

* 💄

* 💄

* wire in

* wire in
@github-actions github-actions bot locked and limited conversation to collaborators Nov 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants