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

Add warning message when tracker cannot ping machine-exec #443

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dkwon17
Copy link
Contributor

@dkwon17 dkwon17 commented Oct 23, 2024

What does this PR do?

This PR displays an error message to the user if the activity tracker extension fails to ping che-machine-exec. The activity tracker extension regularly pings che-machine-exec to prevent dev environment idling, therefore if the ping fails, this PR lets the user know that their workspace might idle.

What issues does this PR fix?

Fixes eclipse-che/che#23134

How to test this PR?

  1. Create a workspace with the PR image as the editor URL
  2. In the editor, run the following to terminate the che-machine-exec process:
// find machine-exec pid
ps -aux

kill -9 <pid>
  1. Make any file edits in the editor.
  2. Wait about 1 minute. After one minute, the error notification should appear:
    image
  3. Click on "View Logs" to view the error message in the extension's output:

image

Does this PR contain changes that override default upstream Code-OSS behavior?

  • the PR contains changes in the code folder (you can skip it if your changes are placed in a che extension )
  • the corresponding items were added to the CHANGELOG.md file
  • rules for automatic git rebase were added to the .rebase folder

Copy link

github-actions bot commented Oct 23, 2024

Click here to review and test in web IDE: Contribute

Copy link

2 similar comments
Copy link

Copy link

@dkwon17 dkwon17 marked this pull request as ready for review October 24, 2024 00:41
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show error if activity tracker extension fails to ping machine-exec
1 participant