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

fix(enterprise): update external agent instructions in cli#19411

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

Merged
kacpersaw merged 2 commits intomainfromkacpersaw/fix-external-workspaces-cli
Aug 19, 2025

Conversation

kacpersaw
Copy link
Contributor

Description

The command for agent instructions was incorrectly displayed in the CLI.

pty.ExpectRegexMatch("curl -fsSL .* | CODER_AGENT_TOKEN=.* sh")

<-doneChan
testutil.TryReceive(context.Background(),t,doneChan)
Copy link
Member

Choose a reason for hiding this comment

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

This needs to use a context with a timeout, e.g.ctx := testutil.Context(t, testutil.WaitLong)

Also, you should probably useRequireRecv instead for these, since you want the test to fail if the doneChan never gets closed.

Copy link
Member

Choose a reason for hiding this comment

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

Nevermind, you need to useTryReceive, you're right.

@kacpersawkacpersaw merged commitc429020 intomainAug 19, 2025
45 of 47 checks passed
@kacpersawkacpersaw deleted the kacpersaw/fix-external-workspaces-cli branchAugust 19, 2025 13:54
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 19, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@kacpersawkacpersaw

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@kacpersaw@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp