Title: Verify and retry Wasmer installation before the WASI build by youknowdot · Pull Request #9755 · RustPython/RustPython · GitHub
Open Graph Title: Verify and retry Wasmer installation before the WASI build by youknowdot · Pull Request #9755 · RustPython/RustPython
X Title: Verify and retry Wasmer installation before the WASI build by youknowdot · Pull Request #9755 · RustPython/RustPython
Description: Summary Replace the WASI job's installer with the official Wasmer 7.5.0 Linux x86_64 archive, pinned by SHA256. Retry transient download failures, fail on HTTP errors or checksum mismatch, and run wasmer --version before exporting the runtime and starting the Rust build. Keep this restricted to the existing ubuntu-latest WASI job, explicitly rejecting unexpected platforms. No new jobs or test suppression. Why The existing installer returned exit 0 after File download failed with code 500 in #9745's WASI job. Setup was marked successful, an expensive build ran, and the first snippet failed with wasmer: command not found (127). A previous run exhibited the same pattern with HTTP 504. The setup action retries downloading its installer, not the runtime download inside it. The checksum matches the digest of the official v7.5.0 release. Using a fixed GitHub release avoids the mutable installer/download redirect while preserving retries for transient release-host failures. Validation Executed the exact workflow shell block locally against the official release: SHA256 OK, wasmer 7.5.0, environment/path export succeeded. Fault injection: download error, checksum mismatch, and missing executable all fail before exporting PATH/environment (exit 22, 1, and 127 respectively). actionlint passed; normal commit hooks passed; zizmor reports the same four existing low-severity self-repository findings, no new findings. No interpreter changes; workspace/CAPI tests and full WASI build were not repeated locally for this workflow-only patch. CI is the remaining hosted-run validation. Independent change based on current main, not stacked on the WASI coverage or pytest PRs. No Actions rerun was requested. AI assistance: OpenAI Codex (model version unavailable).
Open Graph Description: Summary Replace the WASI job's installer with the official Wasmer 7.5.0 Linux x86_64 archive, pinned by SHA256. Retry transient download failures, fail on HTTP errors or checksum mismatch, and...
X Description: Summary Replace the WASI job's installer with the official Wasmer 7.5.0 Linux x86_64 archive, pinned by SHA256. Retry transient download failures, fail on HTTP errors or checksum mismatch,...
Opengraph URL: https://github.com/RustPython/RustPython/pull/9755
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5c6ab3bd-09e4-f1a5-3639-94ef3631cb03 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9366:2E9831:F6C713:146C19F:6B01D823 |
| html-safe-nonce | d42b4c1c778b157a108c24ee7583d3a52dfeae99286cf07e834528cba525b7ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzY2OjJFOTgzMTpGNkM3MTM6MTQ2QzE5Rjo2QjAxRDgyMyIsInZpc2l0b3JfaWQiOiI0NzU5MjU2MjE3NDMwMzgyNjI3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c026ea22bab27266d1b7f8ef105efe55a932390cd4eddc29c97c8c681bb274a1 |
| hovercard-subject-tag | pull_request:5211515397 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/9755/files |
| twitter:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| og:image:alt | Summary Replace the WASI job's installer with the official Wasmer 7.5.0 Linux x86_64 archive, pinned by SHA256. Retry transient download failures, fail on HTTP errors or checksum mismatch, and... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width