Skip to content

bug: Workspace starts, but not recorded in audit logs #7995

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
sharkymark opened this issue Jun 13, 2023 · 4 comments · Fixed by #8513
Closed

bug: Workspace starts, but not recorded in audit logs #7995

sharkymark opened this issue Jun 13, 2023 · 4 comments · Fixed by #8513
Assignees
Labels
must-do Issues that must be completed by the end of the Sprint. Or else. Only humans may set this. s2 Broken use cases or features (with a workaround). Only humans may set this.

Comments

@sharkymark
Copy link
Contributor

Version: v0.24.0+16ebe10

I have reproduced this in 2 separate deployments.

Workspace running, started 30-60 minutes ago
image

Audit logs
image

@cdr-bot cdr-bot bot added the bug label Jun 13, 2023
@sharkymark
Copy link
Contributor Author

This is intermittent - I stopped and started the workspace again. Oddly the stopped event didn't show up until the restart workspace occurred.

image

@sharkymark
Copy link
Contributor Author

I'm confused, I stopped the workspace again, and it says the workspace started and no stop event is logged

image

@bpmct bpmct added the s2 Broken use cases or features (with a workaround). Only humans may set this. label Jun 13, 2023
@Kira-Pilot
Copy link
Member

What I'm seeing on my end is that audit build logs are labeled appropriately, but appear only after a subsequent build has been created.
So, for example, if I start a workspace, I will only see the audit start build log after I stop the workspace. To see the subsequent audit stop build log, I must spawn yet another build. Definitely buggy.
I will dig in some more this sprint to see what changed on the BE.

@bpmct bpmct added the must-do Issues that must be completed by the end of the Sprint. Or else. Only humans may set this. label Jun 21, 2023
@mtojek mtojek self-assigned this Jul 13, 2023
@mtojek
Copy link
Member

mtojek commented Jul 13, 2023

Something is not getting flushed out, I hit it while working on this.

I will take a look 🔧.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
must-do Issues that must be completed by the end of the Sprint. Or else. Only humans may set this. s2 Broken use cases or features (with a workaround). Only humans may set this.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants