Skip to content

Fix panic in can_resolve when passed an invalid excerpt ID#50052

Merged
maxdeviant merged 1 commit intomainfrom
fix-can-resolve-panic
Feb 25, 2026
Merged

Fix panic in can_resolve when passed an invalid excerpt ID#50052
maxdeviant merged 1 commit intomainfrom
fix-can-resolve-panic

Conversation

@ConradIrwin
Copy link
Member

Fixes ZED-59F

This is follow-up work from #49994; which assumed that can_resolve would return
false for an invalid excerpt id.

Before you mark this PR as ready for review, make sure that you have:

  • Added a solid test coverage and/or screenshots from doing manual testing
  • Done a self-review taking into account security and performance aspects
  • Aligned any UI changes with the UI checklist

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 25, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Feb 25, 2026
@ConradIrwin ConradIrwin enabled auto-merge (squash) February 25, 2026 05:01
@maxdeviant maxdeviant changed the title Fix panic in can_resolve when passed an invalid excerpt id Fix panic in can_resolve when passed an invalid excerpt ID Feb 25, 2026
@maxdeviant maxdeviant disabled auto-merge February 25, 2026 05:02
@maxdeviant maxdeviant enabled auto-merge (squash) February 25, 2026 05:02
@maxdeviant maxdeviant merged commit bc81ada into main Feb 25, 2026
38 checks passed
@maxdeviant maxdeviant deleted the fix-can-resolve-panic branch February 25, 2026 05:16
ConradIrwin added a commit that referenced this pull request Feb 25, 2026
pull bot pushed a commit to FlorianDevP/zed that referenced this pull request Feb 25, 2026
…tries#50052)

Fixes ZED-59F

This is follow-up work from zed-industries#49994; which assumed that can_resolve would
return
false for an invalid excerpt id.

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A
pull bot pushed a commit to FlorianDevP/zed that referenced this pull request Feb 25, 2026
…tries#50052)

Fixes ZED-59F

This is follow-up work from zed-industries#49994; which assumed that can_resolve would
return
false for an invalid excerpt id.

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A
tahayvr pushed a commit to tahayvr/zed that referenced this pull request Mar 4, 2026
…tries#50052)

Fixes ZED-59F

This is follow-up work from zed-industries#49994; which assumed that can_resolve would
return
false for an invalid excerpt id.

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A
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