Skip to content

fix(ci): retry the pinned stack install in wiki-currency - #45

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/wiki-currency-install-retry
Nov 25, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/wiki-currency-install-retry

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

At release 2026.11.22.1 the wiki-currency check failed pip install "<lib>==2026.11.22.1" ("No matching distribution found") one minute after PyAutoHands' wait_for_released_stack had found every package on PyPI from its own runner. PyPI's CDN is not consistent across runners, so the pinned install now retries itself: --no-cache-dir, up to 10 attempts 30 s apart, the exact pin only (never an older or unpinned fallback), and an ::error:: + exit 1 after the last attempt. The unpinned / source-install path is unchanged.

Part of PyAutoLabs/autolens_assistant#193 (one PR in each of autolens, autogalaxy, autofit and autocti_assistant).

Scripts Changed

  • .github/workflows/wiki-currency.yml — "Install the released stack" step: retry loop around pip install "autocti==$VER" (no scripts or notebooks changed)

Test Plan

  • Workflow YAML parses
  • The extracted step run under bash -e with a fake pip: version present → 1 call, exit 0; version appears on attempt 3 → exit 0; never appears → 10 calls, ::error::, exit 1
  • Live: the next release's wiki-currency leg installs the pinned stack (PR CI here runs the unpinned path, so it does not exercise the retry)

Heart dev gate (scoped to the four assistants): GREEN.

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

PyPI's CDN served this runner a stale index at release 2026.11.22.1, a
minute after PyAutoHands' wait_for_released_stack saw the release on its
own runner. Retry the exact pin with --no-cache-dir (10 attempts, 30 s
apart), never falling back to an older or unpinned install.

Refs PyAutoLabs/autolens_assistant#193

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit dea8707 into main Nov 25, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the feature/wiki-currency-install-retry branch November 25, 2026 17:29
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