From 07e57bb48812d415bbf84398c8e93a72625836bb Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Mon, 4 May 2026 20:44:05 +0200 Subject: [PATCH] zed: Do not upload crashes that lack an associated release (#55605) We will not have any debug data for these anyways (and usually this indicates someone else made a built that somehow points to our sentry endpoint ...) Release Notes: - N/A or Added/Fixed/Improved ... --- crates/zed/src/reliability.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/zed/src/reliability.rs b/crates/zed/src/reliability.rs index e6c3821507c..b74cdebbacd 100644 --- a/crates/zed/src/reliability.rs +++ b/crates/zed/src/reliability.rs @@ -266,6 +266,10 @@ async fn upload_minidump( minidump: Vec, metadata: &crashes::CrashInfo, ) -> Result<()> { + if metadata.init.commit_sha == "no sha" { + log::warn!("No commit sha set, skipping minidump upload"); + return Ok(()); + } let mut form = Form::new() .part( "upload_file_minidump",