Skip to content

Conversation

@solnic
Copy link
Collaborator

@solnic solnic commented Sep 25, 2025

This updates sidekiq spec setup to be inline with other projects by adding spec:isolated group and moving rails_spec.rb there because it is meant to be run in isolation where sentry-rails is required.

While working on this I also discovered that there's spec flakiness here due to the fact that redis patch is enabled by default and spec require order would make some specs randomly fail under Sidekiq <= 6.5. I fixed it by removing redis from default patches in the test config but I am wondering why this patch is enabled be default?

#skip-changelog

@dingsdax dingsdax self-requested a review September 26, 2025 09:15
@dingsdax dingsdax requested review from sl0thentr0py and removed request for dingsdax October 20, 2025 14:06
@solnic solnic force-pushed the sidekiq-better-rails-specs branch 2 times, most recently from b1e0b29 to c605a1f Compare October 28, 2025 10:56
@solnic solnic force-pushed the sidekiq-better-rails-specs branch from c605a1f to f88a5bb Compare October 28, 2025 11:09
@codecov
Copy link

codecov bot commented Oct 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.24%. Comparing base (f951c95) to head (f88a5bb).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2723   +/-   ##
=======================================
  Coverage   97.24%   97.24%           
=======================================
  Files         130      130           
  Lines        5229     5229           
=======================================
  Hits         5085     5085           
  Misses        144      144           
Components Coverage Δ
sentry-ruby 97.54% <ø> (ø)
sentry-rails 96.74% <ø> (ø)
sentry-sidekiq 95.05% <ø> (ø)
sentry-resque 94.44% <ø> (ø)
sentry-delayed_job 94.68% <ø> (ø)
sentry-opentelemetry 99.31% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@solnic solnic marked this pull request as ready for review October 28, 2025 11:21
@sl0thentr0py
Copy link
Member

sl0thentr0py commented Oct 30, 2025

We generally default enable integrations that are widely used. Sentry SDK design is not opt-in in most cases.

What errors specifically does the patch cause?

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.

3 participants