Try to identify dSYMs by UUID not channel (#28268)
This should make it possible to more reliably symbolicate crash reports from nightly, and from users with pending auto-updates. Release Notes: - N/A --------- Co-authored-by: Ben Kunkle <ben.kunkle@gmail.com>
This commit is contained in:
parent
862d0c07ca
commit
f03efeda73
3 changed files with 17 additions and 7 deletions
|
@ -53,10 +53,18 @@ else # ips file
|
|||
|
||||
mkdir -p target/dsyms/$channel
|
||||
|
||||
dsym="$channel/Zed-$version-$arch.dwarf"
|
||||
# NOTE: if you see "no such file --uuid", you need to update your symbolicate
|
||||
uuid=$(symbolicate $input_file --uuid || true)
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "You need to update your symbolicate: cargo install symbolicate"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dsym="$uuid.dwarf"
|
||||
if [[ ! -f target/dsyms/$dsym ]]; then
|
||||
echo "Downloading $dsym..."
|
||||
curl -o target/dsyms/$dsym.gz "https://zed-debug-symbols.nyc3.digitaloceanspaces.com/$channel/Zed-$version-$arch.dwarf.gz"
|
||||
curl -f -o target/dsyms/$dsym.gz "https://zed-debug-symbols.nyc3.digitaloceanspaces.com/by_uuid/${uuid}.dwarf.gz" ||
|
||||
curl -f -o target/dsyms/$dsym.gz "https://zed-debug-symbols.nyc3.digitaloceanspaces.com/$channel/Zed-$version-$arch.dwarf.gz"
|
||||
gunzip target/dsyms/$dsym.gz
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue