From 0103f151c2fefdf210d12275764e94c57037998b Mon Sep 17 00:00:00 2001 From: Kunall Banerjee Date: Wed, 25 Feb 2026 01:27:52 -0500 Subject: [PATCH] agent_server_store: Broaden Windows asset detection to all architectures (#50061) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously only `x86_64` Windows used ZIP archives, but ARM64 Windows builds also use ZIP format. Closes #50039. > [!NOTE] > The P1 is two-fold: the user cannot download the ZIP file on Windows ARM. BUT -- the Agent Panel is stalled because of that. This ONLY makes it so that the ZIP download doesn’t fail, but if for some reason the download fails, the panel is genuinely stuck with no recovery path. Every restart attempts the same download, hits the same GZIP error, and silently drops it again. 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 - [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: - Broaden Windows asset detection to all architectures --- crates/project/src/agent_server_store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/project/src/agent_server_store.rs b/crates/project/src/agent_server_store.rs index 3dcbab8bafb470602c99c88049eb5266886ed1cd..958c422dc70bd53e5a66f007f9ac43fd1c61bf27 100644 --- a/crates/project/src/agent_server_store.rs +++ b/crates/project/src/agent_server_store.rs @@ -1615,7 +1615,7 @@ impl ExternalAgentServer for LocalCodex { &asset.browser_download_url, digest, &version_dir, - if cfg!(target_os = "windows") && cfg!(target_arch = "x86_64") { + if cfg!(target_os = "windows") { AssetKind::Zip } else { AssetKind::TarGz