Repository navigation
fix(devcontainer): isolate image build metadata from workspace settings - #2309
Merged
Merged
Conversation
dan-petty
marked this pull request as ready for review
October 26, 2026 17:29
dan-petty
pushed a commit
that referenced
this pull request
Oct 26, 2026
🤖 I have created a release *beep* *boop* --- ## [0.6.5](v0.6.4...v0.6.5) (2026-10-26) ### Bug Fixes * **ai:** analyze pr previews under --dry-run and contacts no service ([#2327](#2327)) ([c402b6d](c402b6d)) * **dashboard:** reject unknown tab option values and remove refresh_all ([#2310](#2310)) ([27f8c60](27f8c60)), closes [#1904](#1904) * **deps:** renovate updates the image tags in k8s/ manifests ([#2325](#2325)) ([b0ebce0](b0ebce0)) * **devcontainer:** isolate image build metadata from workspace settings ([#2309](#2309)) ([7672c71](7672c71)) * **output:** remove duplicated check marks from success messages ([#2313](#2313)) ([db7c3c4](db7c3c4)) * **review:** record coverage gaps on base read failures and accept empty diffs ([#2326](#2326)) ([a307ac0](a307ac0)) * **roadmap:** the roadmap runs on a rebuilt board, because GitHub refuses to add 149 issues to board 2 ([#2320](#2320)) ([48c78ca](48c78ca)) * **security:** cloudflared 2026.10.4 replaces 2026.9.3, which trusts eight compromised eMudhra certificates ([#2324](#2324)) ([e6750be](e6750be)) * **security:** prevent directory traversal in response cache and isolate storage ([#2321](#2321)) ([1967695](1967695)) * **telemetry:** send project gauges through OTLP only ([#2288](#2288)) ([#2315](#2315)) ([aeaa52e](aeaa52e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The published devcontainer image previously built from the workspace configuration
.devcontainer/devcontainer.json. Dev Containers CLI embedded workspace properties (volume mounts, lifecycle hooks, and editor settings) into the image labeldevcontainer.metadata. Child repositories that used the image inherited these settings.This change implements the upstream two-configuration pattern:
.devcontainer/image/devcontainer.jsonand.devcontainer/image/devcontainer-lock.jsoncontaining the Dockerfile build, features,remoteUser: vscode, and common container environment variables without workspace mounts, lifecycle hooks, or editor customizations..github/actions/devcontainer-image/action.ymlto build from.devcontainer/image/devcontainer.json.tests/test_devcontainer.py,tests/test_workflow_contracts.py, andtests/test_third_party_telemetry.pyto ensure workspace settings are omitted from the image configuration, feature dependencies stay equal, and the composite action builds the image configuration.Closes #1898
Change:
openspec/changes/archive/2026-10-26-1898-devcontainer-image-metadata/Verification
Failing test evidence verified against base tree:
Full CI suite: