Skip to content

Include changed paths in remote UpdatedEntries events - #58157

Merged
cole-miller merged 1 commit into
mainfrom
martin/remote-updated-entries-paths
Jun 16, 2026
Merged

Include changed paths in remote UpdatedEntries events#58157
cole-miller merged 1 commit into
mainfrom
martin/remote-updated-entries-paths

Conversation

@MartinYe1234

@MartinYe1234 MartinYe1234 commented May 31, 2026

Copy link
Copy Markdown
Contributor

Include the changed paths in UpdatedEntries events emitted by remote worktrees.

Previously a remote worktree emitted Event::UpdatedEntries with an empty changeset (Arc::default()), discarding the changed paths. The changeset now carries the real added/updated/removed paths, resolving removed entries against the previous snapshot.

Release Notes:

  • Fixed file change events not reporting changed paths in remote projects

@MartinYe1234 MartinYe1234 self-assigned this May 31, 2026
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label May 31, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label May 31, 2026
@MartinYe1234
MartinYe1234 force-pushed the martin/remote-updated-entries-paths branch from 1e0d5d6 to 16d22c1 Compare May 31, 2026 02:43
@MartinYe1234
MartinYe1234 requested a review from cole-miller May 31, 2026 02:45
@MartinYe1234
MartinYe1234 marked this pull request as ready for review May 31, 2026 02:47

@cole-miller cole-miller left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cole-miller
cole-miller added this pull request to the merge queue Jun 16, 2026
Merged via the queue into main with commit 36a3a2a Jun 16, 2026
36 checks passed
@cole-miller
cole-miller deleted the martin/remote-updated-entries-paths branch June 16, 2026 14:35
This was referenced Jun 18, 2026
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
…#58157)

Include the changed paths in `UpdatedEntries` events emitted by remote
worktrees.

Previously a remote worktree emitted `Event::UpdatedEntries` with an
empty changeset (`Arc::default()`), discarding the changed paths. The
changeset now carries the real added/updated/removed paths, resolving
removed entries against the previous snapshot.

Release Notes:

- Fixed file change events not reporting changed paths in remote
projects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants