From 7aba21885159559819f2400b1d2259844beb531e Mon Sep 17 00:00:00 2001 From: Benjamin Carlsson Date: Wed, 9 Sep 2026 02:54:21 +0000 Subject: [PATCH] Refresh workspace lockfile before building macOS voice releases (#44025) ## Why Release tags bump `Cargo.toml` versions without updating the workspace lockfile, leaving stale versions for Bazel's Cargo dependency graph. ## What changed Run `cargo update --workspace` in `codex-rs` before the macOS voice release job builds the voice host and native runtime with Bazel. GitOrigin-RevId: ed923530ff5bc9982968cac4f1def4dde379f422 --- .github/workflows/rust-release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 7bc27ec0cb..46b26241d7 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -514,6 +514,9 @@ jobs: PREFIX: ${{ matrix.prefix }} run: | set -euo pipefail + # Release tags bump Cargo.toml without rewriting the workspace lockfile. + # Refresh workspace versions before Bazel reads the Cargo dependency graph. + (cd codex-rs && cargo update --workspace) bazel build //codex-rs/voice-host:codex-voice-host //third_party/voice:native_runtime runtime="bazel-bin/third_party/voice/native_runtime_${PREFIX}" PYTHONPATH=third_party/voice python3 - "$runtime" "$TARGET" <<'PY'