From bc066bf149f3363bd7e2a988436f42142db1633d Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Sat, 3 Jan 2026 14:22:34 +0100 Subject: [PATCH 01/13] Add workflow that detects failing tests on develop --- .github/workflows/build.yml | 67 +++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 25797f31a008..3485e3e69e7d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1168,7 +1168,74 @@ jobs: # Always run this, even if a dependent job failed if: always() runs-on: ubuntu-24.04 + permissions: + issues: write steps: + - name: Create issues for failed jobs + if: github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) + uses: actions/github-script@v7 + with: + script: | + const needs = ${{ toJSON(needs) }}; + const runUrl = `${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`; + + for (const [jobName, jobData] of Object.entries(needs)) { + if (jobData.result !== 'failure' && jobData.result !== 'cancelled') { + continue; + } + + const title = `[Flaky CI]: ${jobName}`; + + // Check for existing open issue with same title + const existing = await github.rest.issues.listForRepo({ + owner: context.repo.owner, + repo: context.repo.repo, + state: 'open', + labels: 'Tests', + per_page: 100 + }); + + const existingIssue = existing.data.find(i => i.title === title); + + if (existingIssue) { + console.log(`Issue already exists for ${jobName}: #${existingIssue.number}`); + continue; + } + + const body = `### Flakiness Type + +Other / Unknown + +### Name of Job + +${jobName} + +### Name of Test + +_Not available - check the run link for details_ + +### Link to Test Run + +${runUrl} + +### Details + +- **Result**: ${jobData.result} +- **Commit**: ${context.sha} + +--- +*This issue was automatically created.*`; + + const newIssue = await github.rest.issues.create({ + owner: context.repo.owner, + repo: context.repo.repo, + title: title, + body: body, + labels: ['Tests'] + }); + console.log(`Created issue #${newIssue.data.number} for ${jobName}`); + } + - name: Check for failures if: cancelled() || contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') run: | From 906c299a816a328862406a2987ecca43dd2dca45 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Sat, 3 Jan 2026 16:33:16 +0100 Subject: [PATCH 02/13] Use template --- .github/FLAKY_CI_FAILURE_TEMPLATE.md | 28 +++++++++++++++ .github/workflows/build.yml | 53 ++++++++++++++-------------- 2 files changed, 55 insertions(+), 26 deletions(-) create mode 100644 .github/FLAKY_CI_FAILURE_TEMPLATE.md diff --git a/.github/FLAKY_CI_FAILURE_TEMPLATE.md b/.github/FLAKY_CI_FAILURE_TEMPLATE.md new file mode 100644 index 000000000000..5a3c03561724 --- /dev/null +++ b/.github/FLAKY_CI_FAILURE_TEMPLATE.md @@ -0,0 +1,28 @@ +--- +title: '[Flaky CI]: {{ env.JOB_NAME }}' +labels: Tests +--- + +### Flakiness Type + +Other / Unknown + +### Name of Job + +{{ env.JOB_NAME }} + +### Name of Test + +_Not available - check the run link for details_ + +### Link to Test Run + +{{ env.RUN_LINK }} + +### Details + +- **Result**: {{ env.JOB_RESULT }} +- **Commit**: {{ env.COMMIT_SHA }} + +--- +*This issue was automatically created.* diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3485e3e69e7d..c77452d154ba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1171,20 +1171,45 @@ jobs: permissions: issues: write steps: + - name: Check out current commit + if: github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) + uses: actions/checkout@v6 + with: + sparse-checkout: .github + - name: Create issues for failed jobs if: github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) uses: actions/github-script@v7 with: script: | + const fs = require('fs'); const needs = ${{ toJSON(needs) }}; const runUrl = `${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`; + // Read and parse template + const template = fs.readFileSync('.github/FLAKY_CI_FAILURE_TEMPLATE.md', 'utf8'); + const [, frontmatter, body] = template.match(/^---\n([\s\S]*?)\n---\n([\s\S]*)$/); + for (const [jobName, jobData] of Object.entries(needs)) { if (jobData.result !== 'failure' && jobData.result !== 'cancelled') { continue; } - const title = `[Flaky CI]: ${jobName}`; + // Replace template variables + const vars = { + 'JOB_NAME': jobName, + 'JOB_RESULT': jobData.result, + 'RUN_LINK': runUrl, + 'COMMIT_SHA': context.sha + }; + + let title = frontmatter.match(/title:\s*'(.*)'/)[1]; + let issueBody = body; + for (const [key, value] of Object.entries(vars)) { + const pattern = new RegExp(`\\{\\{\\s*env\\.${key}\\s*\\}\\}`, 'g'); + title = title.replace(pattern, value); + issueBody = issueBody.replace(pattern, value); + } // Check for existing open issue with same title const existing = await github.rest.issues.listForRepo({ @@ -1202,35 +1227,11 @@ jobs: continue; } - const body = `### Flakiness Type - -Other / Unknown - -### Name of Job - -${jobName} - -### Name of Test - -_Not available - check the run link for details_ - -### Link to Test Run - -${runUrl} - -### Details - -- **Result**: ${jobData.result} -- **Commit**: ${context.sha} - ---- -*This issue was automatically created.*`; - const newIssue = await github.rest.issues.create({ owner: context.repo.owner, repo: context.repo.repo, title: title, - body: body, + body: issueBody.trim(), labels: ['Tests'] }); console.log(`Created issue #${newIssue.data.number} for ${jobName}`); From f3d5ee2de27c1b3b244ce6491a68a38a15593ede Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Sat, 3 Jan 2026 16:39:01 +0100 Subject: [PATCH 03/13] lint --- .github/FLAKY_CI_FAILURE_TEMPLATE.md | 3 ++- .github/workflows/build.yml | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/FLAKY_CI_FAILURE_TEMPLATE.md b/.github/FLAKY_CI_FAILURE_TEMPLATE.md index 5a3c03561724..a256977c9395 100644 --- a/.github/FLAKY_CI_FAILURE_TEMPLATE.md +++ b/.github/FLAKY_CI_FAILURE_TEMPLATE.md @@ -25,4 +25,5 @@ _Not available - check the run link for details_ - **Commit**: {{ env.COMMIT_SHA }} --- -*This issue was automatically created.* + +_This issue was automatically created._ diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c77452d154ba..4480e1bd0b70 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1172,13 +1172,17 @@ jobs: issues: write steps: - name: Check out current commit - if: github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) + if: + github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, + 'cancelled')) uses: actions/checkout@v6 with: sparse-checkout: .github - name: Create issues for failed jobs - if: github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) + if: + github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, + 'cancelled')) uses: actions/github-script@v7 with: script: | From 29e9b3fcc3548f65bab2d4b385f3c027635a06ff Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 5 Jan 2026 11:54:10 +0100 Subject: [PATCH 04/13] test --- .github/workflows/build.yml | 8 ++++---- .../test-applications/node-express/tests/errors.test.ts | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4480e1bd0b70..2f5c7fc431cd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1173,16 +1173,16 @@ jobs: steps: - name: Check out current commit if: - github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, - 'cancelled')) + (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && (contains(needs.*.result, + 'failure') || contains(needs.*.result, 'cancelled')) uses: actions/checkout@v6 with: sparse-checkout: .github - name: Create issues for failed jobs if: - github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, - 'cancelled')) + (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && (contains(needs.*.result, + 'failure') || contains(needs.*.result, 'cancelled')) uses: actions/github-script@v7 with: script: | diff --git a/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts b/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts index 3a3c821a927d..4d472fc0bd16 100644 --- a/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts +++ b/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts @@ -56,3 +56,8 @@ test('To not crash app from withMonitor', async ({ baseURL }) => { expect(response2.message).toBe('This is an exception withMonitor: 2'); expect(response1.pid).toBe(response2.pid); //Just to double-check, TBS }); + +// TODO: Remove this test - added temporarily to test flaky CI issue creation +test('Intentional failure for testing flaky CI workflow', async () => { + expect(true).toBe(false); +}); From 0bd3f1a4ac72f12a2d77a4030817bd6921ee1b71 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 5 Jan 2026 12:31:02 +0100 Subject: [PATCH 05/13] Try to get a nicer name for the issue --- .github/FLAKY_CI_FAILURE_TEMPLATE.md | 5 --- .github/workflows/build.yml | 52 +++++++++++++++++----------- 2 files changed, 32 insertions(+), 25 deletions(-) diff --git a/.github/FLAKY_CI_FAILURE_TEMPLATE.md b/.github/FLAKY_CI_FAILURE_TEMPLATE.md index a256977c9395..2a2ad5109561 100644 --- a/.github/FLAKY_CI_FAILURE_TEMPLATE.md +++ b/.github/FLAKY_CI_FAILURE_TEMPLATE.md @@ -19,11 +19,6 @@ _Not available - check the run link for details_ {{ env.RUN_LINK }} -### Details - -- **Result**: {{ env.JOB_RESULT }} -- **Commit**: {{ env.COMMIT_SHA }} - --- _This issue was automatically created._ diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2f5c7fc431cd..5491ffb1ca52 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1187,43 +1187,55 @@ jobs: with: script: | const fs = require('fs'); - const needs = ${{ toJSON(needs) }}; - const runUrl = `${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`; + + // Fetch actual job details from the API to get descriptive names + const jobs = await github.rest.actions.listJobsForWorkflowRun({ + owner: context.repo.owner, + repo: context.repo.repo, + run_id: context.runId, + per_page: 100 + }); + + const failedJobs = jobs.data.jobs.filter(job => + job.conclusion === 'failure' || job.conclusion === 'cancelled' + ); + + if (failedJobs.length === 0) { + console.log('No failed jobs found'); + return; + } // Read and parse template const template = fs.readFileSync('.github/FLAKY_CI_FAILURE_TEMPLATE.md', 'utf8'); - const [, frontmatter, body] = template.match(/^---\n([\s\S]*?)\n---\n([\s\S]*)$/); + const [, frontmatter, bodyTemplate] = template.match(/^---\n([\s\S]*?)\n---\n([\s\S]*)$/); - for (const [jobName, jobData] of Object.entries(needs)) { - if (jobData.result !== 'failure' && jobData.result !== 'cancelled') { - continue; - } + // Get existing open issues with Tests label + const existing = await github.rest.issues.listForRepo({ + owner: context.repo.owner, + repo: context.repo.repo, + state: 'open', + labels: 'Tests', + per_page: 100 + }); + + for (const job of failedJobs) { + const jobName = job.name; + const jobUrl = job.html_url; // Replace template variables const vars = { 'JOB_NAME': jobName, - 'JOB_RESULT': jobData.result, - 'RUN_LINK': runUrl, - 'COMMIT_SHA': context.sha + 'RUN_LINK': jobUrl }; let title = frontmatter.match(/title:\s*'(.*)'/)[1]; - let issueBody = body; + let issueBody = bodyTemplate; for (const [key, value] of Object.entries(vars)) { const pattern = new RegExp(`\\{\\{\\s*env\\.${key}\\s*\\}\\}`, 'g'); title = title.replace(pattern, value); issueBody = issueBody.replace(pattern, value); } - // Check for existing open issue with same title - const existing = await github.rest.issues.listForRepo({ - owner: context.repo.owner, - repo: context.repo.repo, - state: 'open', - labels: 'Tests', - per_page: 100 - }); - const existingIssue = existing.data.find(i => i.title === title); if (existingIssue) { From ab0f81f89a59a25be5df6a39e9de7ccc4301ba97 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 5 Jan 2026 12:49:26 +0100 Subject: [PATCH 06/13] revert test failure and only run on develop --- .github/workflows/build.yml | 8 ++------ .../test-applications/node-express/tests/errors.test.ts | 5 ----- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5491ffb1ca52..a86c8ceee106 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1172,17 +1172,13 @@ jobs: issues: write steps: - name: Check out current commit - if: - (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && (contains(needs.*.result, - 'failure') || contains(needs.*.result, 'cancelled')) + if: github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) uses: actions/checkout@v6 with: sparse-checkout: .github - name: Create issues for failed jobs - if: - (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && (contains(needs.*.result, - 'failure') || contains(needs.*.result, 'cancelled')) + if: github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) uses: actions/github-script@v7 with: script: | diff --git a/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts b/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts index 4d472fc0bd16..3a3c821a927d 100644 --- a/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts +++ b/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts @@ -56,8 +56,3 @@ test('To not crash app from withMonitor', async ({ baseURL }) => { expect(response2.message).toBe('This is an exception withMonitor: 2'); expect(response1.pid).toBe(response2.pid); //Just to double-check, TBS }); - -// TODO: Remove this test - added temporarily to test flaky CI issue creation -test('Intentional failure for testing flaky CI workflow', async () => { - expect(true).toBe(false); -}); From d56a2d17591e4e72a3fe7ab1692434d04565627f Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 5 Jan 2026 13:00:19 +0100 Subject: [PATCH 07/13] yarn fix --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a86c8ceee106..190d8a2067cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1172,13 +1172,17 @@ jobs: issues: write steps: - name: Check out current commit - if: github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) + if: + github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, + 'cancelled')) uses: actions/checkout@v6 with: sparse-checkout: .github - name: Create issues for failed jobs - if: github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) + if: + github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, + 'cancelled')) uses: actions/github-script@v7 with: script: | From 6942bd00bf66ee1b9184708c0c385de48505d2dc Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 5 Jan 2026 13:05:04 +0100 Subject: [PATCH 08/13] Only create issue on failure --- .github/workflows/build.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 190d8a2067cf..a9de3599a02c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1172,17 +1172,13 @@ jobs: issues: write steps: - name: Check out current commit - if: - github.ref == 'refs/heads/develop' && (contains(needs.*.result, 'failure') || contains(needs.*.result, - 'cancelled')) + 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') || contains(needs.*.result, - 'cancelled')) + if: github.ref == 'refs/heads/develop' && contains(needs.*.result, 'failure') uses: actions/github-script@v7 with: script: | @@ -1196,9 +1192,7 @@ jobs: per_page: 100 }); - const failedJobs = jobs.data.jobs.filter(job => - job.conclusion === 'failure' || job.conclusion === 'cancelled' - ); + const failedJobs = jobs.data.jobs.filter(job => job.conclusion === 'failure'); if (failedJobs.length === 0) { console.log('No failed jobs found'); From 0df07fbabddfe1dd00424d5387f3992272869ca2 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 5 Jan 2026 13:12:01 +0100 Subject: [PATCH 09/13] fetch all jobs not just 100 --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a9de3599a02c..809749b746d6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1185,14 +1185,14 @@ jobs: const fs = require('fs'); // Fetch actual job details from the API to get descriptive names - const jobs = await github.rest.actions.listJobsForWorkflowRun({ + const jobs = await github.paginate(github.rest.actions.listJobsForWorkflowRun, { owner: context.repo.owner, repo: context.repo.repo, run_id: context.runId, per_page: 100 }); - const failedJobs = jobs.data.jobs.filter(job => job.conclusion === 'failure'); + const failedJobs = jobs.filter(job => job.conclusion === 'failure'); if (failedJobs.length === 0) { console.log('No failed jobs found'); From 1d1449c072de4f3028f81909647311352d22bd89 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 5 Jan 2026 13:14:30 +0100 Subject: [PATCH 10/13] fix --- .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 809749b746d6..192023f66d6a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1204,7 +1204,7 @@ jobs: const [, frontmatter, bodyTemplate] = template.match(/^---\n([\s\S]*?)\n---\n([\s\S]*)$/); // Get existing open issues with Tests label - const existing = await github.rest.issues.listForRepo({ + const existing = await github.paginate(github.rest.issues.listForRepo, { owner: context.repo.owner, repo: context.repo.repo, state: 'open', From 66ede0f1189b15b84d959c72e49b2a2d358d9370 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 5 Jan 2026 13:16:08 +0100 Subject: [PATCH 11/13] test --- .github/workflows/build.yml | 4 ++-- .../test-applications/node-express/tests/errors.test.ts | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 192023f66d6a..9c7dbbbaccf0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1172,13 +1172,13 @@ jobs: issues: write steps: - name: Check out current commit - if: github.ref == 'refs/heads/develop' && contains(needs.*.result, 'failure') + if: (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && 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') + if: (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && contains(needs.*.result, 'failure') uses: actions/github-script@v7 with: script: | diff --git a/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts b/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts index 3a3c821a927d..4d472fc0bd16 100644 --- a/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts +++ b/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts @@ -56,3 +56,8 @@ test('To not crash app from withMonitor', async ({ baseURL }) => { expect(response2.message).toBe('This is an exception withMonitor: 2'); expect(response1.pid).toBe(response2.pid); //Just to double-check, TBS }); + +// TODO: Remove this test - added temporarily to test flaky CI issue creation +test('Intentional failure for testing flaky CI workflow', async () => { + expect(true).toBe(false); +}); From 7cb1c57322ed024547427b2cd4b816d0786d9294 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 5 Jan 2026 13:33:10 +0100 Subject: [PATCH 12/13] . --- .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 9c7dbbbaccf0..50b5ffd200bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1230,7 +1230,7 @@ jobs: issueBody = issueBody.replace(pattern, value); } - const existingIssue = existing.data.find(i => i.title === title); + const existingIssue = existing.find(i => i.title === title); if (existingIssue) { console.log(`Issue already exists for ${jobName}: #${existingIssue.number}`); From e5db420b86c1d3e69b60e4689eb5f79dcf0d7a34 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 5 Jan 2026 13:55:24 +0100 Subject: [PATCH 13/13] revert test stuff --- .github/workflows/build.yml | 4 ++-- .../test-applications/node-express/tests/errors.test.ts | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50b5ffd200bb..b5c6f1aba264 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1172,13 +1172,13 @@ jobs: issues: write steps: - name: Check out current commit - if: (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && contains(needs.*.result, 'failure') + 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' || github.event_name == 'pull_request') && contains(needs.*.result, 'failure') + 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/tests/errors.test.ts b/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts index 4d472fc0bd16..3a3c821a927d 100644 --- a/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts +++ b/dev-packages/e2e-tests/test-applications/node-express/tests/errors.test.ts @@ -56,8 +56,3 @@ test('To not crash app from withMonitor', async ({ baseURL }) => { expect(response2.message).toBe('This is an exception withMonitor: 2'); expect(response1.pid).toBe(response2.pid); //Just to double-check, TBS }); - -// TODO: Remove this test - added temporarily to test flaky CI issue creation -test('Intentional failure for testing flaky CI workflow', async () => { - expect(true).toBe(false); -});