How to create a good Gitlab Issue

How old would you feel if you didn't know how old you were?

Featured image

First let’s figure out what not to do

Some guidelines

Bad Example

Title

Redis isn’t working

Description

Application is supposed to send emails through sidekiq/redis. I finished setting up sidekiq but redis does not seem to respond. Namespace is “application_production” I ran redis manually.

The problem

This description leads to a naive attempt at a solution.  Go on the server and check if redis runs and the namespace exists.  If so, the issue appears to be solved but the real issue isn’t that redis isn’t working it’s that the email doesn’t get sent out.  So how do you check this?

The issue needs to be improved with:

  1. The actual error seen
  2. Steps to reproduce
  3. Expected behavior

Good Example

Title

Unable to send emails to users

Description

Users should receive emails via sidekiq background job UserNotiferJob.  In order to trigger the job manually use  User.first.notify  Right now you will receive this error 

[Screenshot]

I suspect it’s because redis is not configured properly.  I set the namespace in configuration to be ‘application_production’.  Right now redis is running manually and it’s not sending emails.

With this information you can fix the actual problem and be confident it’s complete because you followed the steps to reproduce and witnessed the expected behavior.