Commit Graph

24 Commits

Author SHA1 Message Date
Mike Perham 29dca70e24
Introduce Sidekiq::Capsule (#5487)
* Initial work on Sidekiq::Config

* Initial work on Sidekiq::Config

* reduce dependencies in deploy marks

* bare sidekiq and webapp

* Modify runtime to work with Capsules

* Cleanup

* Rename test files to remove test_ prefix

* Update test suite and standard rules to be more compliant

* Move constant definition outside code, per standard formatting

* Loads of changes for introduction of Capsules

* Remove Redis adapter abstraction

* update capsule overview

* Ensure Sidekiq.redis uses the correct pool for jobs running within a Capsule

* Use default_capsule for safety

* Slow down the beat to halve its Redis overhead

* move config fixtures into cfg/

* Add capsule middleware test

* use accessor
2022-08-25 10:15:11 -07:00
Sam 459530bd96
Code coverage improvements (#5434)
* Add coverage for helpers.rb

* Add simplecov to git actions

* Test simplecov

* Changed this to run on all pull requests, not just main and 7-0

* Fix yaml spacing

* Create simplecov file and pointer for file

* Add empty hash to json file

* See if we need simplecov gem enabled

* Update coverage file

* Add in covered_percent

* Move simplecov_file out

* Remove token

* Add token back in

* Remove unnecessary code

* Add comment for running simplecov in the rake file

* Fix typo in spec file

* Remove references to codecov, add minimum requirement of 90% to simplecov
2022-08-03 09:45:06 -07:00
Mike Perham 1b4ffdb06f merge main 2022-07-12 13:37:45 -07:00
Mike Perham 311bee5569 polish 2022-06-15 08:15:22 -07:00
SamArdrey 67283ce73b Add yarddoc files to gitignore, remove yardoc from rake tasks, update api file 2022-06-14 17:26:58 -07:00
SamArdrey 2a24d541bd Include changelog, comment out unnecessary code 2022-06-14 09:25:04 -07:00
Mike Perham 16b51f3961 switch from rdoc to yard 2022-06-13 15:22:26 -07:00
Mike Perham 2ee7e27697 merge 6.5 2022-06-09 14:06:33 -07:00
Mike Perham 4026085d35 standardize 2022-06-09 13:52:17 -07:00
SamArdrey 6eadad86f9 Add a bit of documentation, install yard 2022-06-08 12:26:06 -07:00
Mike Perham 0b3e4c2724 Remove old Redis code and tests 2022-05-11 12:40:19 -07:00
Jean byroot Boussier aaac999c6d
Add a compatibility layer for `redis-client` (#5298)
* Add a compatibility layer for `redis-client`

As discussed in https://github.com/mperham/sidekiq/pull/5253

Switching entirely to redis-client is deemed risky, so instead
we can support both.

All is needed is a small translation layer, and some very minimal
adjustments in the callers.

Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
Co-authored-by: Mike Perham <mperham@gmail.com>
2022-05-10 12:25:04 -07:00
Mike Perham 60d23365f7 Run code formatter as part of test suite 2019-04-01 09:36:24 -07:00
Bryan FRIMIN 32c55e3165 Use standardrb for source styling (#4114) 2019-04-01 09:20:41 -07:00
Andrew Babichev ea9b34a953 Add CLI Run Test - Write Pid, System Boot, Print Banner (#4039)
* Add appraisal

* Test CLI run (write pid, system boot, print banner)

* Cleanup test helper

* Set REDIS_URL to use non-default host in test env

* Move mintiest-focus to test bundle group
2018-12-07 08:59:42 -08:00
Mike Perham 28c53de58e Remove old testing/CI junk which hasn’t been used in years 2017-10-20 09:09:03 -07:00
Mike Perham 257b96094f Minimize Ruby warnings in test suite 2016-11-23 14:50:11 -08:00
Mike Perham bdbfbc0577 Add Mike’s terrible appraisal code 2016-11-18 14:33:50 -08:00
grosser 57a06d00d6 allow every test to be run with just ruby test/xxx_test.rb 2014-12-30 12:54:58 -08:00
Mike Perham 572cf81cd6 add bundler gem tasks 2014-06-12 20:10:48 -07:00
Mike Perham b782c05e1b Test cleanup 2012-03-17 21:36:33 -07:00
Mike Perham 4043cace3a SimpleCov fixes 2012-01-23 22:07:21 -08:00
Mike Perham 10e1f12e8b Integrate simplecov 2012-01-23 21:02:54 -08:00
Mike Perham 14bd63705a Documentation, start client work 2012-01-21 16:42:21 -08:00