Add workspace failed error section for FAILED/ERROR state workspaces in Workspace details page
MR: Pending
Description
To improve the workspace failure visibility & troubleshooting, we need to add a workspace failed error section to the workspace details page so that users can quickly understand why their workspace failed and see the relevant error information.
Visual Changes
Acceptance criteria
-
Add "Workspace failed" error section that only displays for workspaces in FAILED/ERROR state -
Fetch & display the most recent error log message for the failed workspace -
Handle cases where error details are unavailable gracefully (hide the log & the button) -
Hide section completely for workspaces that are not in failed state -
Error message should be truncated for very long error logs with proper formatting
TODO: Implementation plan
Edited by Sahil Sharma