-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
project/tasksCoder tasksCoder tasks
Description
Problem
When workspace provisioning fails during task creation, the failure is not evident from the Tasks UI. Users see a task that appears to be in progress or stuck, but cannot easily determine that the underlying workspace build has failed.

This creates a poor user experience where:
- Users wait indefinitely for tasks that will never complete
- No clear indication of what went wrong
- Users must navigate away from the task UI to debug issues
Current Behavior
- Task UI shows indeterminate progress
- No indication of provisioning failure
- No link to workspace or build logs
- Users cannot troubleshoot directly from task interface
Expected Behavior
- Clear error state when provisioning fails
- Direct link to failed workspace build
- Access to build logs from task UI
- Clear messaging about what failed and next steps
Proposed Solution
Extend the task UI to:
- Display clear error states for failed provisioning
- Show link to associated workspace when available
- Provide access to workspace build logs inline or via link
- Show helpful error messages and recovery options
Related Work
- tasks: ui: show build logs and agent logs in task UI when workspace build is in progress #19363 (closed) - showed build logs during task creation
- feat: show workspace build logs during tasks creation #19413 (merged) - added workspace build logs during creation
This builds on that work but focuses on failure cases and error visibility.
Metadata
Metadata
Assignees
Labels
project/tasksCoder tasksCoder tasks