Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitec50a35

Browse files
authored
chore(cli): disable agent devcontainer integration by default (#16531)
Until we have more of the building blocks in place, disable the agentdevcontainer integration by default. We'll enable it by default at alater date.
1 parentb396408 commitec50a35

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

‎cli/agent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ func (r *RootCmd) workspaceAgent() *serpent.Command {
475475
},
476476
{
477477
Flag:"devcontainers-enable",
478-
Default:"true",
478+
Default:"false",
479479
Env:"CODER_AGENT_DEVCONTAINERS_ENABLE",
480480
Description:"Allow the agent to automatically detect running devcontainers.",
481481
Value:serpent.BoolOf(&devcontainersEnabled),

‎cli/testdata/coder_agent_--help.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ OPTIONS:
3333
--debug-address string, $CODER_AGENT_DEBUG_ADDRESS (default: 127.0.0.1:2113)
3434
The bind address to serve a debug HTTP server.
3535

36-
--devcontainers-enable bool, $CODER_AGENT_DEVCONTAINERS_ENABLE (default:true)
36+
--devcontainers-enable bool, $CODER_AGENT_DEVCONTAINERS_ENABLE (default:false)
3737
Allow the agent to automatically detect running devcontainers.
3838

3939
--log-dir string, $CODER_AGENT_LOG_DIR (default: /tmp)

‎dogfood/contents/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ resource "docker_container" "workspace" {
374374
"CODER_PROC_PRIO_MGMT=1",
375375
"CODER_PROC_OOM_SCORE=10",
376376
"CODER_PROC_NICE_SCORE=1",
377+
"CODER_AGENT_DEVCONTAINERS_ENABLE=1",
377378
]
378379
host {
379380
host="host.docker.internal"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp