Auto Update Post-Mortem
A settings-loading refactor in Zed changed the auto-update setting's type from `Option<bool>` to `bool`, so a missing user value was treated as an explicit `false` instead of falling back to the default settings file, silently disabling auto-updates in v0.203.0–v0.203.4 and v0.204.0. The regression was spotted internally hours before the stable release, but the Slack message never reached the people shipping it. Affected users must run "auto update: check" or download manually. Zed added a CI test guarding the `auto_update` default, will route regression reports through a `@first-responders` escalation alias, and plans to simplify its settings code.
Related posts
- How We Rebuilt Settings in Zed
Zed mediumAdeptZed's new Settings Editor required replacing its distributed, runtime-registered settings model, where each crate declared its own settings, with centralized strongly typed `UserSettings` and `ProjectSettings` structures that map directly to configuration files. A first attempt using macros to attach UI metadata became tangled in the crate graph's split between pre-UI and UI regions. Changes made under the old architecture also accidentally broke auto-update. Treating the settings files as the organizing principle led to a separate window rather than a workspace tab. On the UI side, GPUI gained tab groups that scope tab indices locally for automatic keyboard navigation, plus a `use_state`-style API for keeping ephemeral component state in the UI tree, which went through some memory-leak and scoping bugs before stabilizing.
- Zed Weekly: #28
Zed mediumAdeptZed is rewriting its editor as Zed2 in three phases (runnable core editing, productivity features like collaboration, terminal and Vim mode, then flagship features like Assistant, Copilot and Chat), aiming for a preview by end of 2023 and open-sourcing shortly after Zed2 supersedes Zed1. Team updates cover porting core UI such as popovers, autocomplete menus and breadcrumbs. The UI component work introduces a shared `ButtonLike` base for `Button` and `IconButton` and Rust traits like `Selectable` that concrete components delegate to, keeping APIs and styling consistent. Other updates include typescript-language-server, eslint and prettier fixes, plus an idea for searching gitignored directories in the file finder.
- Zed Weekly: #23
Zed mediumAdeptZed's weekly team update covers a fix for typing lag with autocomplete. Completion re-filtering was offloaded to background workers, but a higher-level callsite blocked the UI thread waiting on that future, so the re-filter now runs without blocking and races the re-request to the language server. Other items: UI components migrated to the latest GPUI with stories now living beside each component, GPUI 2's stateless element model requiring IDs on stateful elements such as click handlers, prettier and Vue.js integration in the next preview, Universal Links, channel permissions and a notifications panel.
- Zed Moves Toward Secure-by-Default: Introducing Worktree Trust
Zed mediumAdeptZed now opens new worktrees in Restricted Mode, refusing to parse project `.zed/settings.json`, spawn language servers, or start MCP servers until the user explicitly trusts the worktree. The change follows Mindgard vulnerability reports showing that a malicious project settings file could execute arbitrary shell commands via MCP `context_servers` or LSP `binary` entries simply by opening the project. Trust is persisted per host (local, SSH, WSL), can cover a parent folder, and can be reset with `workspace::ClearTrustedWorktrees`. An opt-out `trust_all_worktrees` setting exists for sandboxed environments, though manually granted trust is the only kind that persists across restarts.
- How a Jenkins Job Broke our Jenkins UI
Slack Engineering mediumAdeptAfter a Jenkins and plugin upgrade, Slack's Jenkins UI broke whenever an integrity job marked a node offline using a custom Groovy OfflineMessage class extending Localizable. Reproducing the failure in staging and tailing the logs turned up a 'Rejecting unsandboxed property get' error. That error traced back to a groovy-sandbox tightening in the Script Security Plugin made to fix CVE-2020-2279. Replacing the custom class with the built-in OfflineCause.ByCLI string constructor fixed it, and the takeaways are to mirror production in staging, keep Jenkins API integrations lean, watch sandbox and plugin changelogs, and maintain upgrade runbooks.