Skip to content

fix(tests): expect ReferrerGuardRailPolicy explanation keys - #8406

Merged
pbhandari merged 1 commit into
masterfrom
fix/test-db-query-referrer-explanation
Aug 27, 2026
Merged

fix(tests): expect ReferrerGuardRailPolicy explanation keys#8406
pbhandari merged 1 commit into
masterfrom
fix/test-db-query-referrer-explanation

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

test_db_query_success was still asserting a stripped-down ReferrerGuardRailPolicy.explanation after the policy started returning reason, policy, and referrer (with storage_key). Update the expectation so master CI matches the live quota_allowance shape.

Requested by Prajjwal Bhandari.

--

View Junior Session [Sentry]

test_db_query_success still asserted only storage_key after the policy
started returning reason/policy/referrer on quota_allowance details.

Co-Authored-By: Prajjwal Bhandari <prajjwal.bhandari@sentry.io>
@pbhandari
pbhandari marked this pull request as ready for review August 27, 2026 15:21
@pbhandari
pbhandari requested a review from a team as a code owner August 27, 2026 15:21

@pbhandari pbhandari left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to rebase the previous PR on top of master before merging. There was a test failure, this fixes that.

@pbhandari
pbhandari enabled auto-merge (squash) August 27, 2026 15:22
@pbhandari
pbhandari merged commit 144e4e7 into master Aug 27, 2026
66 checks passed
@pbhandari
pbhandari deleted the fix/test-db-query-referrer-explanation branch August 27, 2026 15:43
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.

1 participant