Skip to content

Conversation

kacpersaw
Copy link
Contributor

Description

CODER_AGENT_TOKEN env variable was incorrectly being passed to the curl command instead of the executed script during agent initialization.

Fixed the command order to ensure CODER_AGENT_TOKEN is properly passed to the script execution context rather than the download command.

@kacpersaw kacpersaw changed the title fix(coderd): correct order for external agent init cmd fix(enteprise): correct order for external agent init cmd Aug 19, 2025
@kacpersaw kacpersaw changed the title fix(enteprise): correct order for external agent init cmd fix(enterprise): correct order for external agent init cmd Aug 19, 2025
@kacpersaw kacpersaw enabled auto-merge (squash) August 19, 2025 10:44
@kacpersaw kacpersaw merged commit c7cfa65 into main Aug 19, 2025
31 checks passed
@kacpersaw kacpersaw deleted the kacpersaw/fix-external-agent-linux-cmd branch August 19, 2025 11:00
@github-actions github-actions bot locked and limited conversation to collaborators Aug 19, 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.

2 participants