From 6fde276ce5f745fc39e15b6d13a5054ba2ad3640 Mon Sep 17 00:00:00 2001 From: Stardust0831 <41898282+Stardust0831@users.noreply.github.com> Date: Thu, 19 Nov 2026 00:20:30 +0800 Subject: [PATCH 1/2] docs: clarify SAI validation after CI activation --- .ci/sai/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.ci/sai/README.md b/.ci/sai/README.md index c683dd7..25848a6 100644 --- a/.ci/sai/README.md +++ b/.ci/sai/README.md @@ -20,6 +20,11 @@ the workflow to `main` to cover pushes there and expose **Run workflow** in Actions. A skipped job means no GPU test was run. Failed or incomplete suites remain failures; the job uploads available JUnit, logs and Slurm evidence. +Enabling `SAI_CI_ENABLED` does not restart previously skipped runs. Open, update +or reopen a PR targeting `develop` to request a new validation, then approve its +`sai-libddla` Environment for the current head SHA. Check the run's artifact and +both Slurm stages before treating deployment acceptance as complete. + ## Repository owner 1. Review who can push to `develop` and `main`: their pushes are trusted to run From fc74dfb6ebf23db4163d5db671b1097ba6961e22 Mon Sep 17 00:00:00 2001 From: Stardust0831 <41898282+Stardust0831@users.noreply.github.com> Date: Thu, 19 Nov 2026 00:28:19 +0800 Subject: [PATCH 2/2] ci: remove the SAI validation activation variable --- .ci/sai/README.md | 19 +++++++++---------- .github/workflows/sai-validation.yml | 5 ++--- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.ci/sai/README.md b/.ci/sai/README.md index 25848a6..3843fed 100644 --- a/.ci/sai/README.md +++ b/.ci/sai/README.md @@ -11,7 +11,7 @@ neither stage requests explicit Slurm memory. | Event | Source sent to SAI | Approval | | --- | --- | --- | -| Push or merge to upstream `develop` or `main` | Pushed commit | Automatic once enabled | +| Push or merge to upstream `develop` or `main` | Pushed commit | Automatic | | PR opened, reopened or updated against either branch | Current PR head, including for forks | A maintainer approves that run; a new commit needs new approval | | Manual run on either branch | Supplied full commit SHA | A maintainer approves that run | @@ -20,10 +20,10 @@ the workflow to `main` to cover pushes there and expose **Run workflow** in Actions. A skipped job means no GPU test was run. Failed or incomplete suites remain failures; the job uploads available JUnit, logs and Slurm evidence. -Enabling `SAI_CI_ENABLED` does not restart previously skipped runs. Open, update -or reopen a PR targeting `develop` to request a new validation, then approve its -`sai-libddla` Environment for the current head SHA. Check the run's artifact and -both Slurm stages before treating deployment acceptance as complete. +Open, update or reopen a PR targeting `develop` to request a new validation, +then approve its `sai-libddla` Environment for the current head SHA. Check the +run's artifact and both Slurm stages before treating deployment acceptance as +complete. ## Repository owner @@ -40,10 +40,9 @@ both Slurm stages before treating deployment acceptance as complete. renewal for disposable runners and reviewer logins with SAI. Each job shares its automatically issued, read-only `GITHUB_TOKEN` with the site publisher; no separate PAT or repository-write credential is needed. -4. Once SAI confirms isolation, set the repository Actions variable - `SAI_CI_ENABLED=true` for a supervised first run on `develop`. Keep it on - after verifying reporting and cancellation; removing it disables new - automatic runs. Leave this check out of required merge checks initially. +4. Coordinate the first run on `develop` with SAI and verify reporting and + cancellation. No activation variable is required. Leave this check out of + required merge checks initially. ## SAI administrators @@ -77,7 +76,7 @@ both Slurm stages before treating deployment acceptance as complete. with Slurm, then re-run with a new attempt. Retain public evidence per site policy and keep partial or absent results from counting as a pass. -Before enabling routine runs, verify the credential boundary from an actual job, +During deployment acceptance, verify the credential boundary from an actual job, check that an unapproved SHA is refused, and exercise artifact upload and cancellation through Actions. Keep the check informational while deployment and the two CUDA 12.9 Cholesky error-code failures are outstanding. diff --git a/.github/workflows/sai-validation.yml b/.github/workflows/sai-validation.yml index a586414..8606ab4 100644 --- a/.github/workflows/sai-validation.yml +++ b/.github/workflows/sai-validation.yml @@ -29,9 +29,8 @@ jobs: github.repository == 'userchba/LibDDLA' && ((github.event_name == 'workflow_dispatch' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop')) || - (vars.SAI_CI_ENABLED == 'true' && - (github.event_name == 'pull_request' || - (github.event_name == 'push' && !github.event.deleted)))) + github.event_name == 'pull_request' || + (github.event_name == 'push' && !github.event.deleted)) name: SAI V100, full CUDA suite and six-rank matrix tests runs-on: [self-hosted, Linux, X64, sai-libddla-results] environment: ${{ github.event_name == 'push' && 'sai-libddla-push' || 'sai-libddla' }}