This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch 
gh-readonly-queue/main/pr-9094-e1d676d10f723e251aadf9b3fb6f2147a6a1dd82
in repository https://gitbox.apache.org/repos/asf/texera.git

commit 98c63374b7f3645aa6b103e01baff90b30ff1360
Author: Ian Maxon <[email protected]>
AuthorDate: Sat Oct 24 09:22:28 2026 +0000

    feat(ci): run lightweight check and bot jobs on ubuntu-slim (#9094)
    
    ### What changes were proposed in this PR?
    These jobs only call the GitHub API or run small scripts, so they don't
    need a full ubuntu-latest VM; ubuntu-slim runners queue less. infra
    stays on ubuntu-latest because its tests need the preinstalled JDK.
    
    ### Any related issues, documentation, discussions?
    Closes #9093
    
    ### How was this PR tested?
    Claude used act locally to see which workflows might be candidates.
    
    
    ### Was this PR authored or co-authored using generative AI tooling?
    
    Yes, Claude Opus 5.5
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
---
 .github/workflows/automatic-email-notif-on-ddl-change.yml | 2 +-
 .github/workflows/backport-approval-check.yml             | 2 +-
 .github/workflows/backport-auto-label.yml                 | 2 +-
 .github/workflows/backport-checks.yml                     | 2 +-
 .github/workflows/backport-publish.yml                    | 2 +-
 .github/workflows/benchmarks-pr-comment.yml               | 2 +-
 .github/workflows/benchmarks.yml                          | 2 +-
 .github/workflows/build.yml                               | 4 +++-
 .github/workflows/check-header.yml                        | 2 +-
 .github/workflows/comment-commands.yml                    | 6 +++---
 .github/workflows/contributor-checks.yml                  | 2 +-
 .github/workflows/lint-pr.yml                             | 2 +-
 .github/workflows/pr-assignment.yml                       | 2 +-
 .github/workflows/pr-labeler.yml                          | 2 +-
 .github/workflows/precheck.yml                            | 2 +-
 .github/workflows/required-checks.yml                     | 2 +-
 .github/workflows/suggest-reviewers.yml                   | 2 +-
 17 files changed, 21 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/automatic-email-notif-on-ddl-change.yml 
b/.github/workflows/automatic-email-notif-on-ddl-change.yml
index 5190cd6306..fb664a66b8 100644
--- a/.github/workflows/automatic-email-notif-on-ddl-change.yml
+++ b/.github/workflows/automatic-email-notif-on-ddl-change.yml
@@ -26,7 +26,7 @@ jobs:
     if: >-
       github.event.pull_request.merged == true && 
       contains(github.event.pull_request.labels.*.name, 'ddl-change')
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       - name: Checkout
         uses: actions/checkout@v7
diff --git a/.github/workflows/backport-approval-check.yml 
b/.github/workflows/backport-approval-check.yml
index 6f92f08935..f63b7d4821 100644
--- a/.github/workflows/backport-approval-check.yml
+++ b/.github/workflows/backport-approval-check.yml
@@ -73,7 +73,7 @@ jobs:
     # Do not rename — this display name is the required status check context
     # referenced in .asf.yaml.
     name: Backport Approvals
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       # The default branch, not the PR's head or base. Both can predate #6941,
       # which added release-branches.yml — and `base.sha` is main's tip at the
diff --git a/.github/workflows/backport-auto-label.yml 
b/.github/workflows/backport-auto-label.yml
index 68eb838dc5..e05cf57033 100644
--- a/.github/workflows/backport-auto-label.yml
+++ b/.github/workflows/backport-auto-label.yml
@@ -66,7 +66,7 @@ jobs:
     # Only PRs into main get backport labels. A PR already targeting a
     # release/* branch is itself a backport and must not be re-labeled.
     if: ${{ github.event.pull_request.base.ref == 'main' }}
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       # The default branch: a ref that does not derive from the pull request,
       # which matters because pull_request_target runs with write permissions.
diff --git a/.github/workflows/backport-checks.yml 
b/.github/workflows/backport-checks.yml
index 1244d8f7d2..5d3405fa12 100644
--- a/.github/workflows/backport-checks.yml
+++ b/.github/workflows/backport-checks.yml
@@ -63,7 +63,7 @@ jobs:
   apply-check:
     needs: precheck
     if: ${{ needs.precheck.outputs.backport_targets != '[]' }}
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     outputs:
       buildable: ${{ steps.check.outputs.buildable }}
     steps:
diff --git a/.github/workflows/backport-publish.yml 
b/.github/workflows/backport-publish.yml
index 5cd309e685..e8257313df 100644
--- a/.github/workflows/backport-publish.yml
+++ b/.github/workflows/backport-publish.yml
@@ -38,7 +38,7 @@ permissions:
 
 jobs:
   publish:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       - name: Download preflight artifact
         id: download
diff --git a/.github/workflows/benchmarks-pr-comment.yml 
b/.github/workflows/benchmarks-pr-comment.yml
index 4003f1c9db..2958e7386f 100644
--- a/.github/workflows/benchmarks-pr-comment.yml
+++ b/.github/workflows/benchmarks-pr-comment.yml
@@ -57,7 +57,7 @@ jobs:
     # Only act when the upstream Benchmarks run was triggered by a PR.
     # push-to-main / schedule / dispatch produce no PR to comment on.
     if: ${{ github.event.workflow_run.event == 'pull_request' }}
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       - name: Download bench-results artifact
         id: artifact
diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml
index a34f34dc98..75563f7a9b 100644
--- a/.github/workflows/benchmarks.yml
+++ b/.github/workflows/benchmarks.yml
@@ -101,7 +101,7 @@ jobs:
     # run). Lifted from required-checks.yml's precheck so the trigger
     # surface matches amber-integration exactly.
     name: Precheck
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     outputs:
       run_bench: ${{ steps.decide.outputs.run_bench }}
     steps:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9b0a9e02c3..e6ef48c184 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1332,6 +1332,8 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
+        # Not ubuntu-slim: the bin/local-dev tests rely on the runner's
+        # preinstalled JDK 17, which ubuntu-slim does not ship.
         os: [ubuntu-latest, macos-latest]
         python-version: ["3.12"]
     steps:
@@ -1391,7 +1393,7 @@ jobs:
     # stays a fast, docker-free job.
     if: ${{ inputs.run_pyright_language_service }}
     name: ${{ format('pyright-language-service{0}', inputs.job_name_suffix) }}
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     defaults:
       run:
         working-directory: pyright-language-service
diff --git a/.github/workflows/check-header.yml 
b/.github/workflows/check-header.yml
index 003747c6e1..b902a78bb1 100644
--- a/.github/workflows/check-header.yml
+++ b/.github/workflows/check-header.yml
@@ -27,7 +27,7 @@ on:
 jobs:
   test:
     name: Check License Headers
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       - uses: actions/checkout@v7
       - uses: apache/skywalking-eyes@61275cc80d0798a405cb070f7d3a8aaf7cf2c2c1 
# v0.8.0
diff --git a/.github/workflows/comment-commands.yml 
b/.github/workflows/comment-commands.yml
index 25fb79d769..43fb378c8f 100644
--- a/.github/workflows/comment-commands.yml
+++ b/.github/workflows/comment-commands.yml
@@ -56,7 +56,7 @@ jobs:
       && github.event.comment.user.type != 'Bot'
       && (startsWith(github.event.comment.body, '/take')
           || startsWith(github.event.comment.body, '/untake'))
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       - uses: actions/github-script@v9
         with:
@@ -109,7 +109,7 @@ jobs:
       && github.event.comment.user.type != 'Bot'
       && (startsWith(github.event.comment.body, '/request-review')
           || startsWith(github.event.comment.body, '/unrequest-review'))
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       - uses: actions/github-script@v9
         with:
@@ -195,7 +195,7 @@ jobs:
           || startsWith(github.event.comment.body, '/unsub-issue')
           || startsWith(github.event.comment.body, '/parent-issue')
           || startsWith(github.event.comment.body, '/unparent-issue'))
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       - uses: actions/github-script@v9
         with:
diff --git a/.github/workflows/contributor-checks.yml 
b/.github/workflows/contributor-checks.yml
index e643859e03..6f7bcaf240 100644
--- a/.github/workflows/contributor-checks.yml
+++ b/.github/workflows/contributor-checks.yml
@@ -58,7 +58,7 @@ jobs:
     if: >-
       github.event.sender.type != 'Bot' &&
       github.event.sender.login != 'renovate-bot'
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       # pull_request_target and issues both resolve to the trusted base
       # branch (never the fork head), so checking out the message
diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml
index 998d4f960b..d3ed7a334b 100644
--- a/.github/workflows/lint-pr.yml
+++ b/.github/workflows/lint-pr.yml
@@ -28,7 +28,7 @@ on:
 jobs:
   main:
     name: Validate PR title
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     permissions:
       pull-requests: read
     steps:
diff --git a/.github/workflows/pr-assignment.yml 
b/.github/workflows/pr-assignment.yml
index 6f0444820b..57598cef23 100644
--- a/.github/workflows/pr-assignment.yml
+++ b/.github/workflows/pr-assignment.yml
@@ -29,7 +29,7 @@ jobs:
   # a single entry per event instead of several skipped siblings.
   # Step-level if-guards keep the actual work scoped.
   pr-assignment:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       # pull_request_target resolves to the trusted base branch, never the
       # fork head, so requiring this script from the steps below is safe.
diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml
index 4fdd313e0a..7c8d3b7d36 100644
--- a/.github/workflows/pr-labeler.yml
+++ b/.github/workflows/pr-labeler.yml
@@ -24,7 +24,7 @@ jobs:
     permissions:
       contents: read
       pull-requests: write
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       - uses: actions/labeler@v7
         with:
diff --git a/.github/workflows/precheck.yml b/.github/workflows/precheck.yml
index 4ce1d24092..32244e49dc 100644
--- a/.github/workflows/precheck.yml
+++ b/.github/workflows/precheck.yml
@@ -61,7 +61,7 @@ permissions:
 jobs:
   decide:
     name: Precheck
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     outputs:
       run_frontend: ${{ steps.decide.outputs.run_frontend }}
       run_amber: ${{ steps.decide.outputs.run_amber }}
diff --git a/.github/workflows/required-checks.yml 
b/.github/workflows/required-checks.yml
index 1db8a52668..c7aa15253b 100644
--- a/.github/workflows/required-checks.yml
+++ b/.github/workflows/required-checks.yml
@@ -72,7 +72,7 @@ jobs:
     name: Required Checks
     needs: [precheck, build]
     if: always()
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       - name: Verify all required checks succeeded or were skipped
         run: |
diff --git a/.github/workflows/suggest-reviewers.yml 
b/.github/workflows/suggest-reviewers.yml
index bb93949e35..4a1a617251 100644
--- a/.github/workflows/suggest-reviewers.yml
+++ b/.github/workflows/suggest-reviewers.yml
@@ -33,7 +33,7 @@ permissions:
 
 jobs:
   suggest-reviewers:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-slim
     steps:
       - uses: actions/checkout@v7
         with:

Reply via email to