db/seeds.rb still did require 'sidekiq/testing' and wrapped seeding in Sidekiq::Testing.inline!, but Sidekiq was removed from the bundle in the Solid Queue migration. rails db:setup therefore aborted with:
LoadError: cannot load such file -- sidekiq/testing
Fix
Run the jobs triggered while seeding inline via Active Job (ActiveJob::Base.queue_adapter = :inline), restoring the previous behavior with the adapter the app actually uses.
Notes
Prerequisite for the Docker Compose bootstrap PR, which runs db:setup.
CI does not load seeds, so this is CI-neutral.
## Problem
`db/seeds.rb` still did `require 'sidekiq/testing'` and wrapped seeding in `Sidekiq::Testing.inline!`, but Sidekiq was removed from the bundle in the Solid Queue migration. `rails db:setup` therefore aborted with:
```
LoadError: cannot load such file -- sidekiq/testing
```
## Fix
Run the jobs triggered while seeding inline via Active Job (`ActiveJob::Base.queue_adapter = :inline`), restoring the previous behavior with the adapter the app actually uses.
## Notes
- Prerequisite for the Docker Compose bootstrap PR, which runs `db:setup`.
- CI does not load seeds, so this is CI-neutral.
db/seeds.rb still required "sidekiq/testing" and wrapped seeding in
Sidekiq::Testing.inline!, but Sidekiq is no longer in the bundle after
the Solid Queue migration, so `rails db:setup` failed with a LoadError.
Run the jobs triggered while seeding inline via Active Job instead,
restoring the previous behavior with the adapter the app actually uses.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
db/seeds.rbstill didrequire 'sidekiq/testing'and wrapped seeding inSidekiq::Testing.inline!, but Sidekiq was removed from the bundle in the Solid Queue migration.rails db:setuptherefore aborted with:Fix
Run the jobs triggered while seeding inline via Active Job (
ActiveJob::Base.queue_adapter = :inline), restoring the previous behavior with the adapter the app actually uses.Notes
db:setup.3833f75ec2to911d2a5855