You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix agent auth during shutdown scripts (#19467) #1249
Scope: Fix agent token validation so run_on_stop scripts can make authenticated API calls.
Problem: The agent auth query joins with the latest build. When a stop build is created, the agent from the previous start build fails authorization before shutdown scripts complete.
Changes:
Modify agent token validation query in coderd/database/queries/workspaceagents.sql
Ensure agent token remains valid during the shutdown window
Activity
fix(coderd): allow agent auth during workspace shutdown (coder#21538)