Skip to content

Commit 794b976

Browse files
Gastonfonceaclaude
andcommitted
fix(ci): pre-cache genvm v0.2.16 to bypass upstream asset rename — GHB-202
GenLayer Labs published genvm v0.3.0-rc0 on 2026-05-20 and dropped the `genvm-universal.tar.xz` asset in favor of per-platform builds. Since `genlayer-test` resolves the genvm version at runtime via a HEAD to `releases/latest`, every CI run since has hit 404 trying to download the old asset path from the new release. Pre-seeding `~/.cache/gltest-direct/` with v0.2.16 makes `list_cached_versions()` return it before the "latest" lookup, so the test runner uses the last known-good genvm. Remove this step once upstream restores a universal tarball or `gltest` gains support for platform-specific assets. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4b0843f commit 794b976

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,18 @@ jobs:
3333
python-version: "3.12"
3434
- run: pip install ruff pytest genlayer-test
3535
- run: ruff check bounty_judge/contracts
36+
# GHB-202 workaround: genlayer-test resolves the genvm version at runtime
37+
# via HEAD https://github.com/genlayerlabs/genvm/releases/latest. On
38+
# 2026-05-20 GenLayer Labs marked v0.3.0-rc0 as "latest" and removed
39+
# the `genvm-universal.tar.xz` asset, so every CI run hits 404.
40+
# Pre-seeding the cache with v0.2.16 makes `list_cached_versions()`
41+
# return it first and skips the "latest" lookup entirely.
42+
# Remove this step once upstream restores a universal tarball or
43+
# gltest learns to download platform-specific assets.
44+
- name: Pre-cache genvm v0.2.16 (GHB-202)
45+
run: |
46+
mkdir -p ~/.cache/gltest-direct
47+
curl -fL \
48+
"https://github.com/genlayerlabs/genvm/releases/download/v0.2.16/genvm-universal.tar.xz" \
49+
-o ~/.cache/gltest-direct/genvm-universal-v0.2.16.tar.xz
3650
- run: pytest bounty_judge/tests

0 commit comments

Comments
 (0)