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

chore(agent/agentcontainers): disable project autostart by default#19114

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

Conversation

DanielleMaywood
Copy link
Contributor

We disable the logic that allows autostarting discovered devcontainers by default. We want this behavior to be opt-in rather than opt-out.

We disable the logic that allows autostarting discovered devcontainersby default. We want this behavior to be opt-in rather than opt-out.
Copy link
Contributor

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull Request Overview

This PR disables autostarting of discovered devcontainer projects by default, making this behavior opt-in rather than opt-out for better control over automatic project initialization.

  • Adds a new CLI flag--devcontainers-discovery-autostart-enable (defaults to false)
  • Wraps autostart logic with a conditional check based on the new setting
  • Updates tests to verify the new disabled-by-default behavior

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

FileDescription
cli/testdata/coder_agent_--help.goldenUpdates help text to include the new autostart flag documentation
cli/agent.goAdds CLI flag and option configuration for discovery autostart control
agent/agentcontainers/api_test.goAdds test case to verify autostart is disabled by default
agent/agentcontainers/api.goImplements the autostart conditional logic and option setter

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@DanielleMaywoodDanielleMaywood marked this pull request as ready for reviewAugust 4, 2025 08:31
Copy link
Member

@mtojekmtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

👍

@DanielleMaywoodDanielleMaywood merged commitb8e2344 intomainAug 4, 2025
48 of 49 checks passed
@DanielleMaywoodDanielleMaywood deleted the danielle/devcontainer-project-discovery-settings branchAugust 4, 2025 15:21
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 4, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

Copilot code reviewCopilotCopilot left review comments

@mtojekmtojekmtojek approved these changes

@mafredrimafredriAwaiting requested review from mafredri

Assignees

@DanielleMaywoodDanielleMaywood

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@DanielleMaywood@mtojek

[8]ページ先頭

©2009-2025 Movatter.jp