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
Tasks: Migrate UI pause/resume to dedicated Tasks endpoints #1330
Scope: Update the task pause/resume UI implementation to use the dedicated Tasks Pause/Resume API endpoints instead of Workspace stop/start operations.
Background:
The initial implementation (#1267) uses workspace stop/start operations under the hood for pausing/resuming tasks. Once the dedicated Tasks Pause/Resume endpoints are available, we should migrate to use these directly for cleaner semantics and potential future task-specific behaviors.
Changes:
Replace workspace stop API calls with Tasks Pause endpoint
Replace workspace start API calls with Tasks Resume endpoint
Update React Query mutations to use new endpoint paths
Update polling/status checks to use task-centric status if available
Remove workspace-specific build waiting logic in favor of task status polling (if applicable)
Activity
mafredri commentedon Feb 19, 2026
@EhabY FYI, these endpoints are available now so this ticket is unblocked.
EhabY commentedon Mar 9, 2026
Fixed by coder/coder#22303 and coder/coder#22544