OpenSourcePolitics / osp-app

App de référence pour les implémentations de Decidim (https://github.com/OpenSourcePolitics/decidim) par OSP.
8 stars 8 forks source link

Bump sidekiq from 6.1.2 to 6.2.1 #152

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 3 years ago

Bumps sidekiq from 6.1.2 to 6.2.1.

Changelog

Sourced from sidekiq's changelog.

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

6.1.3

  • Warn if Redis is configured to evict data under memory pressure #4752
  • Add process RSS on the Busy page #4717
Commits


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/OpenSourcePolitics/osp-app/network/alerts).
dependabot[bot] commented 2 years ago

Superseded by #156.