Don't count job interruptions as failures in metrics #6386
Add frozen string literal to a number of .rb files.
Fix frozen string error with style_tag and script_tag #6371
Fix an error on Ruby 2.7 because of usage of Hash#except#6376
7.3.0
NEW FEATURE Add Sidekiq::IterableJob, iteration support for long-running jobs. [#6286, fatkodima]
Iterable jobs are interruptible and can restart quickly if
running during a deploy. You must ensure that each_iteration
doesn't take more than Sidekiq's -t timeout (default: 25 seconds). Iterable jobs must not implement perform.
class ProcessArrayJob
include Sidekiq::IterableJob
def build_enumerator(*args, **kwargs)
array_enumerator(args, **kwargs)
end
def each_iteration(arg)
puts arg
end
end
ProcessArrayJob.perform_async(1, 2, 3)
See the Iteration wiki page and the RDoc in Sidekiq::IterableJob.
This feature should be considered BETA until the next minor release.
SECURITY The Web UI no longer allows extensions to use <script>.
Adjust CSP to disallow inline scripts within the Web UI. Please see
examples/webui-ext for how to register Web UI extensions and use
dynamic CSS and JS. This will make Sidekiq immune to XSS attacks. #6270
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)
Bumps sidekiq from 6.5.7 to 7.3.1.
Changelog
Sourced from sidekiq's changelog.
... (truncated)
Commits
16b7115
formattingbd2aac5
prep for releasece29f51
remove need for S::Component in job_logger, see #63857d3e3dd
Fix startup error when redis sentinel is provided as an urle7cd810
Do not track iterable jobs interruptions as failures3241bc1
Allow exception to be passed via opts to DeadSet#killf14749c
Fix yaml syntax problem in tr.yml65c766d
Don't useHash#except
which only got added in Ruby 3.03fdd31b
Update Changes.md2a83cec
Add #6371 to changelogDependabot 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 show