Runner quota banner showing

Summary

When I have a private project and used some minutes from the quota for the shared runners, I see a banner that I exceeded the limit, when I didn't

Steps to reproduce

  1. Have a private project
  2. Run a CI pipeline on the public shared runners
  3. Go to job page

Example Project

Using the rails template when creating a new project

What is the current bug behavior?

  1. User goes on the job page (with few minutes used)
  2. User sees quota exceeded banner

What is the expected correct behavior?

  1. User goes on the job page (with few minutes used)
  2. User does not see quota exceeded banner

Relevant logs and/or screenshots

Screen_Shot_2018-10-09_at_10.09.47

Here is a snippet for the JSON response for that job page.

Output of checks

This bug happens on staging.GitLab.com

(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)

Results of GitLab environment info

GitLab Enterprise Edition 11.4.0-rc2-ee

Results of GitLab application Check

GitLab Enterprise Edition 11.4.0-rc2-ee

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Assignee Loading
Time tracking Loading