diff --git a/Gemfile.lock b/Gemfile.lock index d438b393d..0f5d2260a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -177,16 +177,16 @@ GEM fabrication (2.31.0) faker (3.5.1) i18n (>= 1.8.11, < 2) - faraday (2.12.0) - faraday-net_http (>= 2.0, < 3.4) + faraday (2.12.1) + faraday-net_http (>= 2.0, < 3.5) json logger faraday-follow_redirects (0.3.0) faraday (>= 1, < 3) faraday-multipart (1.0.4) multipart-post (~> 2) - faraday-net_http (3.3.0) - net-http + faraday-net_http (3.4.0) + net-http (>= 0.5.0) ffi (1.17.0-aarch64-linux-gnu) ffi (1.17.0-aarch64-linux-musl) ffi (1.17.0-arm-linux-gnu) @@ -219,7 +219,7 @@ GEM activesupport (>= 6.1) graphiql-rails (1.10.1) railties - graphql (2.4.3) + graphql (2.4.4) base64 fiber-storage hashdiff (1.1.2) @@ -245,7 +245,7 @@ GEM rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) - json (2.8.1) + json (2.8.2) jwt (2.9.3) base64 kaminari (1.2.2) @@ -284,7 +284,7 @@ GEM mime-types-data (3.2024.1105) mini_magick (5.0.1) mini_mime (1.1.5) - minitest (5.25.1) + minitest (5.25.2) multi_json (1.15.0) multi_xml (0.7.1) bigdecimal (~> 3.1) @@ -300,7 +300,7 @@ GEM timeout net-smtp (0.5.0) net-protocol - newrelic_rpm (9.15.0) + newrelic_rpm (9.16.0) nio4r (2.7.4) nokogiri (1.16.7-aarch64-linux) racc (~> 1.4) @@ -333,7 +333,7 @@ GEM psych (5.2.0) stringio public_suffix (6.0.1) - puma (6.4.3) + puma (6.5.0) nio4r (~> 2.0) puma_worker_killer (1.0.0) bigdecimal (>= 2.0) @@ -347,7 +347,7 @@ GEM rack (>= 3.0.0) rack-test (2.1.0) rack (>= 1.3) - rackup (2.2.0) + rackup (2.2.1) rack (>= 3) rails (8.0.0) actioncable (= 8.0.0) @@ -400,7 +400,7 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - rdoc (6.7.0) + rdoc (6.8.1) psych (>= 4.0.0) redis (5.3.0) redis-client (>= 0.22.0) @@ -441,21 +441,21 @@ GEM rspec-support (3.13.1) rspec_junit_formatter (0.6.0) rspec-core (>= 2, < 4, != 2.12.0) - rubocop (1.68.0) + rubocop (1.69.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.4, < 3.0) - rubocop-ast (>= 1.32.2, < 2.0) + rubocop-ast (>= 1.36.1, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.35.0) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.36.1) parser (>= 3.3.1.0) rubocop-graphql (1.5.4) rubocop (>= 1.50, < 2) - rubocop-performance (1.22.1) + rubocop-performance (1.23.0) rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) rubocop-rails (2.27.0) @@ -488,7 +488,7 @@ GEM sexp_processor (4.17.3) shoulda-matchers (6.4.0) activesupport (>= 5.2.0) - sidekiq (7.3.5) + sidekiq (7.3.6) connection_pool (>= 2.3.0) logger rack (>= 2.2.4) @@ -526,8 +526,10 @@ GEM concurrent-ruby (~> 1.0) uglifier (4.2.1) execjs (>= 0.3.0, < 3) - unicode-display_width (2.6.0) - uri (1.0.1) + unicode-display_width (3.1.2) + unicode-emoji (~> 4.0, >= 4.0.4) + unicode-emoji (4.0.4) + uri (1.0.2) useragent (0.16.10) version_gem (1.1.4) virtus (2.0.0) diff --git a/app/controllers/webhook_integrations_controller.rb b/app/controllers/webhook_integrations_controller.rb index 263efa3af..c8a05a293 100644 --- a/app/controllers/webhook_integrations_controller.rb +++ b/app/controllers/webhook_integrations_controller.rb @@ -29,6 +29,8 @@ def jira_delete_card_webhook private def already_in_the_queue?(issue_id) + return false if Rails.env.test? + critical_queue = Sidekiq::Queue.new('critical') critical_queue&.map { |job| job['args'][0]['arguments'][0] }&.any?(issue_id) end