Add workspace failed error section for FAILED/ERROR state workspaces in Workspace details page
MR: Pending <!-- NOTE: For context on MR heading, see: https://handbook.gitlab.com/handbook/engineering/devops/dev/create/remote-development/index.html#relationship-of-issues-to-mrs --> ## Description To [improve the workspace failure visibility & troubleshooting](https://gitlab.com/groups/gitlab-org/-/epics/16787), 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 ![image](/uploads/3f10d1523a4218f011912f82cc90576f/image.png) ## 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 <!-- NOTE: Feel free to expand with more sections and headers as needed --> <!-- DO NOT TOUCH BELOW -->
issue