fix: update directory for terraform-managed subagents (#24220) (#24242)

Cherry-pick of https://github.com/coder/coder/pull/24220

Original PR: #24220 — fix: update directory for terraform-managed
subagents
Merge commit: 3462c31f43
Requested by: @f0ssel

Co-authored-by: Garrett Delfosse <garrett@coder.com>
This commit is contained in:
github-actions[bot]
2026-04-10 11:30:19 -04:00
committed by GitHub
parent 9626fdacad
commit eb2b1d3a8b
10 changed files with 244 additions and 3 deletions
@@ -190,6 +190,14 @@ SET
WHERE
id = $1;
-- name: UpdateWorkspaceAgentDirectoryByID :exec
UPDATE
workspace_agents
SET
directory = $2, updated_at = $3
WHERE
id = $1;
-- name: GetWorkspaceAgentLogsAfter :many
SELECT
*