Summary
Following WA-SEC-019 (narrowing broad rescue clauses), verify that Sidekiq workers handle errors correctly under the Rails 7.1 appraisal — specifically that StandardError rescues don't suppress legitimate retry-triggering errors.
Approach
# Find all Sidekiq workers
grep -r 'include Sidekiq::Worker' --include='*.rb' -l .
# Check for rescue patterns in workers
grep -rn 'rescue\b' --include='*.rb' core/app/workers/ | grep -v '^\s*#'
# Run worker tests under Rails 7.1 appraisal
BUNDLE_GEMFILE=gemfiles/rails_7_1.gemfile bundle exec rake core_test TEST_FILES="test/workers/**"
Acceptance Criteria
Client Impact
None (verification only). Any fixes would be separate issues.
Notes
Related to WA-SEC-019 (PR #1040 — narrow broad rescue clauses).
Summary
Following WA-SEC-019 (narrowing broad rescue clauses), verify that Sidekiq workers handle errors correctly under the Rails 7.1 appraisal — specifically that
StandardErrorrescues don't suppress legitimate retry-triggering errors.Approach
Acceptance Criteria
rescueremaining,StandardErrorboundaries appropriate)Client Impact
None (verification only). Any fixes would be separate issues.
Notes
Related to WA-SEC-019 (PR #1040 — narrow broad rescue clauses).