Skip to content

o11y(preprod): Add context to snapshot status check and PR comment logs#115612

Open
NicoHinderling wants to merge 2 commits into
masterfrom
fix/snapshot-status-check-logging
Open

o11y(preprod): Add context to snapshot status check and PR comment logs#115612
NicoHinderling wants to merge 2 commits into
masterfrom
fix/snapshot-status-check-logging

Conversation

@NicoHinderling
Copy link
Copy Markdown
Contributor

@NicoHinderling NicoHinderling commented May 14, 2026

Add structured log fields to the success events for both snapshot
status check posts and PR comment posts.

When a user reports that their GitHub status check or PR comment
wasn't updated, we can see the post succeeded but have no way to
tell what was posted. These fields close that gap without
introducing high-cardinality metric tags (log extras only).

Status checks (preprod.snapshot_status_checks.post.success):
adds status, subtitle, repo, sha

PR comments (preprod.snapshot_pr_comments.post.success):
adds repo_name, pr_number, is_update

The success log for posting GitHub status checks only included
artifact and check IDs. Add status, subtitle, repo, and sha to
help diagnose cases where a status check post succeeds but GitHub
doesn't reflect the expected state.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 14, 2026
@NicoHinderling NicoHinderling marked this pull request as ready for review May 14, 2026 23:10
@NicoHinderling NicoHinderling requested a review from a team as a code owner May 14, 2026 23:10
Add repo_name, pr_number, and is_update to the success log for
posting snapshot PR comments, matching the status check logging
improvement.

Co-Authored-By: Claude <noreply@anthropic.com>
@NicoHinderling NicoHinderling changed the title o11y(preprod): Add context to snapshot status check success log o11y(preprod): Add context to snapshot status check and PR comment logs May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant