From 89eab74c688abf081d609c7554f5931eef364b54 Mon Sep 17 00:00:00 2001 From: Tracy Barlow Date: Fri, 4 Dec 2026 21:31:12 +0000 Subject: [PATCH 1/2] BUILD: Build rc and run its performance tests every night Nightly Release Candidate builds and tests rc at 17:45 UTC and publishes nothing. Nightly Performance runs the performance tests on rc at 21:35 UTC and pushes the graphs to gh-images under the same names as before, so the benchmarks page now shows rc. Both call common-ci's workflows of the same name. --- .github/workflows/nightly-performance.yml | 28 +++++++++++++++++++ .../workflows/nightly-release-candidate.yml | 22 +++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 .github/workflows/nightly-performance.yml create mode 100644 .github/workflows/nightly-release-candidate.yml diff --git a/.github/workflows/nightly-performance.yml b/.github/workflows/nightly-performance.yml new file mode 100644 index 000000000..932ad7dba --- /dev/null +++ b/.github/workflows/nightly-performance.yml @@ -0,0 +1,28 @@ +name: Nightly Performance + +# Runs the performance tests on rc every night and pushes the graphs to +# gh-images, where the documentation's nightly benchmarks page reads them. +on: + workflow_dispatch: + inputs: + dryrun: + description: 'Draw the graphs without pushing them' + type: boolean + default: false + common-ci-ref: + type: string + default: '' + schedule: + - cron: '35 21 * * *' + +jobs: + Performance: + name: Nightly Performance + uses: 51Degrees/common-ci/.github/workflows/nightly-performance.yml@main + with: + repo-name: ${{ github.event.repository.name }} + org-name: ${{ github.event.repository.owner.login }} + dryrun: ${{ inputs.dryrun || false }} + common-ci-ref: ${{ inputs.common-ci-ref || '' }} + cache-assets: true + secrets: inherit diff --git a/.github/workflows/nightly-release-candidate.yml b/.github/workflows/nightly-release-candidate.yml new file mode 100644 index 000000000..45b429fa8 --- /dev/null +++ b/.github/workflows/nightly-release-candidate.yml @@ -0,0 +1,22 @@ +name: Nightly Release Candidate + +# Builds and tests rc, the next release, every night. Nothing is published. +on: + workflow_dispatch: + inputs: + common-ci-ref: + type: string + default: '' + schedule: + - cron: '45 17 * * *' + +jobs: + ReleaseCandidate: + name: Nightly Release Candidate + uses: 51Degrees/common-ci/.github/workflows/nightly-release-candidate.yml@main + with: + repo-name: ${{ github.event.repository.name }} + org-name: ${{ github.event.repository.owner.login }} + common-ci-ref: ${{ inputs.common-ci-ref || '' }} + cache-assets: true + secrets: inherit From 7d2ebce9123377c95487c973a9a42fd1ad8f09ec Mon Sep 17 00:00:00 2001 From: Tracy Barlow Date: Fri, 4 Dec 2026 21:31:12 +0000 Subject: [PATCH 2/2] BUILD: Leave the performance graphs to Nightly Performance Nightly Publish no longer compares performance in the Nightly Pipeline or in Publish, so only Nightly Performance writes gh-images. Pull requests into rc, and the release pull request, are compared with the history it records for rc. --- .github/workflows/nightly-pipeline.yml | 4 ++++ .github/workflows/publish.yml | 2 ++ .github/workflows/pull-requests.yml | 2 ++ .github/workflows/release-pull-request.yml | 2 ++ 4 files changed, 10 insertions(+) diff --git a/.github/workflows/nightly-pipeline.yml b/.github/workflows/nightly-pipeline.yml index 7b197d431..e7ca7d6b2 100644 --- a/.github/workflows/nightly-pipeline.yml +++ b/.github/workflows/nightly-pipeline.yml @@ -24,6 +24,8 @@ jobs: dryrun: ${{ inputs.dryrun || false }} common-ci-ref: ${{ inputs.common-ci-ref || '' }} cache-assets: true + # Nightly Performance draws the graphs from rc. + skip-compare-performance: true secrets: inherit DataFileChange: @@ -69,4 +71,6 @@ jobs: cache-assets: true # One configuration that fails does not cancel the others. fail-fast: false + # Compared with the history Nightly Performance records for rc. + performance-branch: rc secrets: inherit diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9e0290371..976e3ed69 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,4 +20,6 @@ jobs: dryrun: ${{ inputs.dryrun || false }} common-ci-ref: ${{ inputs.common-ci-ref || '' }} cache-assets: true + # Nightly Performance draws the graphs from rc. + skip-compare-performance: true secrets: inherit diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index e4d281224..94447c752 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -35,4 +35,6 @@ jobs: full-matrix: ${{ inputs.full-matrix || false }} fail-fast: false build-without-pull-requests: false + # Compared with the history Nightly Performance records for rc. + performance-branch: rc secrets: inherit diff --git a/.github/workflows/release-pull-request.yml b/.github/workflows/release-pull-request.yml index 8e4af9491..fd0009cd5 100644 --- a/.github/workflows/release-pull-request.yml +++ b/.github/workflows/release-pull-request.yml @@ -22,4 +22,6 @@ jobs: repo-name: ${{ github.event.repository.name }} org-name: ${{ github.event.repository.owner.login }} cache-assets: true + # Compared with the history Nightly Performance records for rc. + performance-branch: rc secrets: inherit