@@ -101,19 +101,20 @@ var AuditableResources = auditMap(map[any]map[string]Action{
101
101
"ttl" : ActionTrack ,
102
102
"last_used_at" : ActionIgnore ,
103
103
},
104
+ // We don't show any diff for the WorkspaceBuild resource
104
105
& database.WorkspaceBuild {}: {
105
- "id" : ActionIgnore , // Unimportant to the user
106
- "created_at" : ActionIgnore , // Never changes.
107
- "updated_at" : ActionIgnore , // Changes, but is implicit and not helpful in a diff.
108
- "workspace_id" : ActionTrack ,
109
- "template_version_id" : ActionTrack ,
110
- "build_number" : ActionIgnore , // Unimportant to the user
111
- "transition" : ActionTrack ,
112
- "initiator_id" : ActionIgnore , // Changes, but is implicit and not helpful in a diff.
113
- "provisioner_state" : ActionIgnore , // Unimportant to the user
114
- "job_id" : ActionIgnore , // Unimportant to the user
115
- "deadline" : ActionIgnore , // Unimportant to the user
116
- "reason" : ActionIgnore , // Unimportant to the user
106
+ "id" : ActionIgnore ,
107
+ "created_at" : ActionIgnore ,
108
+ "updated_at" : ActionIgnore ,
109
+ "workspace_id" : ActionIgnore ,
110
+ "template_version_id" : ActionIgnore ,
111
+ "build_number" : ActionIgnore ,
112
+ "transition" : ActionIgnore ,
113
+ "initiator_id" : ActionIgnore ,
114
+ "provisioner_state" : ActionIgnore ,
115
+ "job_id" : ActionIgnore ,
116
+ "deadline" : ActionIgnore ,
117
+ "reason" : ActionIgnore ,
117
118
},
118
119
})
119
120
0 commit comments