mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-28 09:34:29 +00:00
Helps #51567 Refs #54531 Summary: - Add total timeouts for ACP Registry JSON fetches and icon fetches, including response body reads. - Download registry icons concurrently and keep icon failures non-fatal, so a blocked icon CDN does not delay registry availability by one timeout per agent. - Surface the stored registry fetch error in the ACP Registry empty state and add a retry action. This addresses cases where the registry request, or one of the icon requests, never finishes. It does not make blocked networks succeed, but it prevents the UI from sitting on `Loading registry...` indefinitely and gives the user something actionable instead. Test plan: - `git diff --check HEAD~1..HEAD` - `cargo fmt --check --package project --package agent_ui` - `cargo check -p project` - `cargo check -p agent_ui` - `cargo test -p project --features test-support registry_refresh_` Release Notes: - Fixed the ACP Registry getting stuck on loading when registry or icon requests hang. --------- Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com> Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com> |
||
|---|---|---|
| .. | ||
| agent_registry_store.rs | ||
| bookmark_store.rs | ||
| color_extractor.rs | ||
| context_server_store.rs | ||
| debugger.rs | ||
| ext_agent_tests.rs | ||
| extension_agent_tests.rs | ||
| git_store.rs | ||
| image_store.rs | ||
| lsp_command.rs | ||
| lsp_store.rs | ||
| manifest_tree.rs | ||
| project_search.rs | ||
| project_tests.rs | ||
| search.rs | ||
| search_history.rs | ||
| signature_help.rs | ||
| task_inventory.rs | ||
| trusted_worktrees.rs | ||
| yarn.rs | ||