Repository navigation
fix(workspace): add terminal.integrated.defaultProfile.linux override to devcontainer.json - #207
Merged
gerchowl merged 3 commits intoFeb 26, 2026
Conversation
gerchowl
changed the base branch from
dev
to
feature/70-remote-devc-orchestration
February 26, 2026 11:43
gerchowl
merged commit Feb 26, 2026
835ed30
into
feature/70-remote-devc-orchestration
1 check passed
gerchowl
deleted the
bugfix/206-cursor-agent-forkpty-terminal-override
branch
February 26, 2026 11:44
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.
Description
When a user's Cursor/VS Code settings configure
terminal.integrated.defaultProfile.linuxto a shell not present in the container image (e.g.zsh), the Agent chat shell fails withforkpty(3) failedand the extension host times out. This adds a"terminal.integrated.defaultProfile.linux": "bash"setting to the devcontainer.json template so the container always overrides the user's host-side preference.Type of Change
fix-- Bug fixModifiers
!) -- This change breaks backward compatibilityChanges Made
"terminal.integrated.defaultProfile.linux": "bash"toassets/workspace/.devcontainer/devcontainer.jsonsettingsChangelog Entry
Fixed
terminal.integrated.defaultProfile.linux: "bash"to devcontainer.json template settingsTesting
npx bats tests/bats/init-workspace.bats)Manual Testing Details
Checklist
CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
The container image ships
bashbut notzsh. Users with"terminal.integrated.defaultProfile.linux": "zsh"in their global Cursor settings hit this silently. The devcontainer.jsoncustomizations.vscode.settingsoverride ensures the container always usesbashregardless of the host-side preference.Refs: #206