-
Notifications
You must be signed in to change notification settings - Fork 929
feat(agent/agentcontainers): support apps for dev container agents #18346
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 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
eb8a469
feat(agent/agentcontainers): support apps for dev container agents
DanielleMaywood 0dc5bb2
chore: copilot feedback
DanielleMaywood bcd6689
chore: more changes
DanielleMaywood 91fd4e7
chore: pass env variables + remove accidental commit
DanielleMaywood c273b23
chore: fix some tests
DanielleMaywood 8698100
chore: fix issues
DanielleMaywood 8ec61b6
chore: fix and update test
DanielleMaywood ab2e82e
chore: fix oopsie
DanielleMaywood 4db77af
test: add organization sharing level
DanielleMaywood d3a2583
chore: CODER_DEPLOYMENT_URL -> CODER_URL
DanielleMaywood 20e832a
chore: remove all the pointers
DanielleMaywood 336997b
chore: handle in CloneConfig as well
DanielleMaywood 0ae2616
chore: rename WithUserName and WithWorkspaceName to WithManifestInfo
DanielleMaywood e17b228
chore: just use PATH
DanielleMaywood d1da3a1
chore: app deduplication
DanielleMaywood c6652a1
chore: appease linter
DanielleMaywood 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
chore: pass env variables + remove accidental commit
- Loading branch information
commit 91fd4e71b21c93b6d6d771822cfd4557ab0f7d97
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
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.
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.
The naming is slightly unfortunate but we currently have both
CODER_URL
andCODER_AGENT_URL
in the product, and a third one seems like too much.IMO
CODER_URL
would be more appropriate, however, it would be nice if these environment variables were also set on the parent workspace/agent (withCODER_AGENT_URL
we're at 3/4). The reason is that if a user runsdevcontainer up
manually, these values are then serializable into the docker container label.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've replaced it with
CODER_URL
. If you'd ratherCODER_AGENT_URL
I'm happy to update it again.I don't think we can rely on anything serialized at the point of
devcontainer up
, as theCODER_WORKSPACE_AGENT_NAME
will be the parents agent name, not the child. So I'm not sure there is too much benefit there.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.
Yeah, that's a good point about the conflicting env. Let's go with
CODER_URL
for now 👍🏻