Skip to content

agent_ui: Fix crash when filtering tools in the agent profile tool picker#58299

Merged
smitbarmase merged 1 commit into
mainfrom
fix-index-panic-tool-picker
Jun 2, 2026
Merged

agent_ui: Fix crash when filtering tools in the agent profile tool picker#58299
smitbarmase merged 1 commit into
mainfrom
fix-index-panic-tool-picker

Conversation

@smitbarmase

@smitbarmase smitbarmase commented Jun 2, 2026

Copy link
Copy Markdown
Member

Closes FR-40

This PR uses the same pattern for can_select as other delegates and also guards can_select call in Picker::render_element which was regressed in #50705.

Release Notes:

  • Fixed a crash that could occur when searching or configuring tools in agent profile settings.

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 2, 2026
@smitbarmase
smitbarmase requested a review from MrSubidubi June 2, 2026 07:36
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 2, 2026
@smitbarmase
smitbarmase added this pull request to the merge queue Jun 2, 2026
Merged via the queue into main with commit f65b6f6 Jun 2, 2026
43 checks passed
@smitbarmase
smitbarmase deleted the fix-index-panic-tool-picker branch June 2, 2026 08:46
@smitbarmase

Copy link
Copy Markdown
Member Author

/cherry-pick preview

zed-zippy Bot added a commit that referenced this pull request Jun 3, 2026
…cker (#58299) (cherry-pick to preview) (#58395)

Cherry-pick of #58299 to preview

----
Closes ZED-8SQ

This PR uses the same pattern for `can_select` as other delegates and
also guards `can_select` call in `Picker::render_element` which was
regressed in #50705.

Release Notes:

- Fixed a crash that could occur when searching or configuring tools in
agent profile settings.

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
This was referenced Jun 18, 2026
liusuren123 pushed a commit to liusuren123/zed that referenced this pull request Jun 24, 2026
…cker (zed-industries#58299)

Closes ZED-8SQ

This PR uses the same pattern for `can_select` as other delegates and
also guards `can_select` call in `Picker::render_element` which was
regressed in zed-industries#50705.

Release Notes:

- Fixed a crash that could occur when searching or configuring tools in
agent profile settings.
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
…cker (zed-industries#58299)

Closes ZED-8SQ

This PR uses the same pattern for `can_select` as other delegates and
also guards `can_select` call in `Picker::render_element` which was
regressed in zed-industries#50705.

Release Notes:

- Fixed a crash that could occur when searching or configuring tools in
agent profile settings.
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.

3 participants