- Notifications
You must be signed in to change notification settings - Fork1.1k
fix: remove duplicated envbuilder vars#18144
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
johnstcn left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I found that this breaks non-cached usage of the template:
2025-06-02 10:47:17.530 [warn] Sending logs via AgentAPI v2 coder_version=v2.22.1+8708d81 envbuilder v1.1.0+a3a6a83 - Build development environments from repositories in a container No Dockerfile specified, looking for a devcontainer.json... Failed to locate devcontainer.json: open /workspaces/empty/.devcontainer: no such file or directory Falling back to the default image...We need to ensure thatENVBUILDER_GIT_URL gets passed to the container ifvar.cache_repo is empty.
Uh oh!
There was an error while loading.Please reload this page.
b0d23ca intomainUh oh!
There was an error while loading.Please reload this page.
matifali commentedJun 4, 2025
/cherry-pick release/2.23 |
closes#18137
the
localsblock in thekubernetes-devcontainertemplate contains duplicated environment variables which are already present in theenvbuilder_cached_imageresource.