Skip to content

Ensure updateUID gets run for docker-compose and plain images#53106

Merged
KyleBarton merged 4 commits intomainfrom
fix_update_uid_logic_for_devcontainer_plain_images
Apr 6, 2026
Merged

Ensure updateUID gets run for docker-compose and plain images#53106
KyleBarton merged 4 commits intomainfrom
fix_update_uid_logic_for_devcontainer_plain_images

Conversation

@KyleBarton
Copy link
Copy Markdown
Collaborator

Dev Containers should run a script which updates the remote UID of the image user, so that files are still accessible. This was being run incorrectly (on the Docker-compose side) or not at all (in the case of a plain dev container image). This change fixes this

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Closes #53081

Release Notes:

  • Fixed dev container behavior for configs which use images without a dockerfile
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Apr 3, 2026
@zed-codeowner-coordinator zed-codeowner-coordinator Bot requested review from a team, Veykril and reflectronic and removed request for a team April 3, 2026 22:31
@KyleBarton KyleBarton self-assigned this Apr 3, 2026
@KyleBarton KyleBarton merged commit c9d799e into main Apr 6, 2026
30 checks passed
@KyleBarton KyleBarton deleted the fix_update_uid_logic_for_devcontainer_plain_images branch April 6, 2026 16:01
piper-of-dawn pushed a commit to piper-of-dawn/zed that referenced this pull request Apr 25, 2026
…dustries#53106)

Dev Containers should run a script which updates the remote UID of the
image user, so that files are still accessible. This was being run
incorrectly (on the Docker-compose side) or not at all (in the case of a
plain dev container image). This change fixes this

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes zed-industries#53081

Release Notes:

- Fixed dev container behavior for configs which use images without a
dockerfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

3 participants