Skip to content

agent_servers: Include stderr in ACP startup exit errors (#55757) (cherry-pick to preview) - #55765

Merged
zed-zippy[bot] merged 1 commit into
v1.1.xfrom
cherry-pick-v1.1.x-360f955c
May 5, 2026
Merged

agent_servers: Include stderr in ACP startup exit errors (#55757) (cherry-pick to preview)#55765
zed-zippy[bot] merged 1 commit into
v1.1.xfrom
cherry-pick-v1.1.x-360f955c

Conversation

@zed-zippy

@zed-zippy zed-zippy Bot commented May 5, 2026

Copy link
Copy Markdown
Contributor

Cherry-pick of #55757 to preview


Previously, we weren't waiting on the status future early enough so we
would just hang if we weren't able to start the agent process.

I also added the recent stderr logs in there to help the user debug the
issue, since it is likely relevant in these cases.

image

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX
    checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Release Notes:

  • acp: Improve error messages if the ACP agent fails to start.

Previously, we weren't waiting on the status future early enough so we
would just hang if we weren't able to start the agent process.

I also added the recent stderr logs in there to help the user debug the
issue, since it is likely relevant in these cases.

<img width="902" height="226" alt="image"
src="https://github.com/user-attachments/assets/204e42ff-4c9b-49e7-8a6d-ecf7b022fbd0"
/>


Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- acp: Improve error messages if the ACP agent fails to start.
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label May 5, 2026
@zed-community-bot zed-community-bot Bot added the bot Pull requests authored by a bot label May 5, 2026
@zed-zippy
zed-zippy Bot merged commit 89a6757 into v1.1.x May 5, 2026
39 checks passed
@zed-zippy
zed-zippy Bot deleted the cherry-pick-v1.1.x-360f955c branch May 5, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Pull requests authored by a bot 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