From 948ae25fdbf75b47a78e902f2c6e36b33db41cdd Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Tue, 14 Apr 2026 17:42:28 +0200 Subject: [PATCH 1/3] do not create issues for optional tests if they flake --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6032cee30fdc..9dd91e42287f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1147,7 +1147,7 @@ jobs: per_page: 100 }); - const failedJobs = jobs.filter(job => job.conclusion === 'failure'); + const failedJobs = jobs.filter(job => job.conclusion === 'failure' && !job.name.includes('(optional)')); if (failedJobs.length === 0) { console.log('No failed jobs found'); From 19f9b396041c03460a08d7493f0d38d677f62c48 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Tue, 14 Apr 2026 17:51:05 +0200 Subject: [PATCH 2/3] test --- .github/workflows/build.yml | 2 -- .../node-express-send-to-sentry/tests/send-to-sentry.test.ts | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9dd91e42287f..70fe6afc135d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1127,13 +1127,11 @@ jobs: issues: write steps: - name: Check out current commit - if: github.ref == 'refs/heads/develop' && contains(needs.*.result, 'failure') uses: actions/checkout@v6 with: sparse-checkout: .github - name: Create issues for failed jobs - if: github.ref == 'refs/heads/develop' && contains(needs.*.result, 'failure') uses: actions/github-script@v7 with: script: | diff --git a/dev-packages/e2e-tests/test-applications/node-express-send-to-sentry/tests/send-to-sentry.test.ts b/dev-packages/e2e-tests/test-applications/node-express-send-to-sentry/tests/send-to-sentry.test.ts index 7f699fa111f9..d3a390780761 100644 --- a/dev-packages/e2e-tests/test-applications/node-express-send-to-sentry/tests/send-to-sentry.test.ts +++ b/dev-packages/e2e-tests/test-applications/node-express-send-to-sentry/tests/send-to-sentry.test.ts @@ -1,5 +1,10 @@ import { expect, test } from '@playwright/test'; +// TEMPORARY: Guaranteed failure to verify optional test filtering in CI +test('TEMPORARY - This optional test should fail without creating an issue', () => { + expect(true).toBe(false); +}); + const EVENT_POLLING_TIMEOUT = 90_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; From 79966326b702c1c514c2044a65e6f7c64757d95c Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Tue, 14 Apr 2026 17:58:42 +0200 Subject: [PATCH 3/3] Revert "test" This reverts commit 19f9b396041c03460a08d7493f0d38d677f62c48. --- .github/workflows/build.yml | 2 ++ .../node-express-send-to-sentry/tests/send-to-sentry.test.ts | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 70fe6afc135d..9dd91e42287f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1127,11 +1127,13 @@ jobs: issues: write steps: - name: Check out current commit + if: github.ref == 'refs/heads/develop' && contains(needs.*.result, 'failure') uses: actions/checkout@v6 with: sparse-checkout: .github - name: Create issues for failed jobs + if: github.ref == 'refs/heads/develop' && contains(needs.*.result, 'failure') uses: actions/github-script@v7 with: script: | diff --git a/dev-packages/e2e-tests/test-applications/node-express-send-to-sentry/tests/send-to-sentry.test.ts b/dev-packages/e2e-tests/test-applications/node-express-send-to-sentry/tests/send-to-sentry.test.ts index d3a390780761..7f699fa111f9 100644 --- a/dev-packages/e2e-tests/test-applications/node-express-send-to-sentry/tests/send-to-sentry.test.ts +++ b/dev-packages/e2e-tests/test-applications/node-express-send-to-sentry/tests/send-to-sentry.test.ts @@ -1,10 +1,5 @@ import { expect, test } from '@playwright/test'; -// TEMPORARY: Guaranteed failure to verify optional test filtering in CI -test('TEMPORARY - This optional test should fail without creating an issue', () => { - expect(true).toBe(false); -}); - const EVENT_POLLING_TIMEOUT = 90_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN;