Skip to content

Conversation

@lcian
Copy link
Member

@lcian lcian commented Nov 17, 2025

  • Enable objectstore in the backend-ci mode of devservices
  • Fail tests that have the requires_objectstore decorator if the service is not running
  • Rewrite localhost URLs passed down to symbolicator during tests

@codecov
Copy link

codecov bot commented Nov 17, 2025

Codecov Report

❌ Patch coverage is 75.00000% 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/lang/native/symbolicator.py 85.71% 1 Missing ⚠️
src/sentry/testutils/skips.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #103483      +/-   ##
===========================================
+ Coverage   80.61%    80.63%   +0.01%     
===========================================
  Files        9280      9280              
  Lines      396184    396165      -19     
  Branches    25250     25247       -3     
===========================================
+ Hits       319402    319458      +56     
+ Misses      76322     76247      -75     
  Partials      460       460              

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 18, 2025
@lcian lcian marked this pull request as ready for review November 20, 2025 20:02
@lcian lcian requested review from a team as code owners November 20, 2025 20:02
@lcian lcian requested a review from a team November 20, 2025 20:02
Copy link
Contributor

@Swatinem Swatinem left a comment

Choose a reason for hiding this comment

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

🎉 🥔

if report.stored_id:
session = get_attachments_session(self.project.organization_id, self.project.id)
storage_url = session.object_url(report.stored_id)
storage_url = maybe_rewrite_objectstore_url(storage_url)
Copy link
Member

Choose a reason for hiding this comment

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

Instead of rewriting the the URL here, can we set the objectstore.config option to point to objectstore in tests?

Copy link
Member Author

Choose a reason for hiding this comment

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

If you did that you would run into the opposite problem, i.e. sentry wouldn't be able to reach http://objectstore:8888, because sentry is not running in docker.

@lcian lcian merged commit 29eee6d into master Nov 24, 2025
65 checks passed
@lcian lcian deleted the lcian/ci/enable-objectstore branch November 24, 2025 09:49
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.

5 participants