Skip to content

Add a --base-issue-labels flag to add custom flags to flaky test issues

David Dieulivol requested to merge 45-add_labels_to_flaky_test_issues into main

Context

What does this MR do and why?

Add the --base-issue-labels flag to be able to add custom flags when using exe/flaky-test-issues.

How to set up and validate locally

# 51263763 is the project ID of https://gitlab.com/ddieulivol/sandbox/-/issues/
exe/flaky-test-issues \
  --input-files spec/gitlab_quality/test_tooling/report/fixtures/rspec-reports/flaky/rspec-retry-5258318483.json \
  --project 51263763 \
  --base-issue-labels "from_new_rspec_process, from_rspec_retry_gem" \
  --token "${GITLAB_API_PRIVATE_TOKEN}"

Example of a flaky test issue -> ddieulivol/sandbox#56 :

Screenshot_2024-01-11_at_10.50.11

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 David Dieulivol

Merge request reports

Loading