Skip to content

Commit b7eeaf7

Browse files
mario4tierclaude
andcommitted
producers: build from pre-staging; pin localnet-tools to ubuntu-24.04
Both precompiled producers now clone suibase at the PROMOTED branch (pre-staging) instead of a moving dev, so each artifact is compiled from exactly the source that staging then validates. localnet-tools is pinned to ubuntu-24.04 (stable glibc 2.39 floor; glibc not musl, matching how MystenLabs/sui ships its RocksDB-heavy binaries) — asset suffix unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 22ff4f2 commit b7eeaf7

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/build-localnet-tools.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,15 @@ jobs:
142142
runs-on: ${{ matrix.os }}
143143
strategy:
144144
matrix:
145-
os: [ubuntu-latest, macos-latest]
145+
# Linux pinned to ubuntu-24.04 (NOT ubuntu-latest): glibc binaries are
146+
# forward-compatible only, so the build image is the MINIMUM glibc the
147+
# artifact requires. Pinning keeps that floor stable (24.04 = glibc 2.39)
148+
# instead of silently rising when GitHub bumps `ubuntu-latest`. glibc (not
149+
# musl) matches how MystenLabs/sui ships its own RocksDB-heavy binaries; the
150+
# asset suffix stays "ubuntu-x86_64" so the consumer match is unchanged.
151+
os: [ubuntu-24.04, macos-latest]
146152
include:
147-
- os: ubuntu-latest
153+
- os: ubuntu-24.04
148154
asset-name-suffix: ubuntu-x86_64
149155
- os: macos-latest
150156
asset-name-suffix: macos-arm64
@@ -194,7 +200,10 @@ jobs:
194200
run: |
195201
# The crate (rust/walrus-store) + its vendored embedded-contracts live in
196202
# suibase; build straight from a checkout (no `suibase install` needed).
197-
git clone --branch dev https://github.com/ChainMovers/suibase.git $HOME/suibase
203+
# Build from the PROMOTED branch (pre-staging), not a moving `dev`, so the
204+
# published binary is compiled from exactly the source that staging validates
205+
# (mirrors build-suibase-daemon.yml).
206+
git clone --branch pre-staging https://github.com/ChainMovers/suibase.git $HOME/suibase
198207
199208
- name: Build walrus-localnet-deploy
200209
if: steps.asset_vars.outputs.do_build == 'true'

.github/workflows/build-suibase-daemon.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ jobs:
245245
run: |
246246
mkdir -p $HOME/.local/bin
247247
echo "$HOME/.local/bin" >> $GITHUB_PATH
248-
git clone --branch dev https://github.com/ChainMovers/suibase.git $HOME/suibase
248+
# Build from the PROMOTED branch (pre-staging), not a moving `dev`, so the
249+
# published binary is compiled from exactly the source that staging validates.
250+
git clone --branch pre-staging https://github.com/ChainMovers/suibase.git $HOME/suibase
249251
250252
- name: Install Suibase
251253
if: steps.asset_vars.outputs.do_build == 'true'

0 commit comments

Comments
 (0)