Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .github/FLAKY_CI_FAILURE_TEMPLATE.md

This file was deleted.

1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/flaky.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ body:
- Timeout
- Assertion failure
- Other / Unknown
default: 1
validations:
required: true
- type: input
Expand Down
22 changes: 1 addition & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1261,28 +1261,8 @@ jobs:
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-24.04
permissions:
issues: write
checks: read
permissions: {}
steps:
- name: Check out current commit
if: github.ref == 'refs/heads/develop' && contains(needs.*.result, 'failure')
uses: actions/checkout@v7
with:
sparse-checkout: |
.github
scripts

- name: Create issues for failed jobs
if: github.ref == 'refs/heads/develop' && contains(needs.*.result, 'failure')
uses: actions/github-script@v9
with:
script: |
const { default: run } = await import(
`${process.env.GITHUB_WORKSPACE}/scripts/report-ci-failures.mjs`
);
await run({ github, context, core });

- name: Check for failures
if: cancelled() || contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: |
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/weekly-flaky-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'CI: Weekly flaky tests'

on:
workflow_dispatch:
schedule:
- cron: '0 7 * * 1'
timezone: 'Europe/Vienna'

permissions:
contents: read
actions: read
checks: read

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
report:
name: Weekly flaky test report
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Analyze the last seven days of develop CI
uses: actions/github-script@v9
with:
retries: 3
script: |
const { default: run } = await import(
`${process.env.GITHUB_WORKSPACE}/scripts/weekly-flaky-tests.mjs`
);
await run({ github, context, core });
168 changes: 0 additions & 168 deletions scripts/report-ci-failures.mjs

This file was deleted.

Loading
Loading