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

Cannot trigger inactivity #1649

Open
neilhunt1 opened this issue Feb 17, 2025 · 1 comment
Open

Cannot trigger inactivity #1649

neilhunt1 opened this issue Feb 17, 2025 · 1 comment
Labels

Comments

@neilhunt1
Copy link

For some reason, in my logs-daemon, I continuously see a stream of logs stating there is new latest activity, and thus never triggering an inactivity event. I have tried to close the IDE entirely, I have tried to lock the computer screen, I'm not sure what else would need to happen to trigger inactivity on Windows?

What happened?
Every minute I see logs like

{"level":"info","msg":"Workspace {REDACT}' has latest activity at '2025-02-17 23:07:11.600476788 +0000 UTC', will auto-stop machine in 9m51.231026239s","time":"2025-02-17T23:07:20Z"}
{"level":"info","msg":"Workspace '{REDACT}' has latest activity at '2025-02-17 23:08:12.011522706 +0000 UTC', will auto-stop machine in 9m51.63986485s","time":"2025-02-17T23:08:20Z"}
{"level":"info","msg":"Workspace {REDACT}' has latest activity at '2025-02-17 23:09:12.327569677 +0000 UTC', will auto-stop machine in 9m51.952443545s","time":"2025-02-17T23:09:20Z"}

What did you expect to happen instead?
I would expect that at least with closing the IDE or with putting the computer in locked screen mode that it would not record an activity event every minute. I would think even if I didn't click on the IDE at all during that minute, it would also not trigger activity, but that may be slightly more difficult. So I don't know how to trigger inactivity.

How can we reproduce the bug? (as minimally and precisely as possible)
I'm not sure, I'm wondering under what conditions I should expect not to see activity in my log, and what those conditions are for you.

Local Environment:

  • DevPod Version: 0.6.12
  • Operating System: windows
  • ARCH of the OS: AMD64 |

DevPod Provider:

  • Cloud Provider: aws

Anything else we need to know?

@Aoi-03
Copy link

Aoi-03 commented Feb 20, 2025

i have tried a bit on it

Aoi-03 added a commit to Aoi-03/devpod that referenced this issue Feb 20, 2025
there was an issue mentioned by @neilhunt1 (loft-sh#1649),
i have tried this code to prevent this, hope this will be useful
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants