Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show error if activity tracker extension fails to ping machine-exec #23134

Open
dkwon17 opened this issue Sep 6, 2024 · 0 comments
Open

Show error if activity tracker extension fails to ping machine-exec #23134

dkwon17 opened this issue Sep 6, 2024 · 0 comments
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.

Comments

@dkwon17
Copy link
Contributor

dkwon17 commented Sep 6, 2024

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:

Unable to communicate with idling service due to error: ${error.message}

This workspace may automatically terminate in ${idletimeout} minutes. For ephemeral workspaces, current workspace content may be lost.
 
Please contact an administrator.

Describe alternatives you've considered

No response

Additional context

No response

@dkwon17 dkwon17 added the kind/enhancement A feature request - must adhere to the feature request template. label Sep 6, 2024
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Sep 6, 2024
@AObuchow AObuchow added area/editor/vscode Issues related to the Code OSS editor of Che and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

3 participants