From 0952ee7d3a7c46b9438e6adfda20a34da67ca82f Mon Sep 17 00:00:00 2001 From: Smit Barmase Date: Tue, 3 Feb 2026 22:41:59 +0530 Subject: [PATCH] project_panel: Fix test-support feature mismatch (#48280) Follow-up to #46337 `project_panel` tests enable `remote/test-support` (via `workspace`/`project`), which adds `RemoteConnectionOptions::Mock`. But without `remote_connection/test-support`, the match arm for that variant isn't compiled, causing a non-exhaustive match error when testing the crate in isolation. CI doesn't catch this because `git_ui` happens to enable `remote_connection/test-support` during workspace-wide tests. Release Notes: - N/A --- Cargo.lock | 1 + crates/project_panel/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index a42202047ba7d4952cdce6c91b1e749781e3efb0..958082c772213f059a514b1e41aa718001c1f0d9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12836,6 +12836,7 @@ dependencies = [ "pretty_assertions", "project", "rayon", + "remote_connection", "schemars", "search", "serde", diff --git a/crates/project_panel/Cargo.toml b/crates/project_panel/Cargo.toml index 88d85c75f9e6452a72eb4181a94a8bf6395ba754..5149c6f7834474439bd6119511bb294b560fe4de 100644 --- a/crates/project_panel/Cargo.toml +++ b/crates/project_panel/Cargo.toml @@ -54,6 +54,7 @@ criterion.workspace = true editor = { workspace = true, features = ["test-support"] } gpui = { workspace = true, features = ["test-support"] } language = { workspace = true, features = ["test-support"] } +remote_connection = { workspace = true, features = ["test-support"] } serde_json.workspace = true tempfile.workspace = true workspace = { workspace = true, features = ["test-support"] }