- Notifications
You must be signed in to change notification settings - Fork928
Closed
Description
Seen here:https://github.com/coder/coder/actions/runs/6631725530/job/18015861331
Error: "[{599ed8f4-7533-4793-86a9-22115ac0c546 2023-10-24 19:39:45.354896 +0000 UTC c2b46c45-4f07-49fa-b618-fa69f38b4148 7985859e-7f20-411b-9404-07513856a02e {{127.0.0.1 ffffffffffffffffffffffffffffffff} %!s(bool=true)} { %!s(bool=false)} workspace_build b750c889-1b93-4611-9bd1-8f258aca97a2 start {} %!s(int32=200) {"workspace_name":"fervent-morse6-Aef","build_number":"1","build_reason":"initiator","workspace_owner":""} 188c31b0-a218-47e4-9755-65b02c010358 } {0a214686-a5df-4609-b132-c8e6cf4a049f 2023-10-24 19:39:45.60328 +0000 UTC c2b46c45-4f07-49fa-b618-fa69f38b4148 00000000-0000-0000-0000-000000000000 {{127.0.0.1 ffffffffffffffffffffffffffffffff} %!s(bool=true)} {Go-http-client/1.1 %!s(bool=true)} workspace 55d359bf-0de6-485d-ad83-1513e2ead410 fervent-morse6-Aef write {} %!s(int32=200) {} 108fa788-2f40-4f39-ba8b-2e0cf13bb104 }]" should have 1 item(s), but has 2
lastUsedAt := workspace.LastUsedAtauditRecorder.ResetLogs()err := client.UpdateWorkspaceDormancy(ctx, workspace.ID, codersdk.UpdateWorkspaceDormancy{Dormant: true,})require.NoError(t, err)require.Len(t, auditRecorder.AuditLogs(), 1) <-- here