Show error if activity tracker extension fails to ping machine-exec #23134
Labels
area/editor/vscode
Issues related to the Code OSS editor of Che
kind/enhancement
A feature request - must adhere to the feature request template.
Is your enhancement related to a problem? Please describe
In CheCode, the activity tracker extension sends events to che-machine-exec to let it know that the current workspace is being used by the user. This is done to detect whether the workspace is idle or not, as idle workspaces are terminated in 30 minutes by default, which is configured from
spec.devEnvironments.secondsOfInactivityBeforeIdling
from the CheCluster CR.If the activity tracker extension fails to ping che-machine-exec, a message is printed in the extension logs, however this is not easily noticeable from the user's perspective.
Describe the solution you'd like
If the ping to che-machine-exec fails, a one-time error notification can be created to let the user know that there are problems with activity/idle detection.
For example:
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: