Skip to content

admin: Only log fields being changed in dry-run UpdateIncident#8842

Merged
aarongable merged 1 commit into
reland-slogfrom
slog-audit/03-admin-dryrun-update-incident
Jul 7, 2026
Merged

admin: Only log fields being changed in dry-run UpdateIncident#8842
aarongable merged 1 commit into
reland-slogfrom
slog-audit/03-admin-dryrun-update-incident

Conversation

@beautifulentropy

@beautifulentropy beautifulentropy commented Jul 6, 2026

Copy link
Copy Markdown
Member

The dry-run UpdateIncident log recorded zero values (1970 timestamps, enabled=false) for fields the request leaves unset. A real UpdateIncident only applies non-empty fields, so the dry-run record misrepresented what a real run would do. Log only the fields present in the request, so "absent" always means "not changed".

This PR was generated as part of an audit of #8606 using Claude Fable 5.

The dry-run UpdateIncident log recorded zero values (1970 timestamps,
enabled=false) for fields the request leaves unset. A real
UpdateIncident only applies non-empty fields, so the dry-run record
misrepresented what a real run would do. Log only the fields present
in the request, so "absent" always means "not changed".
@beautifulentropy beautifulentropy requested a review from a team as a code owner July 6, 2026 19:03
@beautifulentropy beautifulentropy changed the title admin: only log fields being changed in dry-run UpdateIncident admin: Only log fields being changed in dry-run UpdateIncident Jul 6, 2026
@aarongable aarongable changed the base branch from main to reland-slog July 6, 2026 21:19
@aarongable aarongable requested review from a team and jsha and removed request for a team July 6, 2026 21:42
@aarongable aarongable merged commit c1ab6e1 into reland-slog Jul 7, 2026
18 checks passed
@aarongable aarongable deleted the slog-audit/03-admin-dryrun-update-incident branch July 7, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants