Skip to content

Conversation

jennmueng
Copy link
Member

Fixes an issue where SEER_API_SHARED_SECRET was hardcoded to an empty string, preventing the generation of Rpcsignature authentication headers for Seer API requests.

This PR:

  • Configures SEER_API_SHARED_SECRET to load its value from the SEER_API_SHARED_SECRET environment variable.
  • Provides a default development secret for SEER_API_SHARED_SECRET when running in development mode (SILO_DEVSERVER or IS_DEV) if the environment variable is not set.

This ensures that requests to the Seer API are properly signed, resolving "No auth header found" errors in both production and development environments.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.


Open in Cursor Open in Web

Copy link
Contributor

cursor bot commented Sep 5, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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

codecov bot commented Sep 5, 2025

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/conf/server.py 33.33% 2 Missing ⚠️

❌ Your patch check has failed because the patch coverage (33.33%) is below the target coverage (50.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #98977      +/-   ##
==========================================
+ Coverage   74.26%   81.23%   +6.97%     
==========================================
  Files        8536     8538       +2     
  Lines      377318   377151     -167     
  Branches    23956    23956              
==========================================
+ Hits       280203   306373   +26170     
+ Misses      96749    70412   -26337     
  Partials      366      366              

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