Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
zed: Do not upload crashes that lack an associated release (#55605)
Lukas Wirth07e57bb48812
diff --git a/crates/zed/src/reliability.rs b/crates/zed/src/reliability.rsindex 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<u8>,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",