Performance tuning, Sidekiq should be 10-15% faster now [#4303, 4299,
4269, fatkodima]
Dark Mode support in Web UI (further design polish welcome!) [#4227, mperham,
fatkodima, silent-e]
Job-specific log levels, allowing you to turn on debugging for
problematic workers. [fatkodima, #4287]
MyWorker.set(log_level::debug).perform_async(...)
Ad-hoc job tags. You can tag your jobs with, e.g, subdomain, tenant, country,
locale, application, version, user/client, "alpha/beta/pro/ent", types of jobs,
teams/people responsible for jobs, additional metadata, etc.
Tags are shown on different pages with job listings. Sidekiq Pro users
can filter based on them [fatkodima, #4280]
classMyWorkerincludeSidekiq::Worker
sidekiq_options tags: ['bank-ops', 'alpha']
...
end
Fetch scheduled jobs in batches before pushing into specific queues.
This will decrease enqueueing time of scheduled jobs by a third. [fatkodima, #4273]
ScheduledSet with 10,000 jobs
Before: 56.6 seconds
After: 39.2 seconds
Compress error backtraces before pushing into Redis, if you are
storing error backtraces, this will halve the size of your RetrySet
in Redis [fatkodima, #4272]
RetrySet with 100,000 jobs
Before: 261 MB
After: 129 MB
Support display of ActiveJob 6.0 payloads in the Web UI [#4263]
Add SortedSet#scan for pattern based scanning. For large sets this API will be MUCH faster
than standard iteration using each. [fatkodima, #4262]
Sidekiq::DeadSet.new.scan("UnreliableApi") do |job|
job.retry
end
Dramatically speed up SortedSet#find_job(jid) by using Redis's ZSCAN
support, approx 10x faster. [fatkodima, #4259]
Easier way to test enqueuing specific ActionMailer and ActiveRecord delayed jobs. Instead of manually
parsing embedded class, you can now test by fetching jobs for specific classes. [fatkodima, #4292]
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ sidekiq (6.0.0 → 6.0.1) · Repo · Changelog
Release Notes
6.0.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 75 commits:
4209
4155
More aggressive empty check, calc time
refactor log context to not require context functionality on the logger itself, #4296
polish
Refactor
Optimize cloning of job payload
Fix not-clickable link to 6.0 upgrade notes
Require extensions in lib/testing.rb
Speedup UnitOfWork#queue_name
Easier way to test enqueuing specific ActionMailer and ActiveRecord delayed jobs
indent 2: the revenge
Fix standard styles
indent
add missing id
Add test coverage badge to README.md
changes
Darker and darker
Polish up
"None more black", ease up on the white
Update from fatkodima
Initial pass at dark mode support, courtesy of @silent-e
Call run_afters even if throwing from run_befores
A couple of random small code cleanups
more standard
rename method
Simplify threadsafe logging
Support job-specific log levels
Extract #option_parser method in CLI for better extensibility
note 601
fix tests
Polish job tags with Sidekiq Pro filtering support
Support job tags
allow for `Range` with `fetch`
Get scheduled jobs in batches before pushing into specific queues
changes
pro change
changes
bump
Compress jobs backtraces
Reduce allocated objects
Allocate Chain entries lazily
Shuffle queues in place before fetching
Update dummy test app to only boot relevant subsystems
Tweak for Pro compat
Add support for changes in ActiveJob 6.0's serialized payloads, fixes #4263
Merge branch 'master' of github.com:mperham/sidekiq
Assume 6.0
BUG WORKAROUND: requiring ActionText 6.0 (via 'rails/all') requires an ApplicationController to exist
Use sscan_each from redis-rb
Add `SortedSet#scan` for pattern based scanning
bump
Speed up find_job, closes #4259
bring back the pride in testing
Respect rails' generators `test_framework` option and gracefully handle extra `worker` suffix on generator
Fix sidekiqload loading error
Position -> #
It is not sorted by enqueued_at
Add ability to sort 'Enqueued' page on Web UI by enqueued_at time
Do not reset the whole logger when format changes
Reset the logger when the format changes
Merge branch 'master' of github.com:mperham/sidekiq
extend the single object, don't touch the class
Support Client.push_bulk with different delays
fix test
Merge branch 'master' of github.com:mperham/sidekiq
polish sidekiqmon, add to gemspec, fixes #4242
Update 6.0-Upgrade.md
Merge branch 'master' of github.com:mperham/sidekiq
fix deprecation
Inject Sidekiq::LogContext module if user-supplied logger does not already include it, fixes #4239
Handle nil logger, fixes #4240
Fix wrong link
note logging
Link to Logging wiki page
↗️ redis (indirect, 4.1.2 → 4.1.3) · Repo · Changelog
Release Notes
4.1.3 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 14 commits:
Release 4.1.3
Merge pull request #874 from darshanime/handle_node_failure
Rescue connection errors for call_loop, call_pipeline
Decrease retries for redis node failures in specs
Add note in readme
Handle permanent node failures for redis cluster
Merge pull request #872 from fatkodima/bzpop-useless-hash
Do not allocate useless hash for b*pop* commands
Merge pull request #871 from mfly/allow-to-skip-ssl-host-check
Allow to skip SSL host check with verify_hostname: false
Merge pull request #868 from pgeraghty/tcp_nodelay
Set TCP_NODELAY to avoid unnecessary delays during MULTI
Merge pull request #862 from ioquatix/patch-1
Add "See Also" section to README.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands