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

tqchen pushed a commit to branch native-jenkins-groovy
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/native-jenkins-groovy by this 
push:
     new f216560d1e [REFACTOR][CI] Group wheel builds and Jenkins node 
diagnostics by owner
f216560d1e is described below

commit f216560d1e85e69da5ed5c46aaf0f2e50d23d67a
Author: Tianqi Chen <[email protected]>
AuthorDate: Wed Oct 14 22:40:18 2026 +0000

    [REFACTOR][CI] Group wheel builds and Jenkins node diagnostics by owner
---
 .github/actions/setup/action.yml                                 | 6 +++---
 .github/workflows/publish_wheel.yml                              | 6 +++---
 ci/README.md                                                     | 2 +-
 ci/jenkins/README.md                                             | 9 +++++++++
 ci/jenkins/generated/common.groovy                               | 2 +-
 .../jenkins/scripts/show_node_info.sh                            | 0
 ci/{package => wheel}/README.md                                  | 0
 ci/{package => wheel}/build-environment.yaml                     | 0
 ci/{package => wheel}/manylinux_build_libtvm_runtime_cuda.sh     | 0
 ci/{package => wheel}/windows_build_libtvm_runtime_cuda.bat      | 0
 10 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml
index 2eea89fa79..19bcedbcd2 100644
--- a/.github/actions/setup/action.yml
+++ b/.github/actions/setup/action.yml
@@ -9,14 +9,14 @@ runs:
       CACHE_NUMBER: 2
     with:
       path: ~/conda_pkgs_dir
-      key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ 
hashFiles('ci/package/build-environment.yaml') }}
+      key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ 
hashFiles('ci/wheel/build-environment.yaml') }}
   - uses: conda-incubator/[email protected]
     continue-on-error: true
     id: conda1
     with:
       activate-environment: tvm-build
       channel-priority: strict
-      environment-file: ci/package/build-environment.yaml
+      environment-file: ci/wheel/build-environment.yaml
       auto-activate-base: false
       miniforge-version: latest
       python-version: "3.10"
@@ -27,7 +27,7 @@ runs:
     with:
       activate-environment: tvm-build
       channel-priority: strict
-      environment-file: ci/package/build-environment.yaml
+      environment-file: ci/wheel/build-environment.yaml
       auto-activate-base: false
       miniforge-version: latest
       use-only-tar-bz2: true
diff --git a/.github/workflows/publish_wheel.yml 
b/.github/workflows/publish_wheel.yml
index 7a56cb2732..f972d96339 100644
--- a/.github/workflows/publish_wheel.yml
+++ b/.github/workflows/publish_wheel.yml
@@ -60,19 +60,19 @@ jobs:
             os: ubuntu-latest
             container: 
quay.io/manylinux_cuda/manylinux_2_28_x86_64_cuda13_1:latest
             arch: x86_64
-            script: ci/package/manylinux_build_libtvm_runtime_cuda.sh
+            script: ci/wheel/manylinux_build_libtvm_runtime_cuda.sh
             lib: build-wheel-cuda/lib/libtvm_runtime_cuda.so
           - name: "CUDA runtime sidecar (Linux aarch64, manylinux_2_28)"
             os: ubuntu-24.04-arm
             container: 
quay.io/manylinux_cuda/manylinux_2_28_aarch64_cuda13_1:latest
             arch: aarch64
-            script: ci/package/manylinux_build_libtvm_runtime_cuda.sh
+            script: ci/wheel/manylinux_build_libtvm_runtime_cuda.sh
             lib: build-wheel-cuda/lib/libtvm_runtime_cuda.so
           - name: "CUDA runtime sidecar (Windows AMD64)"
             os: windows-2022
             container: ""
             arch: AMD64
-            script: ci/package/windows_build_libtvm_runtime_cuda.bat
+            script: ci/wheel/windows_build_libtvm_runtime_cuda.bat
             lib: build-wheel-cuda/lib/tvm_runtime_cuda.dll
     steps:
       # The containerized Linux legs check out as root; mark the tree safe so 
git
diff --git a/ci/README.md b/ci/README.md
index d4ac4ed5b4..292fdddd61 100644
--- a/ci/README.md
+++ b/ci/README.md
@@ -26,7 +26,7 @@ TVM project in a healthy state and preventing breakages. CI 
in TVM is broken int
  - The tests themselves, all of which live underneath [`tests`](../tests).
  - Definitions of test suites, with each suite defined as a separate `task_` 
script in
    [`tests/scripts`](../tests/scripts).
- - GitHub automation [`ci/github`](github), package builds 
[`ci/package`](package),
+ - GitHub automation [`ci/github`](github), wheel builds [`ci/wheel`](wheel),
    and Jenkins host commands [`ci/jenkins/scripts`](jenkins/scripts).
  - The linux test sequence (in [`Jenkinsfile`](../ci/jenkins/generated/)), 
which lints and builds TVM and runs test
    suites using Docker on Linux.
diff --git a/ci/jenkins/README.md b/ci/jenkins/README.md
index a7bb6c7a5a..1294228054 100644
--- a/ci/jenkins/README.md
+++ b/ci/jenkins/README.md
@@ -69,6 +69,15 @@ runs once before preparation. Trusted helper changes use 
Jenkins' selected
 revision directly. Host scripts and artifact metadata follow the pinned target
 revision for PR authors outside `CONTRIBUTORS.md`.
 
+Migrate each trusted target branch as a unit before testing untrusted PRs 
against
+it. A target predating the shared helper cannot supply the fallback. An older
+helper or monolithic entry point may also call a renamed host script before the
+merge and trusted-file restoration, so a PR deleting that old path can fail
+preparation. This includes the node-information command moved into `scripts/`.
+A trusted branch build exercises the complete new layout; it does not establish
+compatibility with an unmigrated target. Do not bypass these failures by 
loading
+PR-owned helpers or a different target revision.
+
 Before enabling the migration on production jobs, validate it with the existing
 Jenkins plugin versions and sandbox settings on a trusted branch: run all five
 entry points, suspend/resume across a node step, and exercise spot loss, a 
normal
diff --git a/ci/jenkins/generated/common.groovy 
b/ci/jenkins/generated/common.groovy
index 886bf3fa36..cd8324b5f2 100644
--- a/ci/jenkins/generated/common.groovy
+++ b/ci/jenkins/generated/common.groovy
@@ -46,7 +46,7 @@ def init_git() {
 
   // Add more info about job node
   sh (
-    script: './tests/scripts/task_show_node_info.sh',
+    script: './ci/jenkins/scripts/show_node_info.sh',
     label: 'Show executor node info',
   )
 
diff --git a/tests/scripts/task_show_node_info.sh 
b/ci/jenkins/scripts/show_node_info.sh
similarity index 100%
rename from tests/scripts/task_show_node_info.sh
rename to ci/jenkins/scripts/show_node_info.sh
diff --git a/ci/package/README.md b/ci/wheel/README.md
similarity index 100%
rename from ci/package/README.md
rename to ci/wheel/README.md
diff --git a/ci/package/build-environment.yaml b/ci/wheel/build-environment.yaml
similarity index 100%
rename from ci/package/build-environment.yaml
rename to ci/wheel/build-environment.yaml
diff --git a/ci/package/manylinux_build_libtvm_runtime_cuda.sh 
b/ci/wheel/manylinux_build_libtvm_runtime_cuda.sh
similarity index 100%
rename from ci/package/manylinux_build_libtvm_runtime_cuda.sh
rename to ci/wheel/manylinux_build_libtvm_runtime_cuda.sh
diff --git a/ci/package/windows_build_libtvm_runtime_cuda.bat 
b/ci/wheel/windows_build_libtvm_runtime_cuda.bat
similarity index 100%
rename from ci/package/windows_build_libtvm_runtime_cuda.bat
rename to ci/wheel/windows_build_libtvm_runtime_cuda.bat

Reply via email to