From 262c52d31a7f54cd635d993be18363d8e3803672 Mon Sep 17 00:00:00 2001 From: Charles de Beauchesne Date: Mon, 5 May 2025 12:20:56 +0200 Subject: [PATCH 1/2] add a job that check all other job status --- .github/workflows/all-green.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/all-green.yml diff --git a/.github/workflows/all-green.yml b/.github/workflows/all-green.yml new file mode 100644 index 00000000000..9102678b6b6 --- /dev/null +++ b/.github/workflows/all-green.yml @@ -0,0 +1,21 @@ +name: Check Pull Request CI Status + +on: + pull_request: + types: + - opened + - synchronize + - reopened + +permissions: + checks: read + statuses: read + +jobs: + all-jobs-are-green: + runs-on: ubuntu-latest + steps: + - name: Run Ensure CI Success + uses: DataDog/ensure-ci-success@v1 + with: + initial-delay-seconds: "100" # what is the longest job that always run ? From 2f105730c5ef67354cf658b7ba11be04be0a9584 Mon Sep 17 00:00:00 2001 From: Charles de Beauchesne Date: Mon, 5 May 2025 13:15:07 +0200 Subject: [PATCH 2/2] add flaky jobs --- .github/workflows/all-green.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/all-green.yml b/.github/workflows/all-green.yml index 9102678b6b6..17742e1816c 100644 --- a/.github/workflows/all-green.yml +++ b/.github/workflows/all-green.yml @@ -19,3 +19,12 @@ jobs: uses: DataDog/ensure-ci-success@v1 with: initial-delay-seconds: "100" # what is the longest job that always run ? + max-retries: "60" + ignored-name-patterns: | + dd-gitlab/build + ci/circleci: test-test_extension_ci-8.4-medium+ + ci/circleci: integration_snapshots-test_integrations-8.1 + ci/circleci: integration_snapshots-test_integrations-8.2 + ci/circleci: integration_snapshots-test_integrations-8.3 + ci/circleci: integration_snapshots-test_integrations_coverage-8.2 +