Skip to content

bug: opening workspace details in UI can cause activity bump #12304

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

Closed
johnstcn opened this issue Feb 26, 2024 · 1 comment
Closed

bug: opening workspace details in UI can cause activity bump #12304

johnstcn opened this issue Feb 26, 2024 · 1 comment
Assignees
Labels
s2 Broken use cases or features (with a workaround). Only humans may set this.

Comments

@johnstcn
Copy link
Member

johnstcn commented Feb 26, 2024

While investigating #11812 I noticed that keeping the workspace tab open in the Web UI will cause the workspace in question to have its deadline bumped.

I reproduced this on dev.coder.com main on 2024-02-23T20:42:47.007070788Z (would have been around commit 13359aa) -- after keeping my workspace on but inactive for several minutes, and then opening the tab in the web UI, I observed the deadline was bumped.

I also noticed the following log entry around the same time:

Relevant portion as regards autostop is:

          "connection_count": 6,
          "connections_by_proto": {
            "TSMP": 2,
            "TCP": 4
          },

One possible theory is that the agent is picking up the TSMP connection from coderd as activity. Another possible theory is that the recently added "open ports" dialog which opens a connection to the agent is being picked up as activity.

@cdr-bot cdr-bot bot added the bug label Feb 26, 2024
@stirby stirby added the s2 Broken use cases or features (with a workaround). Only humans may set this. label Feb 26, 2024
@stirby stirby mentioned this issue Mar 1, 2024
24 tasks
@johnstcn johnstcn assigned johnstcn and unassigned dannykopping Apr 15, 2024
@johnstcn
Copy link
Member Author

Tracking this instead as a part of #12965.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s2 Broken use cases or features (with a workaround). Only humans may set this.
Projects
None yet
Development

No branches or pull requests

3 participants