Sidekiq configuration test

Open
#4,031 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
38/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
ruby
Domain
backend, testing

Research direction

Read config/sidekiq.yml and inspect job classes under app/jobs to identify their queues. Add a test that verifies the mailer queue and every queue used by those classes are configured. Done when the test fails for a missing queue and passes with the current configuration.

Written by the indexing model from the issue text.

Description

Rel: https://github.com/PopulateTools/gobierto-contratos/issues/1497

Create a test that checks:

  • there's a queue named mailer in the config/sidekiq.yml file
  • all the queues used in classes from app/jobs are present in config/sidekiq.yml file

This test will prevent us to producers enqueuing jobs in queues without consumers.

Dominant language
Ruby
Stars
79
Forks
31
Avg merge
2d 1h
Merged PRs (30d)
23

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PopulateTools/gobierto

All issues in PopulateTools/gobierto

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.