docs(provider/env): clarify merge_strategy does not include host environment - #538
Merged
Conversation
bpmct
marked this pull request as ready for review
August 24, 2026 11:40
nickvigilante
approved these changes
Aug 24, 2026
nickvigilante
left a comment
Contributor
There was a problem hiding this comment.
I pushed a commit with a few tweaks for clarity and a deliberate sublist for each of the possible values, but LGTM!
🚀
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The
merge_strategyschema description forcoder_envonly explained how values merge acrosscoder_envresources. It never mentioned that this excludes any value already present in the workspace's environment, such as a base image'sPATH. A user hit this in coder/coder#27501: appending toPATHacross threecoder_envresources replaced the host'sPATHentirely.Update the schema description and the
coder_envexample to show referencing$PATHin one resource so the host's original value is kept. Ranmake gento regeneratedocs/resources/env.md.Refs coder/coder#27501
Opened by Coder Agents on behalf of @bpmct.