Skip to content

feat(self-hosted): Introduce setting to toggle air-gapped environments#99281

Merged
vgrozdanic merged 1 commit intomasterfrom
vg/self-hosted-air-gap
Sep 11, 2025
Merged

feat(self-hosted): Introduce setting to toggle air-gapped environments#99281
vgrozdanic merged 1 commit intomasterfrom
vg/self-hosted-air-gap

Conversation

@vgrozdanic
Copy link
Member

@vgrozdanic vgrozdanic commented Sep 11, 2025

Some functionalities of Sentry require outbound network calls, which are impossible in air-gapped self hosted environments.

This PR introduces a setting which can be toggled in self-hosted settings file to stop those kind of tasks from executing.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 11, 2025
@vgrozdanic vgrozdanic requested a review from aldy505 September 11, 2025 09:28
# Controls whether the async task fetches AI model prices from
# external sources and stores them in cache.
register(
"ai.model-costs.enable-external-price-fetch",
Copy link
Member Author

Choose a reason for hiding this comment

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

we no longer need this, as we will use SENTRY_AIR_GAP instead

Copy link
Collaborator

@aldy505 aldy505 left a comment

Choose a reason for hiding this comment

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

Is it only that specific endpoint?

@vgrozdanic
Copy link
Member Author

Is it only that specific endpoint?

for now i think yes, but i will also let others know in our company wide channel once this is merged, to adjust their code if needed

@vgrozdanic vgrozdanic marked this pull request as ready for review September 11, 2025 09:35
@vgrozdanic vgrozdanic requested a review from a team as a code owner September 11, 2025 09:35
@shellmayr shellmayr changed the title feat(self-hosted): Introduce setting to toggle air-gapped environemnts feat(self-hosted): Introduce setting to toggle air-gapped environments Sep 11, 2025
@codecov
Copy link

codecov bot commented Sep 11, 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   #99281      +/-   ##
==========================================
- Coverage   81.24%   81.24%   -0.01%     
==========================================
  Files        8577     8577              
  Lines      379247   379247              
  Branches    24079    24079              
==========================================
- Hits       308135   308132       -3     
- Misses      70756    70759       +3     
  Partials      356      356              

cursor[bot]

This comment was marked as outdated.

@vgrozdanic vgrozdanic force-pushed the vg/self-hosted-air-gap branch from e765fd5 to 95cdb36 Compare September 11, 2025 10:33
@vgrozdanic vgrozdanic merged commit 9c1dab0 into master Sep 11, 2025
63 of 64 checks passed
@vgrozdanic vgrozdanic deleted the vg/self-hosted-air-gap branch September 11, 2025 11:22
@github-actions github-actions bot locked and limited conversation to collaborators Sep 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants