Skip to content

CI: install the cvcpkg CLI through the retrying action in every job - #1628

Merged
transfix merged 2 commits into
masterfrom
ci/cvcpkg-cli-retries
Dec 1, 2026
Merged

transfix merged 2 commits into
masterfrom
ci/cvcpkg-cli-retries

Conversation

@transfix

Copy link
Copy Markdown
Owner

Why

#1597's recipe / ubuntu-22.04 / Release job (run 46117980396) failed in "Install cvcpkg" in under a minute: curl -fsSL https://cvcpkg.org/install.sh | sh got HTTP 503, and the site answered 200 again minutes later. .github/actions/cvcpkg-cli already re-runs the installer up to five times (20/40/60/90 s apart, 3.5 minutes in all), but only the actions built on it used it. 18 workflow steps still piped install.sh (or install.ps1) straight to a shell, with no retry.

What

  • ci-recipe.yml: the POSIX and Windows install steps become one uses: ./.github/actions/cvcpkg-cli with the same 2.5.14 pin. The action installs to the same $RUNNER_TEMP/cvcpkg-bin and adds it to GITHUB_PATH, as the two steps did.
  • ci.yml (12 jobs: format-check, cvcgl-wasm-js, physics-wasm, ports-wasm, wasm-guests, permissive-wasm, cgal-ab, mujoco, volrover-goldens, ari-wasm, arigl-web, ariglx-web), publish-cvcgl-wasm.yml (3 jobs) and publish-pycvc-gl-wasm.yml (1 job): each gets an "Install the cvcpkg CLI" step that carries the old step's if:. The old step loses its curl line and its ~/.local/bin PATH lines. cvcpkg now lives in $RUNNER_TEMP/cvcpkg-bin, on PATH for every later step. Nothing else in these jobs or the repo's scripts refers to ~/.local/bin.
  • These jobs never pinned a version, so they pass version: latest and keep the registry's newest (2.5.15+cvc.1 today) rather than dropping to the action's 2.5.14. Pinning them is a separate decision.
  • cvcpkg-cli/action.yml: version: latest leaves CVCPKG_VERSION empty. install.sh and install.ps1 both read an empty value as "newest", which is what these jobs got before when it was unset. The description now cites the 503.

ci.yml stays CRLF: 4141 of 4141 lines, the same as master's 4103 of 4103. The other files stay LF.

Testing

  • Every ci.yml job listed above has .github/workflows/ci.yml in its path gate, so this PR runs each of them through the action with latest. The ci-recipe Linux and Windows lanes run the action with the 2.5.14 pin.
  • The publish workflows run only on a tag push or a dispatch, so this PR's CI does not run them. Their change is the same as ci.yml's.

#1597's recipe / ubuntu-22.04 / Release job (run
46117980396) failed in "Install cvcpkg" when cvcpkg.org answered one
503 to `curl -fsSL https://cvcpkg.org/install.sh | sh`; the site was
back minutes later. .github/actions/cvcpkg-cli already re-runs the
installer up to five times (20/40/60/90 s apart), but 18 steps still
piped install.sh (or install.ps1) straight to a shell.

- ci-recipe.yml: its POSIX and Windows install steps become one
  `uses: ./.github/actions/cvcpkg-cli` with the same 2.5.14 pin. The
  action installs to the same $RUNNER_TEMP/cvcpkg-bin and adds it to
  GITHUB_PATH, as those steps did.
- ci.yml (12 jobs), publish-cvcgl-wasm.yml (3) and
  publish-pycvc-gl-wasm.yml (1): each gets an "Install the cvcpkg CLI"
  step with the old step's `if:`, and the old step loses its curl line
  and its ~/.local/bin PATH lines. These jobs never pinned a version,
  so they pass `version: latest` and keep taking the registry's newest
  (2.5.15+cvc.1 today), not the action's 2.5.14.
- cvcpkg-cli/action.yml: `version: latest` leaves CVCPKG_VERSION empty,
  which both installers read as "newest". The description cites the
  503.

ci.yml stays CRLF.
@transfix
transfix merged commit ffde34f into master Dec 1, 2026
31 checks passed
@transfix
transfix deleted the ci/cvcpkg-cli-retries branch December 1, 2026 03:26
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