About Zed
Zed’s mission is to build the world’s best text editor, that allows developers to build software collaboratively. They built Zed the IDE, which has grown to hundreds of thousands of weekly active users. They recently released Delta, a new version of their product built for agentic workflows.
Hand-rolled crash reporting could only go so far
When Zed first started, it only ran on macOS. They had a manual process for error monitoring where they would catch issues in the Rust panic handler, ship them to an external endpoint, and use built-in macOS crash reporting.
When they expanded to Linux, that process didn’t scale as well. Every error landed in a Slack channel, ungrouped. They had one message per event and no way to tell a thousand instances of a single bug from a thousand different bugs. When it came time to release on Windows, things got even messier.
“When we were building up for the Windows release, we decided someone else needs to solve this problem now.”
Conrad Irwin, Software Engineer, Zed
Why Sentry
The team evaluated Sentry along with other error monitoring platforms. Their requirements were to have one path for debugging across all platforms, first-class support for Rust, and a way to group errors so engineers could operate more efficiently. They ultimately chose Sentry as it was a trusted solution and the best choice for their needs.
Root causing through community
Once they implemented Sentry, they realized that most of their crashes weren’t even in Rust. They saw a lot of C exceptions and a long tail of strange behavior from client machines.
One memorable example was a recurring crash that kept surfacing in the TLS bindings. It was a length mismatch deep in the networking layer. Zed has a lot of custom networking code, so the team assumed the bug was in their code.
Using Sentry, the engineer could see exactly which users were encountering the bug and found one of them in their Discord channel. That user was able to reproduce the issue, and it turned out that switching his network connection was crashing the app. The culprit was a VPN plugin with a badly behaving byte counter. Sentry helped them pinpoint the issue and the user, and the open source community helped identify the root cause.
How Sentry fits into the workflow today
Zed ships a build daily, promotes it to preview weekly, and lets it bake for a week before pushing to production. During the preview window, catching new errors is the priority. The team pipes Sentry data into a Snowflake dashboard that shows what’s crashing on each build, with links back to individual Sentry issues.
Triage runs through a rotation covering inbound customer reports, open source issues from the community, and Sentry issues. From there, the stack trace goes to the Zed agent itself (via the Sentry CLI) which proposes the root cause. An engineer then manually reviews and opens the PR.
Results
- Crash rate down from ~0.5% to ~0.1% over roughly six months, following a focused stability push
- One crash reporting path across macOS, Linux, and Windows, replacing three partial homegrown solutions
- Grouped, prioritized issues in place
- Per-channel stability tracking that catches regressions before they reach users
What’s next
The team has tested where their automation line sits. For now, they use agents to propose a root cause from a stack trace, but not yet to merge changes without review.
Slack has become the orchestration layer for the team’s debugging work. It’s where the errors land, where engineers decide which ones matter, and where the fix gets kicked off – with Sentry providing the full issue context. Next, the team is working to shorten the loop between an issue landing in a channel, an agent working on it, and a fix being merged.