Skip to content

thread_view: Add fallback error handling for connect failures#50063

Merged
benbrandt merged 1 commit intomainfrom
fix-issue-50039-1485ba1b3e508421
Feb 25, 2026
Merged

thread_view: Add fallback error handling for connect failures#50063
benbrandt merged 1 commit intomainfrom
fix-issue-50039-1485ba1b3e508421

Conversation

@yeskunall
Copy link
Member

Following up from #50061: when connecting to an ACP adapter fails before any thread is active, errors would not display in the Agent Panel. Falling back to handle_load_error to show the error UI properly as it already handles this.

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:

  • Added fallback error handling for connect failures in the Agent Panel

When connecting to an ACP adapter fails before any thread is active,
errors would not
display in the Agent Panel. Falling back to `handle_load_error` to show
the
error UI properly as it already handles this.
@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
Copy link
Member

@benbrandt benbrandt left a comment

Choose a reason for hiding this comment

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

Thanks!

@benbrandt benbrandt merged commit 3d5c8a5 into main Feb 25, 2026
37 checks passed
@benbrandt benbrandt deleted the fix-issue-50039-1485ba1b3e508421 branch February 25, 2026 08:25
@benbrandt
Copy link
Member

/cherry-pick preview

github-actions bot pushed a commit that referenced this pull request Feb 25, 2026
Following up from #50061: when
connecting to an ACP adapter fails before any thread is active, errors
would not display in the Agent Panel. Falling back to
`handle_load_error` to show the error UI properly as it already handles
this.

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

Release Notes:

- Added fallback error handling for connect failures in the Agent Panel
zed-zippy bot added a commit that referenced this pull request Feb 25, 2026
… (cherry-pick to preview) (#50067)

Cherry-pick of #50063 to preview

----
Following up from #50061: when
connecting to an ACP adapter fails before any thread is active, errors
would not display in the Agent Panel. Falling back to
`handle_load_error` to show the error UI properly as it already handles
this.

Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI

checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Added fallback error handling for connect failures in the Agent Panel

Co-authored-by: Kunall Banerjee <hey@kimchiii.space>
tahayvr pushed a commit to tahayvr/zed that referenced this pull request Mar 4, 2026
…dustries#50063)

Following up from zed-industries#50061: when
connecting to an ACP adapter fails before any thread is active, errors
would not display in the Agent Panel. Falling back to
`handle_load_error` to show the error UI properly as it already handles
this.

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

Release Notes:

- Added fallback error handling for connect failures in the Agent Panel
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