From 0b3066665a46bef2e472f334970897bbf387a90c Mon Sep 17 00:00:00 2001 From: "zed-zippy[bot]" <234243425+zed-zippy[bot]@users.noreply.github.com> Date: Wed, 4 Feb 2026 23:09:37 +0000 Subject: [PATCH] Remove cmpl- prefix validation from Mercury feedback (#48410) (cherry-pick to stable) (#48422) Cherry-pick of #48410 to stable ---- Release Notes: - N/A Co-authored-by: Kenan Hasanaliyev --- crates/edit_prediction/src/mercury.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/crates/edit_prediction/src/mercury.rs b/crates/edit_prediction/src/mercury.rs index 66302787aa8ea5b4b58c55e1b0cdd80a24510550..d5769fc4c5a526ea63cfc02d93e6f7796fd46a6a 100644 --- a/crates/edit_prediction/src/mercury.rs +++ b/crates/edit_prediction/src/mercury.rs @@ -378,14 +378,6 @@ fn send_feedback( let request_id = prediction_id.0; let app_version = AppVersion::global(cx); cx.background_spawn(async move { - if !request_id.starts_with("cmpl-") { - log::warn!( - "Mercury feedback: invalid request_id '{}' - must start with 'cmpl-'", - request_id - ); - return anyhow::Ok(()); - } - let body = FeedbackRequest { request_id, provider_name: "zed",