Skip to content

ref(browser reporting): Use option to control Reporting-Endpoints header #93560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

lobsterkatie
Copy link
Member

This switches our check for whether to add the Reporting-Endpoints header from using staff.is_active (which seems to be false even if the user has is_staff = True in the database) to using a new option, issues.browser_reporting.reporting_endpoints_header_enabled.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 13, 2025
Copy link

codecov bot commented Jun 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #93560       +/-   ##
===========================================
+ Coverage   46.30%   88.00%   +41.69%     
===========================================
  Files       10306    10322       +16     
  Lines      594236   594964      +728     
  Branches    23141    23141               
===========================================
+ Hits       275175   523608   +248433     
+ Misses     318568    70863   -247705     
  Partials      493      493               

@lobsterkatie lobsterkatie force-pushed the kmclb-use-option-for-adding-reporting-endpoints-header branch from 46da06e to c8b92a1 Compare June 13, 2025 22:37
@lobsterkatie lobsterkatie marked this pull request as ready for review June 13, 2025 23:01
@lobsterkatie lobsterkatie requested a review from a team as a code owner June 13, 2025 23:01
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