Skip to content

fix: stop updating agent stats from deleted workspaces #11026

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

Merged
merged 7 commits into from
Dec 7, 2023

Conversation

f0ssel
Copy link
Contributor

@f0ssel f0ssel commented Dec 4, 2023

This does not solve #10820, but I found it while I was in the area. I figure this should probably be the behavior, but let me know if I'm wrong.

This was from a hunch that orphaned workspace agents were still reporting stats and causing stats to be incorrect on the dashboard. This does not seem to be the case for my original bug, but I think this check is still valid.

@f0ssel f0ssel marked this pull request as ready for review December 4, 2023 20:16
@f0ssel f0ssel changed the title fix: prevent deleted workspaces from updating agent stats fix: stop updating agent stats from deleted workspaces Dec 5, 2023
f0ssel and others added 3 commits December 7, 2023 17:49
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com>
@f0ssel f0ssel requested review from Emyrk and johnstcn and removed request for kylecarbs and deansheather December 7, 2023 17:55
@f0ssel f0ssel merged commit 228cbec into main Dec 7, 2023
@f0ssel f0ssel deleted the f0ssel/active-user-bug branch December 7, 2023 18:55
@github-actions github-actions bot locked and limited conversation to collaborators Dec 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants