HomeDevCentral
Diffusion Tommy 560f3417a1b4

When no health information is available for a project, for example because…

Description

When no health information is available for a project, for example because it's new, there is no real point to include it to our dashboard.

Summary:
We so ignore projects raising an exception at parse time.

There is here a margin for improvement:
A next unless valid?(project) would be a more elegant
than to try the parse code and intercept exceptions.

To reduce cyclometric complexity, we extract the parser
code of one project into a parse_project method.

Fixes T920.

Test Plan:
Test dashboard with a shiny new Jenkins job creating from php-template,
not yet built.

Reviewers: dereckson

Maniphest Tasks: T920

Differential Revision: https://devcentral.nasqueron.org/D506