stewartmckee / cobweb

Web crawler with very flexible crawling options. Can either use standalone or can be used with resque to perform clustered crawls.
MIT License
227 stars 45 forks source link

Bump sidekiq from 3.5.3 to 6.2.2 #65

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps sidekiq from 3.5.3 to 6.2.2.

Changelog

Sourced from sidekiq's changelog.

6.2.2

  • Reduce retry jitter, add jitter to sidekiq_retry_in values #4957
  • Minimize scheduler load on Redis at scale #4882
  • Improve logging of delay jobs [#4904, BuonOno]
  • Minor CSS improvements for buttons and tables, design PRs always welcome!
  • Tweak Web UI Cache-Control header #4966
  • Rename internal API class Sidekiq::Job to Sidekiq::JobRecord #4955

6.2.1

  • Update RTT warning logic to handle transient RTT spikes #4851
  • Fix very low priority CVE on unescaped queue name #4852
  • Add note about sessions and Rails apps in API mode

6.2.0

  • Store Redis RTT and log if poor #4824
  • Add process/thread stats to Busy page #4806
  • Improve Web UI on mobile devices #4840
  • Refactor Web UI session usage #4804 Numerous people have hit "Forbidden" errors and struggled with Sidekiq's Web UI session requirement. If you have code in your initializer for Web sessions, it's quite possible it will need to be removed. Here's an overview:
Sidekiq::Web needs a valid Rack session for CSRF protection. If this is a Rails app,
make sure you mount Sidekiq::Web *inside* your routes in `config/routes.rb` so
Sidekiq can reuse the Rails session:

Rails.application.routes.draw do mount Sidekiq::Web => "/sidekiq" .... end

If this is a bare Rack app, use a session middleware before Sidekiq::Web:

first, use IRB to create a shared secret key for sessions and commit it

require 'securerandom'; File.open(".session.key", "w") {|f| f.write(SecureRandom.hex(32)) }

now, update your Rack app to include the secret with a session cookie middleware

use Rack::Session::Cookie, secret: File.read(".session.key"), same_site: true, max_age: 86400 run Sidekiq::Web

If this is a Rails app in API mode, you need to enable sessions.

https://guides.rubyonrails.org/api_app.html#using-session-middlewares </tr></table>

... (truncated)

Commits
  • 8e36432 Add optional Sidekiq::Job alias, see #4955
  • f1b24da Rename Sidekiq::Job, reserve for future use
  • 69b2aec Use TIMEOUT constant instead of hardcoded 2 second sleep (#4952)
  • d69e3c6 Bump, prepare for release
  • 13e2b56 Add private to Sidekiq Web UI Cache-Control to prevent request collapsing (#4...
  • 20f4bab Use no-store for web UI to prevent intermediate caching (#4966)
  • 3575ccb Reduce retry jitter, add jitter to sidekiq_retry_in, closes #4957
  • e8df351 Add missing Arabic translations (#4945)
  • 9a44071 Update Sidekiq.service as a user service (#4938)
  • 465c5c6 refactor stat method
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/stewartmckee/cobweb/network/alerts).
dependabot[bot] commented 2 years ago

Superseded by #66.