-
Notifications
You must be signed in to change notification settings - Fork 881
audit: Two entries created for adding a auto-stop time of 1 hour #4317
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
Comments
@coadler why does this happen? |
This is happening because we send down two requests when we update the workspace schedule form: 1) to There are a couple things we should do here:
Working on a PR for this now. |
Turns out we may, in the future, have audit logs with empty diffs for valid use cases. Therefore, we are only going to fix 1. in the above comment. If anyone needs an audit log cleanup, we should delete invalid records for them. Shouldn't be an issue as audit logs have only been enabled on our deploy. |
Version:
v0.9.1+27c8345
I added an auto-off setting to a workspace of 1 hour.
In the audit logs, it created 2 entries. The first entry does let me open it, to see the change.
Unfortunately it is in raw millisecond detail and not 1 hour like in the UI.
The unknown second audit log entry for this same event, cannot be opened.
The text was updated successfully, but these errors were encountered: