Files
zed/.github/workflows
Juan Luis Cano Rodríguez 0ad670e6ea ci: Use edge snapcraft version (#67308)
## Summary

#16957 was merged without pinning the edge version of snapcraft. The old
patchelf in the current stable version of snapcraft leaves staged
libraries' PT_NOTE segments stale when it relocates note sections
(https://github.com/canonical/snapcraft/issues/6410). As a result,
Mesa's build-id lookup walks those segments and segfaults inside
vkCreateDevice, making the published amd64 snap exit silently on some
machines, as reported in #67283.

I knew this in
https://github.com/zed-industries/zed/pull/66941#issuecomment-6947574551
, but did not update the CI accordingly before the PR was merged.

Closes #67283

## Testing

To build locally:

```
sudo apt update && sudo apt install -y gettext-base   # envsubst, used by script/snap-build
sudo snap install lxd && sudo lxd init --auto
sudo adduser "$USER" lxd  # logout might be needed
# edge risk contains fix for snapcraft#6410 (bundled patchelf 0.19.3)
sudo snap install snapcraft --classic --channel=latest/edge

./script/snap-build 1.29.2        # any version string; produces zed_1.29.2_amd64.snap
sudo snap install --dangerous ./zed_1.29.2_amd64.snap
```

## Self-review

- [x] I've reviewed my diff for quality, security, reliability, and
performance.
- [ ] UI changes follow the
[checklist](https://zed.dev/docs/development/ui-checklist).
- [ ] Tests cover the new or changed behavior.

Release Notes:

- Fixed builds of snap package
2026-11-23 12:32:39 +00:00
..