Skip to content

fix: retry pinned runner installer downloads - #260

Closed
not-matthias wants to merge 1 commit into
mainfrom
cod-4520-retry-codspeed-action-installer-downloads-on
Closed

not-matthias wants to merge 1 commit into
mainfrom
cod-4520-retry-codspeed-action-installer-downloads-on

Conversation

@not-matthias

Copy link
Copy Markdown
Member

TLDR: Retry pinned runner installer downloads when GitHub returns an expired release-asset redirect.

Ruff CI failed with HTTP 618 jwt:expired before benchmarks started. Each retry starts at the original installer URL so GitHub can issue a fresh redirect. The Action still verifies SHA-256 before running the installer; it does not retry installer execution.

A local redirect fixture recovered from 302 → 618 on the second attempt. Persistent 618 stopped after three attempts and reported the final status. A checksum mismatch stopped without retrying or running the installer.

Closes COD-4520

GitHub release redirects can point to an expired asset URL and return
HTTP 618. Retry the original installer URL before checking its SHA-256.

Closes COD-4520
@joseph-isaacs

Copy link
Copy Markdown

We would live this.

@not-matthias

Copy link
Copy Markdown
Member Author

Superseded by #261

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.

2 participants