Skip to content

Delete pulled diagnostics when the source registration is unregistered (#46105) (cherry-pick to preview)#46117

Merged
zed-zippy[bot] merged 1 commit intov0.218.xfrom
cherry-pick-v0.218.x-8ba030ab
Jan 5, 2026
Merged

Delete pulled diagnostics when the source registration is unregistered (#46105) (cherry-pick to preview)#46117
zed-zippy[bot] merged 1 commit intov0.218.xfrom
cherry-pick-v0.218.x-8ba030ab

Conversation

@zed-zippy
Copy link
Contributor

@zed-zippy zed-zippy bot commented Jan 5, 2026

Cherry-pick of #46105 to preview


Additionally, fix a race condition where we'd still insert diagnostics
from a document or workspace pull even if the registration had been
unregistered in the time since the request was issued.

And, as a bonus: when a new pull diagnostics registration is added,
issue document pulls immediately.

This should fix regressions with basedpyright caused by
#43703.

Release Notes:

  • N/A

#46105)

Additionally, fix a race condition where we'd still insert diagnostics
from a document or workspace pull even if the registration had been
unregistered in the time since the request was issued.

And, as a bonus: when a new pull diagnostics registration is added,
issue document pulls immediately.

This should fix regressions with basedpyright caused by
#43703.

Release Notes:

- N/A
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 5, 2026
@zed-zippy zed-zippy bot merged commit c6f850e into v0.218.x Jan 5, 2026
23 checks passed
@zed-zippy zed-zippy bot deleted the cherry-pick-v0.218.x-8ba030ab branch January 5, 2026 23:49
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant