Skip to content

Add retry_attempts to JsonFormatter

Alina Mihaila requested to merge am-add-retry_attempts_to_json_formatter into master

What does this MR do and why?

Related #398651 (closed)

Add retry_attempts to JsonFormatter. This information is useful to determine if the test is flaky and passes second run or is it causing a master broken incident.

See related note #398651 (comment 1428902625)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

We can see the new field added in the rspec jobs artifacts, where we also have values > 0, for example https://gitlab-org.gitlab.io/-/gitlab/-/jobs/4469673170/artifacts/rspec/rspec-4469673170.json

How to set up and validate locally

Related #415433 (closed)

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Alina Mihaila

Merge request reports