Visualise Test Results from Child Pipeline in Parent Pipeline
Problem to solve
It is not clear which pipeline had failing tests from the parent pipeline test tab view.
e.g. View From the Parent Pipeline:
Test Results at Parent Pipeline:
While each of the child pipelines can have Test Results:
Intended users
Primary User(s)
- Sasha (Software Developer) - Want to easily identify the results of the related tests, since this is first validation that everything is working as intended
- Simone (Software Engineer in Test) - Wants to have an overview of all tests related to a pipeline (including dependent child pipelines): end-2-end picture
Further details
The implementation of CI View of JUnit-style XML artifacts provides us with visibility to quickly identify why tests are failing (see &1875 (closed)) in a single pipeline.
This currently only works for the directly associated build, meaning that, in case of Parent-Child pipelines, you will need to go through all child pipelines to see which tests are failing.
Use Cases:
- Dependent Parent-Child Pipelines: cases where parent pipeline should fail when (one of) the child pipelines fail
- MonoRepo that triggers other modules
Benefits:
- Increased Visibility and accessibility to failing tests
- Faster Remediation Time
- Increase Stakeholder Efficiency
Proposal
On the test tab of the parent pipeline provide some very minimal data about the status of the downstream pipeline including:
- Test status (all passed or >=1 failed)
- A link to the tests tab for that pipeline
Permissions and Security
@kgoossens - are there security/permission concerns with being able to navigate to a downstream pipeline?
Documentation
- Update junit reports docs to call out how the report works for parent/child pipeline.
Availability & Testing
What does success look like, and how can we measure that?
Acceptance Criteria
- When i'm using parent / child pipelines AND a child pipeline has test failures, I will see that failures exist from the parent pipeline page and be able to navigate to them so that i can quickly resolve issues and get a green pipeline.
What is the type of buyer?
This would be a GitLab Core feature.
Is this a cross-stage feature?
N/A