Skip to content

workspace deadline warning lacks specific time and reason for shutdown  #11694

@stirby

Description

@stirby

The current workspace shutdown warning doesn't display clear enough information for users. It could be specifically improved with adding reasons for imminent shutdown and more granular deadline display.


pseudo-precise shutdown timer

With the current implementation of activityBump from #10704, a static display of workspace shutdown isn't quite suitable. When a user is active in their workspace, a message like the following would be misleading:

autostop_message_1

Since their workspace shutdown deadline would actually be continuously bumping up while they are using it. To remedy this, we could simulate a second-level timer counting up while the user is in their workspace when any TTL configuration is enabled.

From my understanding,


Reason for workspace shutdown

There's also no way for a user to understand why there workspace will shutdown in the displayed interval. A workspace slated for shutdown from a configured Autostop Requirement has greater implication than that from a lack of activity.

Screenshot 2024-01-18 at 4 06 31 PM

Tasks

  • More precise time display on deadline
  • Time to shutdown increments with activity bump
  • Textual reason for shutdown (Autostop Requirement, Inactivity, quiet hours)
  • Whether the shutdown is being enforced by template or workspace configuration
  • docs

Examples

I'll obviously yield to FE here...

1 day, 17:16:12 until workspace shutdown by Autostop Requirement Template Policy

Workspace will shutdown in 17 hours, 19 minutes (Autostop Requirement)

Workspace will shutdown in 17 hours, 19 minutes (Inactivity Timer (see #11690))

Metadata

Metadata

Assignees

Labels

must-doIssues that must be completed by the end of the Sprint. Or else. Only humans may set this.siteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions