8000 feat(agent/agentcontainers): support apps for dev container agents by DanielleMaywood · Pull Request #18346 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

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 16 commits into from
Jun 18, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: add organization sharing level
  • Loading branch information
DanielleMaywood committed Jun 18, 2025
commit 4db77afa15041ddee7c04b9112c4f3b84453104d
8 changes: 8 additions & 0 deletions agent/agentcontainers/subagent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ func TestSubAgentClient_CreateWithDisplayApps(t *testing.T) {
Slug: "public-app",
Share: ptr.Ref(codersdk.WorkspaceAppSharingLevelPublic),
},
{
Slug: "organization-app",
Share: ptr.Ref(codersdk.WorkspaceAppSharingLevelOrganization),
},
},
expectedApps: []*agentproto.CreateSubAgentRequest_App{
{
Expand All @@ -200,6 +204,10 @@ func TestSubAgentClient_CreateWithDisplayApps(t *testing.T) {
Slug: "public-app",
Share: agentproto.CreateSubAgentRequest_App_PUBLIC.Enum(),
},
{
Slug: "organization-app",
Share: agentproto.CreateSubAgentRequest_App_ORGANIZATION.Enum(),
},
},
},
{
Expand Down
Loading
0