Skip to content

Fix infinite loop when inferring outline body range#58536

Merged
osyvokon merged 1 commit into
mainfrom
outline-infite-loop
Jun 4, 2026
Merged

Fix infinite loop when inferring outline body range#58536
osyvokon merged 1 commit into
mainfrom
outline-infite-loop

Conversation

@osyvokon

@osyvokon osyvokon commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

This test would cause an infinite loop without the fix.

Closes #53298 and #54069

Release Notes:

  • Fixed high CPU usage when using Zeta in some cases (thanks @clupprich!)

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 4, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 4, 2026
@osyvokon osyvokon added this pull request to the merge queue Jun 4, 2026
Merged via the queue into main with commit 61cdd8d Jun 4, 2026
45 checks passed
@osyvokon osyvokon deleted the outline-infite-loop branch June 4, 2026 12:28
@zed-zippy zed-zippy Bot added the PR state:needs review Used to label PRs that are in need of a post-merge approval label Jun 4, 2026
@clupprich

Copy link
Copy Markdown

Amazing - thank you @osyvokon!

@probably-neb

Copy link
Copy Markdown
Collaborator

@zed-zippy approve

@zed-zippy zed-zippy Bot removed the PR state:needs review Used to label PRs that are in need of a post-merge approval label Jun 4, 2026
@probably-neb

Copy link
Copy Markdown
Collaborator

/cherry-pick preview
/cherry-pick stable

zed-zippy Bot added a commit that referenced this pull request Jun 4, 2026
…pick to preview) (#58590)

Cherry-pick of #58536 to preview

----
This test would cause an infinite loop without the fix.

Closes #53298 and #54069

Release Notes:

- Fixed high CPU usage when using Zeta in some cases (thanks
@clupprich!)

Co-authored-by: Oleksiy Syvokon <oleksiy@zed.dev>
zed-zippy Bot added a commit that referenced this pull request Jun 4, 2026
…pick to stable) (#58591)

Cherry-pick of #58536 to stable

----
This test would cause an infinite loop without the fix.

Closes #53298 and #54069

Release Notes:

- Fixed high CPU usage when using Zeta in some cases (thanks
@clupprich!)

Co-authored-by: Oleksiy Syvokon <oleksiy@zed.dev>
TomPlanche pushed a commit to TomPlanche/zed that referenced this pull request Jun 8, 2026
…8536)

This test would cause an infinite loop without the fix.

Closes zed-industries#53298 and zed-industries#54069

Release Notes:

- Fixed high CPU usage when using Zeta in some cases (thanks
@clupprich!)
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

3 participants