mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-27 11:02:33 +01:00
9d1a1bf541
## Summary Restarting a stopped dev container skips `initializeCommand`. Zed now runs it before the restart, as the [spec](https://containers.dev/implementors/json_reference/#lifecycle-scripts) requires. Closes #66381 ## Testing - `test_runs_initialize_command_before_restarting_container` fails if the command is skipped or runs after the start. - `cargo test -p dev_container` and `./script/clippy -p dev_container` pass. ## Self-review - [x] I've reviewed my diff for quality, security, reliability, and performance. - [x] UI changes follow the [checklist](https://zed.dev/docs/development/ui-checklist). - [x] Tests cover the new or changed behavior. Release Notes: - Fixed dev containers skipping `initializeCommand` on restart