Skip to content

fix(ci): deliver ONNX install skip through explicit env - #16782

Merged
diegosouzapw merged 1 commit into
mainfrom
chore/port-16246-onnx-ci-to-main
Oct 16, 2026
Merged

diegosouzapw merged 1 commit into
mainfrom
chore/port-16246-onnx-ci-to-main

Conversation

@diegosouzapw

Copy link
Copy Markdown
Collaborator

Summary

Companion for #16246, already squash-merged onto release/v3.8.52 as fbd55a17. This PR ports only that checkout-install delta onto main. It is not merged here.

  • The shared npm-ci-retry action sets ONNXRUNTIME_NODE_INSTALL=skip on its install step and adds .github/actions/npm-ci-retry/action.yml to the existing cache key.
  • The same step-scoped variable is set on the direct npm ci steps in the workflows fix(ci): deliver ONNX install skip flag through explicit environment #16246 already covered.
  • action.yml and nightly-schemathesis.yml had diverged on main, so those two files keep main's shape. The release-only npm pin step and native-runtime verify step were not copied.
  • tests/unit/onnx-install-env-16225.test.ts checks config/ci/toolchain.json only when that file exists. main does not have it.

Validation

node --import tsx/esm --test tests/unit/onnx-install-env-16225.test.ts — 29 pass / 0 fail on this commit (24341f249b2c056bfd1347cbd970cb0e2f9930c4), with the local npm 12.0.2. The release pin 11.15.0 is not on main.

#16225 is already closed. No file-size baseline is in this diff.

Thanks @diegosouzapw.

Port the checkout-install policy from #16246 onto main. The shared retry action and the direct npm ci steps set ONNXRUNTIME_NODE_INSTALL=skip, and the action file joins the existing cache key.
@github-actions

Copy link
Copy Markdown
Contributor

CI Coverage Report

  • Coverage job: success
  • PR test policy: success

Coverage artifact was not available for this run.

@diegosouzapw
diegosouzapw merged commit 5e3ee0d into main Oct 16, 2026
31 of 36 checks passed
@diegosouzapw
diegosouzapw deleted the chore/port-16246-onnx-ci-to-main branch October 18, 2026 23:48
diegosouzapw added a commit that referenced this pull request Oct 19, 2026
Brings main's 4 post-v3.8.51 commits (#16835, #16782, #16809, #16536) into the
release ancestry so PR #15083 stops being CONFLICTING and runs CI again.

Tree kept identical to the release tip (da38fc4): every main-only change is
already on release in a newer form — evaluateComplexityRun() in
validate-release-green.mjs, the USE_VPS_BUILD_RUNNER gate in ci.yml and
nightly-release-green.yml, ONNXRUNTIME_NODE_INSTALL=skip in npm-ci-retry, the
375-provider counts (main says 358), and the four unit tests whose release
versions are supersets of main's. The three main-only changelog.d fragments
are dropped on purpose: the reconciler credits those commits from history.
@diegosouzapw diegosouzapw mentioned this pull request Oct 19, 2026
arashashrafii pushed a commit to arashashrafii/OmniRoute that referenced this pull request Oct 24, 2026
…rence#16782)

Companion for cheaper-inference#16246, already squash-merged onto `release/v3.8.52` as `fbd55a17`. This PR ports only that checkout-install delta onto `main`.

- The shared `npm-ci-retry` action sets `ONNXRUNTIME_NODE_INSTALL=skip` on its install step and adds `.github/actions/npm-ci-retry/action.yml` to the existing cache key.
- The same step-scoped variable is set on the direct `npm ci` steps in the workflows cheaper-inference#16246 already covered.
- `action.yml` and `nightly-schemathesis.yml` had diverged on `main`, so those two files keep `main`'s shape. The release-only npm pin step and native-runtime verify step were not copied.
- `tests/unit/onnx-install-env-16225.test.ts` checks `config/ci/toolchain.json` only when that file exists. `main` does not have it.

`node --import tsx/esm --test tests/unit/onnx-install-env-16225.test.ts` — 29 pass / 0 fail on this commit (`24341f249b2c056bfd1347cbd970cb0e2f9930c4`), with the local npm 12.0.2. The release pin 11.15.0 is not on `main`.

The branch was already even with `origin/main` (`fd95f823`) and does not change `package-lock.json`, `quality-baseline.json`, `ci.yml`, or `providerCardAudioBadge.test.tsx`. CI reds at merge time are inherited: `npm audit` critical and the vuln ratchet (66 > baseline 27) reproduce from main's lockfile, the Vitest `window is not defined` error is in that untouched UI test, and `dast-smoke` died on a runner shutdown signal.

Thanks @diegosouzapw.

(cherry picked from commit 5e3ee0d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant