Repository navigation
fix: never reuse a pip-cached arcticpy wheel across runner images - #331
Merged
Merged
Conversation
arcticpy ships only an sdist, so install_arcticpy.sh builds the wheel on the runner and it links that machine's libgsl by soname. smoke-tests.yml caches ~/.cache/pip with no image identity in the key, so after GitHub moved ubuntu-24.04 (libgsl.so.27) to ubuntu-26.04 (libgsl.so.28) pip restored the old wheel and `import arcticpy` failed (autocti_workspace run 42883685928). Install arcticpy with --no-cache-dir so it is always built against the GSL actually present (~12-15 s per job: the uncached build in arcticpy-action self-test run 32780221181 took 12 s). The other installs keep the cache. A regression test pins the flag on the real script. Fixes #330. Corrective-PR exception for Heart RED reason "autocti_workspace: Smoke Tests failure on main". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…string The organ-code tenant firewall rejects workspace repo names in new organ files; describe the incident generically. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
autocti_workspace Smoke Tests have been red on
mainsince GitHub's runners moved fromubuntu-24.04toubuntu-26.04(run 42883685928). arcticpy ships only an sdist, soinstall_arcticpy.shbuilds the wheel on the runner, and that wheel links the machine's libgsl by soname.smoke-tests.ymlcaches~/.cache/pipwith no image identity in the key, so pip restored the wheel built on 24.04 againstlibgsl.so.27. 26.04 only haslibgsl28, soimport arcticpyfailed.This PR installs arcticpy with
--no-cache-dir, so the wheel is always built against the GSL actually present. That costs about 12–15 s per job: the uncached build in self-test run 32780221181 took 12 s. The fix sits in the one shared recipe, so it covers smoke tests, CTI lib-tests, docs builds and the local smoke runner. No manual cache deletion is needed. A regression test pins the flag.Fixes #330.
Corrective-PR exception (AUTONOMY.md)
pyauto-heart readiness, 2026-11-11T08:14Z, re-read unchanged at ship time): "autocti_workspace: Smoke Tests failure on main"/prm.Using cached arcticpy-2.6-…whl, thenImportError: libgsl.so.27).ubuntu-24.04; red run 42883685928 onubuntu-26.04.warningsNameError in smoke-tests.yml'scontinue-on-errorcache-stats step (from fe22b65). It does not cause the RED.API Changes
None. This is a CI install-recipe change only: no Python API, and no workflow inputs or outputs changed.
Test Plan
test_arcticpy_build_never_reuses_a_pip_cached_wheelfails on the old script and passes with the fix.arcticpy Action Self-Test(path-filtered on this action) builds fresh and imports on the current image; Heart tests green.@main): re-run autocti_workspace Smoke Tests onmain. The log should show "Building wheel for arcticpy" and the run should go green. Then Heart's next verdict should drop the reason.Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code