Skip to content

feat(cli): add exp task send - #19922

Merged
DanielleMaywood merged 3 commits into
mainfrom
danielle/tasks/cli-send
Sep 25, 2025
Merged

DanielleMaywood merged 3 commits into
mainfrom
danielle/tasks/cli-send

Conversation

@DanielleMaywood

@DanielleMaywood DanielleMaywood commented Sep 23, 2025 •

Copy link
Copy Markdown
Contributor

@DanielleMaywood
DanielleMaywood force-pushed the danielle/tasks/cli-send branch 6 times, most recently from d95cac4 to b9f3c22 Compare September 25, 2025 12:23
@DanielleMaywood
DanielleMaywood marked this pull request as ready for review September 25, 2025 13:07

@johnstcn johnstcn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀

@mafredri mafredri left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Minor nits on terminology, otherwise LGTM!

Still waiting for my fix to be deployed, but it does send a message even though there's an error 😄

❯ go build ./cmd/coder && ./coder exp tasks send task-foo-bar-15e4 'run echo hi'
Encountered an error running "coder exp task send", see "coder exp task send --help" for more information
error: Trace=[send input to task: ]
Task app rejected the message.
Upstream response: map[$schema:http://localhost:3284/schemas/MessageResponseBody.json ok:true]

Comment thread cli/exp_task_send.go Resolved
Comment thread cli/exp_task_send.go Resolved
DanielleMaywood and others added 2 commits September 25, 2025 15:05
Co-authored-by: Mathias Fredriksson <[email protected]>
Co-authored-by: Mathias Fredriksson <[email protected]>
@DanielleMaywood
DanielleMaywood merged commit 252f430 into main Sep 25, 2025
@DanielleMaywood
DanielleMaywood deleted the danielle/tasks/cli-send branch September 25, 2025 14:40
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tasks CLI: Add send command

3 participants