Add build SHA to panic reports and zed --version (on nightly/dev) (#24258)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-02-06 02:09:24 -07:00 committed by GitHub
parent f08b1d78ec
commit 69e6910c9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 76 additions and 33 deletions

View file

@ -267,6 +267,9 @@ pub struct Panic {
pub backtrace: Vec<String>,
/// Zed version number
pub app_version: String,
/// The Git commit SHA that Zed was built at.
#[serde(skip_serializing_if = "Option::is_none")]
pub app_commit_sha: Option<String>,
/// Zed release channel (stable, preview, dev)
pub release_channel: String,
pub target: Option<String>,