This is an automated email from the ASF dual-hosted git repository.
hello-stephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new e2d337568b5 [chore](ci) Pin standard Ubuntu Actions jobs to 24.04
(#71282)
e2d337568b5 is described below
commit e2d337568b5ef95a7908e9f5989a49f7b0c62ecf
Author: shuke <[email protected]>
AuthorDate: Wed Dec 2 16:10:30 2026 +0800
[chore](ci) Pin standard Ubuntu Actions jobs to 24.04 (#71282)
### Background
Doris uses GitHub-hosted runners for PR checks, review status updates,
and TeamCity submissions. The `ubuntu-latest` label follows GitHub's
default Ubuntu image.
### What problem does this PR solve?
Issue Number: None
Related PR: #71162 (runner selection for TeamCity submissions)
PR Type: Build/CI/Chore
Problem Summary: During the December 1 peak (09:00–16:00 UTC), queue
wait P95 was 54 minutes across 1,114 `ubuntu-latest` jobs and 6.2
minutes across 174 `ubuntu-24.04` jobs. The groups ran different
workloads. Pin the jobs using `ubuntu-latest` to 24.04 and measure
whether overall queue wait P95 falls below 10 minutes under the new
load.
### Details
- **Affected:** 22 job definitions across 18 workflow files, including
the full VM used for multi-lane TeamCity submissions. The commented-out
CDC example also tracks the new label.
- **Behavior change:** The affected jobs request the versioned
`ubuntu-24.04` runner label.
- **Developer and release impact:** These jobs will keep using Ubuntu
24.04 when GitHub moves the default Ubuntu label.
- **License and third-party:** None.
- **Rollback:** Revert this PR to restore the previous runner labels.
### Testing
- Parsed all 26 workflow YAML files before and after the edit. The only
semantic differences were the 22 intended `runs-on` selections.
- Ran the existing `test_review_checkout_workflow` and
`test_pr_workflow_event` suites locally. All 19 tests passed.
### Release note
None.
### Check List (For Author)
- Behavior changed: Yes. The affected CI jobs explicitly select Ubuntu
24.04.
- Does this need documentation: No.
- Pre-submission status: Partially verified. Hosted execution and
peak-hour queue wait under the new load need live verification.
### AI Disclosure
- Tool: OpenAI Codex (GPT-6).
- Generated: Workflow label edits, local verification, and this PR
description.
- Human review: Pending.
---
.github/workflows/auto-cherry-pick.yml | 2 +-
.github/workflows/build-extension.yml | 6 +++---
.github/workflows/build-thirdparty.yml | 2 +-
.github/workflows/build-ui.yml | 4 ++--
.github/workflows/checkstyle.yaml | 2 +-
.github/workflows/clang-format.yml | 2 +-
.github/workflows/code-review-aggregate-status.yml | 2 +-
.github/workflows/code-review-dismissed.yml | 2 +-
.github/workflows/code-review-sync-result.yml | 6 +++---
.github/workflows/comment-to-trigger-teamcity.yml | 2 +-
.github/workflows/gitleaks-pr-check.yml | 2 +-
.github/workflows/lfs-warning.yml | 2 +-
.github/workflows/license-eyes.yml | 2 +-
.github/workflows/pull-request-events.yml | 2 +-
.github/workflows/resolve-pr-event.yml | 2 +-
.github/workflows/scope-label.yml | 2 +-
.github/workflows/stale.yml | 2 +-
.github/workflows/third_party_review.yml | 2 +-
18 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/.github/workflows/auto-cherry-pick.yml
b/.github/workflows/auto-cherry-pick.yml
index ade803a6eeb..cc087f86f7b 100644
--- a/.github/workflows/auto-cherry-pick.yml
+++ b/.github/workflows/auto-cherry-pick.yml
@@ -30,7 +30,7 @@ permissions:
pull-requests: write
jobs:
auto_cherry_pick:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
if: >-
${{ github.event.pull_request.merged == true &&
(contains(github.event.pull_request.labels.*.name, 'dev/4.1.x') ||
diff --git a/.github/workflows/build-extension.yml
b/.github/workflows/build-extension.yml
index d0c8ae5a4ca..b0be618c4be 100644
--- a/.github/workflows/build-extension.yml
+++ b/.github/workflows/build-extension.yml
@@ -29,7 +29,7 @@ jobs:
build-cdc-client:
name: Build Cdc Client
if: github.event_name == 'pull_request'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- name: Checkout ${{ github.ref }}
uses: actions/checkout@v3
@@ -63,7 +63,7 @@ jobs:
test-cdc-client:
name: Test Cdc Client
if: github.event_name == 'pull_request'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- name: Checkout ${{ github.ref }}
uses: actions/checkout@v3
@@ -82,7 +82,7 @@ jobs:
# name: Build Documents
# needs: changes
# if: ${{ needs.changes.outputs.docs_changes == 'true' }}
- # runs-on: ubuntu-latest
+ # runs-on: ubuntu-24.04
# steps:
# - name: Checkout ${{ github.ref }}
# uses: actions/checkout@v3
diff --git a/.github/workflows/build-thirdparty.yml
b/.github/workflows/build-thirdparty.yml
index 437dc1349f1..468a886d990 100644
--- a/.github/workflows/build-thirdparty.yml
+++ b/.github/workflows/build-thirdparty.yml
@@ -28,7 +28,7 @@ concurrency:
jobs:
changes:
name: Detect component build paths
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
if: github.event_name == 'pull_request'
permissions:
contents: read
diff --git a/.github/workflows/build-ui.yml b/.github/workflows/build-ui.yml
index ab4a044f0ef..6ea6f318ecd 100644
--- a/.github/workflows/build-ui.yml
+++ b/.github/workflows/build-ui.yml
@@ -29,7 +29,7 @@ jobs:
changes:
name: Detect Changes
if: github.event_name == 'workflow_dispatch'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
outputs:
ui_changes: ${{ steps.filter.outputs.ui_changes }}
steps:
@@ -53,7 +53,7 @@ jobs:
needs: changes
# The PR caller has already checked UI paths. Manual runs use the local
comparison.
if: ${{ !cancelled() && (github.event_name == 'pull_request' ||
needs.changes.outputs.ui_changes == 'true') }}
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- name: Checkout ${{ github.ref }}
uses: actions/checkout@v3
diff --git a/.github/workflows/checkstyle.yaml
b/.github/workflows/checkstyle.yaml
index f4de13ea899..e097fe1b8a3 100644
--- a/.github/workflows/checkstyle.yaml
+++ b/.github/workflows/checkstyle.yaml
@@ -29,7 +29,7 @@ permissions:
jobs:
java-checkstyle:
name: "CheckStyle"
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
concurrency:
group: fe-code-style-${{ github.event.pull_request.number ||
github.run_id }}-${{ github.sha }}
cancel-in-progress: true
diff --git a/.github/workflows/clang-format.yml
b/.github/workflows/clang-format.yml
index ca2ec189c13..514fecbcb42 100644
--- a/.github/workflows/clang-format.yml
+++ b/.github/workflows/clang-format.yml
@@ -30,7 +30,7 @@ permissions:
jobs:
clang-format:
name: "Clang Formatter"
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
concurrency:
group: code-formatter-${{ github.event.pull_request.number ||
github.run_id }}-${{ github.sha }}
cancel-in-progress: true
diff --git a/.github/workflows/code-review-aggregate-status.yml
b/.github/workflows/code-review-aggregate-status.yml
index fc05920a6f0..0115bfdadbc 100644
--- a/.github/workflows/code-review-aggregate-status.yml
+++ b/.github/workflows/code-review-aggregate-status.yml
@@ -12,7 +12,7 @@ permissions: {}
jobs:
aggregate:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
concurrency:
group: code-review-status-${{ inputs.head_sha }}
cancel-in-progress: false
diff --git a/.github/workflows/code-review-dismissed.yml
b/.github/workflows/code-review-dismissed.yml
index f62fe8d8662..6269d005d8e 100644
--- a/.github/workflows/code-review-dismissed.yml
+++ b/.github/workflows/code-review-dismissed.yml
@@ -14,6 +14,6 @@ jobs:
if: >-
github.event.review.user.login == 'github-actions[bot]' ||
(vars.DORIS_REVIEW_APP_BOT != '' && github.event.review.user.login ==
vars.DORIS_REVIEW_APP_BOT)
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- run: echo 'Requesting a code review status update.'
diff --git a/.github/workflows/code-review-sync-result.yml
b/.github/workflows/code-review-sync-result.yml
index 1114c15c7b0..de99362b703 100644
--- a/.github/workflows/code-review-sync-result.yml
+++ b/.github/workflows/code-review-sync-result.yml
@@ -19,7 +19,7 @@ jobs:
github.event.workflow_run.event == 'pull_request_review' &&
github.event.workflow_run.path ==
'.github/workflows/code-review-dismissed.yml' &&
github.event.workflow_run.conclusion == 'success'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
outputs:
head_sha: ${{ steps.record.outputs.head_sha }}
steps:
@@ -49,7 +49,7 @@ jobs:
accept-skill-review:
name: Accept local skill review PASS
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
outputs:
accepted: ${{ steps.validation.outputs.valid }}
head_sha: ${{ steps.validation.outputs.head_sha }}
@@ -240,7 +240,7 @@ jobs:
skip-on-comment:
name: Skip review via skip buildall comment
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
outputs:
accepted: ${{ steps.skip.outputs.accepted }}
head_sha: ${{ steps.skip.outputs.head_sha }}
diff --git a/.github/workflows/comment-to-trigger-teamcity.yml
b/.github/workflows/comment-to-trigger-teamcity.yml
index 53e041cdcfd..814763c87e4 100644
--- a/.github/workflows/comment-to-trigger-teamcity.yml
+++ b/.github/workflows/comment-to-trigger-teamcity.yml
@@ -444,7 +444,7 @@ jobs:
submit-fc:
needs: [check-comment-if-need-to-trigger-teamcity, approve-fc]
# FC can take five minutes per lane. Keep long sequential batches on a
full VM.
- runs-on: ${{
fromJSON(needs.check-comment-if-need-to-trigger-teamcity.outputs.lanes ||
'[]')[2] && 'ubuntu-latest' || 'ubuntu-slim' }}
+ runs-on: ${{
fromJSON(needs.check-comment-if-need-to-trigger-teamcity.outputs.lanes ||
'[]')[2] && 'ubuntu-24.04' || 'ubuntu-slim' }}
permissions:
contents: read
id-token: write
diff --git a/.github/workflows/gitleaks-pr-check.yml
b/.github/workflows/gitleaks-pr-check.yml
index 2436429e7c5..d8670f73665 100644
--- a/.github/workflows/gitleaks-pr-check.yml
+++ b/.github/workflows/gitleaks-pr-check.yml
@@ -28,7 +28,7 @@ permissions:
jobs:
gitleaks:
name: Check for secrets
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
concurrency:
group: gitleaks-${{ github.event.pull_request.number || github.run_id
}}-${{ github.sha }}
cancel-in-progress: true
diff --git a/.github/workflows/lfs-warning.yml
b/.github/workflows/lfs-warning.yml
index 95164c07a7e..38a268b80b2 100644
--- a/.github/workflows/lfs-warning.yml
+++ b/.github/workflows/lfs-warning.yml
@@ -41,7 +41,7 @@ jobs:
needs: resolve-event
if: needs.resolve-event.outputs.check_large_files == 'true'
name: "Check large file"
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
# Replaces the previous checkout + ppremk/lfs-warning action with plain
# GitHub API calls. The check itself only needs the list of added files
diff --git a/.github/workflows/license-eyes.yml
b/.github/workflows/license-eyes.yml
index de80eafd33c..1002bec707b 100644
--- a/.github/workflows/license-eyes.yml
+++ b/.github/workflows/license-eyes.yml
@@ -28,7 +28,7 @@ permissions:
jobs:
license-check:
name: "License Check"
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
concurrency:
group: license-check-${{ github.event.pull_request.number ||
github.run_id }}-${{ github.sha }}
cancel-in-progress: true
diff --git a/.github/workflows/pull-request-events.yml
b/.github/workflows/pull-request-events.yml
index 7f931a28ea1..61eb8962771 100644
--- a/.github/workflows/pull-request-events.yml
+++ b/.github/workflows/pull-request-events.yml
@@ -25,7 +25,7 @@ permissions: {}
jobs:
relay:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
# This workflow can come from a fork. It has no checkout, secrets or
writes.
diff --git a/.github/workflows/resolve-pr-event.yml
b/.github/workflows/resolve-pr-event.yml
index 1cfad800028..17a7cac42fb 100644
--- a/.github/workflows/resolve-pr-event.yml
+++ b/.github/workflows/resolve-pr-event.yml
@@ -34,7 +34,7 @@ permissions:
jobs:
resolve:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
timeout-minutes: 5
outputs:
pr_number: ${{ steps.event.outputs.pr_number }}
diff --git a/.github/workflows/scope-label.yml
b/.github/workflows/scope-label.yml
index 6a9b094a84a..f24fcf880c1 100644
--- a/.github/workflows/scope-label.yml
+++ b/.github/workflows/scope-label.yml
@@ -28,7 +28,7 @@ name: Add Scope Labeler
jobs:
process:
name: Process
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- name: Assign GitHub labels
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 0700142e3e6..9cd64da2e84 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -24,7 +24,7 @@ on:
jobs:
stale:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
permissions:
issues: write
pull-requests: write
diff --git a/.github/workflows/third_party_review.yml
b/.github/workflows/third_party_review.yml
index 7dbba3939d1..eaa0d06b55d 100644
--- a/.github/workflows/third_party_review.yml
+++ b/.github/workflows/third_party_review.yml
@@ -48,7 +48,7 @@ permissions:
contents: read
jobs:
dependency-review:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v5
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]