-
Notifications
You must be signed in to change notification settings - Fork 8
fix(devcontainer): persist profile selection #1271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
3e49ed9
fix(devcontainer): persist profile selection
skevetter 348048c
fix(devcontainer): normalize legacy subpath
skevetter d5a409b
fix(devcontainer): normalize persisted subpath
skevetter 0b91ef8
fix(devcontainer): restore embedded config priority and pin path sema…
skevetter 0af0e67
refactor(devcontainer): extract last-path fallback and wrap long lines
skevetter 85b766d
fix(devcontainer): normalize leading slash in stored git subpath
skevetter 72c082d
fix(devcontainer): skip stale last-path fallback after content reset
skevetter c690070
refactor(devcontainer): trim redundant comments
skevetter 847f906
test(e2e): assert the retained profile after selector-free restart
skevetter 4dab18b
refactor(e2e): trim profile assertion comment
skevetter cb2dbdc
fix: embedded devcontainer config outranks persisted path/id selectors
skevetter 10a76f9
fix: honor the effective devcontainer selector on the crane path
skevetter ac08840
test: hoist the repeated embedded image marker into a constant
skevetter 4c7c615
fix: treat only not-exist as absent in the last-path staleness check
skevetter e52154f
refactor(devcontainer): trim redundant comments
skevetter a11a6b9
test(e2e): tolerate transient rootful Podman SSH stalls
skevetter 3ca4ed8
test(e2e): read lifecycle markers from workspace
skevetter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
4 changes: 4 additions & 0 deletions
4
e2e/tests/up-docker-compose/testdata/docker-compose-multi-profile/.devcontainer/compose.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| services: | ||
| app: | ||
| image: ghcr.io/devsy-org/test-images/go:1 | ||
| command: sleep infinity |
9 changes: 9 additions & 0 deletions
9
...-compose/testdata/docker-compose-multi-profile/.devcontainer/max-nvidia/devcontainer.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "name": "max-nvidia", | ||
| "dockerComposeFile": "../compose.yaml", | ||
| "service": "app", | ||
| "workspaceFolder": "/workspaces", | ||
| "containerEnv": { | ||
| "SELECTED_PROFILE": "max-nvidia" | ||
| } | ||
| } |
9 changes: 9 additions & 0 deletions
9
...-docker-compose/testdata/docker-compose-multi-profile/.devcontainer/max/devcontainer.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "name": "max", | ||
| "dockerComposeFile": "../compose.yaml", | ||
| "service": "app", | ||
| "workspaceFolder": "/workspaces", | ||
| "containerEnv": { | ||
| "SELECTED_PROFILE": "max" | ||
| } | ||
| } |
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.