Skip to content

fix(preprod): Align snapshot comment approval status - #120503

Merged
jamieQ merged 1 commit into
masterfrom
fix/eme-1249-snapshot-approval-mismatch
Jul 23, 2026
Merged

fix(preprod): Align snapshot comment approval status#120503
jamieQ merged 1 commit into
masterfrom
fix/eme-1249-snapshot-approval-mismatch

Conversation

@jamieQ

@jamieQ jamieQ commented Jul 23, 2026

Copy link
Copy Markdown
Member

Snapshot PR comments now derive approval requirements from the same effective policy as the snapshot status check. A reportable change only displays Needs approval when status checks are enabled and that change category is configured to fail; otherwise the comment displays Changes detected.

This keeps PR-comment reporting preferences independent from approval policy while sharing the underlying change evaluator. It also covers disabled status checks and differing reporting/approval criteria with behavioral tests.

Refs EME-1249

@linear-code

linear-code Bot commented Jul 23, 2026

Copy link
Copy Markdown

EME-1249

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 23, 2026
@jamieQ

jamieQ commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

@sentry review

@jamieQ
jamieQ force-pushed the fix/eme-1249-snapshot-approval-mismatch branch from 130c0a0 to 6711040 Compare July 23, 2026 19:46
Separate PR comment reporting criteria from the effective snapshot approval policy so comments only request approval when status checks require it.

Refs EME-1249
@jamieQ
jamieQ force-pushed the fix/eme-1249-snapshot-approval-mismatch branch from 6711040 to ab3b9d4 Compare July 23, 2026 20:46
@jamieQ
jamieQ marked this pull request as ready for review July 23, 2026 21:04
@jamieQ
jamieQ requested a review from a team as a code owner July 23, 2026 21:04
@jamieQ
jamieQ merged commit 599f435 into master Jul 23, 2026
65 checks passed
@jamieQ
jamieQ deleted the fix/eme-1249-snapshot-approval-mismatch branch July 23, 2026 21:53
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.

2 participants