Files
zed/crates/dev_container
Parker Loflin 9d1a1bf541 dev_container: Run initializeCommand when restarting a container (#67315)
## 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
2026-11-23 11:25:22 +00:00
..
2026-09-17 08:49:31 +00:00