Skip to content

acp: Add a timeout when initializing an ACP agent so the user isn't waiting forever (#43663) (cherry-pick to preview)#43668

Merged
zed-zippy[bot] merged 1 commit intov0.215.xfrom
cherry-pick-v0.215.x-007d648f
Nov 27, 2025
Merged

acp: Add a timeout when initializing an ACP agent so the user isn't waiting forever (#43663) (cherry-pick to preview)#43668
zed-zippy[bot] merged 1 commit intov0.215.xfrom
cherry-pick-v0.215.x-007d648f

Conversation

@zed-zippy
Copy link
Contributor

@zed-zippy zed-zippy bot commented Nov 27, 2025

Cherry-pick of #43663 to preview


Sometimes we are unable to receive messages at all from an agent. This
puts on upper bound on the initialize call so we can at least give a
message to the user that something is wrong here.

30s might feel like too long, but I wanted to avoid some false positives
in case there was something an agent needed to do at startup. This will
still communicate to the user at some point that something is wrong,
rather than leave them waiting forever with no signal that something is
going wrong.

Release Notes:

  • agent: Show an error message to the user if we are unable to
    initialize an ACP agent in a reasonable amount of time.

…aiting forever (#43663)

Sometimes we are unable to receive messages at all from an agent. This
puts on upper bound on the `initialize` call so we can at least give a
message to the user that something is wrong here.

30s might feel like too long, but I wanted to avoid some false positives
in case there was something an agent needed to do at startup. This will
still communicate to the user at some point that something is wrong,
rather than leave them waiting forever with no signal that something is
going wrong.

Release Notes:

- agent: Show an error message to the user if we are unable to
initialize an ACP agent in a reasonable amount of time.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Nov 27, 2025
@zed-zippy zed-zippy bot merged commit 678fd29 into v0.215.x Nov 27, 2025
23 checks passed
@zed-zippy zed-zippy bot deleted the cherry-pick-v0.215.x-007d648f branch November 27, 2025 13:25
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant