Investigate how to show workspace is no longer usable once default resources of the agent are reduced
MR: Pending
Description
The following discussion from !139209 (merged) should be addressed:
-
@cwoolley-gitlab started a discussion: (+1 comment) observation (non-blocking): When the max resources are lowered in the config and the workspace is auto-restarted, if the requested resources exceed the new lower max limits in the agent config, the
actual_state
of the workspace is left inStarting
actual state with a spinner, and it is unusable, even though there's no indication to the user that the workspace will never start again unless the max limits are increased again in the agent config.Nothing can be done with the workspace except terminate it. The only option to keep working is to start a new workspace with lower resource requests which are under the new agent max limits, which would lose .
This isn't a good UX, we should probably create an issue to follow up on this to make the experience better.
This should probably also be tied to the existing issue/epic to provide an audit log/event UI for workspaces (e.g. Emit audit events for workspaces (#414897)), and or the admin UI work (Customize workspace settings for efficient reso... (&10571 - closed))
Acceptance Criteria
TODO: Fill out (required)
-
[Describe what must be achieved to complete this issue.] -
[Describe another requirement needed to complete this issue.] -
[Add additional acceptance criteria as needed.]
Technical Requirements
TODO: Fill out or delete [If applicable, please list out any technical requirements for this feature/enhancement.]
Design Requirements
TODO: Fill out or delete [If applicable, please provide a link to the design specifications for this feature/enhancement.]
Impact Assessment
TODO: Fill out or delete [Please describe the impact this feature/enhancement will have on the user experience and/or the product as a whole.]
User Story
TODO: Fill out or delete [Provide a user story to illustrate the use case for this feature/enhancement. Include examples to help communicate the intended functionality.]