From 4907096d1348b398b7bd7559a6ecc399b1dd7424 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Wed, 4 Mar 2026 14:10:54 -0800 Subject: [PATCH] [release] temporarily use thin LTO for releases (#13506) --- .github/workflows/rust-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 5d6d3f7ca0..b88c1f2641 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -57,7 +57,9 @@ jobs: run: working-directory: codex-rs env: - CARGO_PROFILE_RELEASE_LTO: ${{ contains(github.ref_name, '-alpha') && 'thin' || 'fat' }} + # 2026-03-04: temporarily change releases to use thin LTO because + # Ubuntu ARM is timing out at 60 minutes. + CARGO_PROFILE_RELEASE_LTO: ${{ contains(github.ref_name, '-alpha') && 'thin' || 'thin' }} strategy: fail-fast: false @@ -211,6 +213,7 @@ jobs: - name: Cargo build shell: bash run: | + echo "CARGO_PROFILE_RELEASE_LTO: ${CARGO_PROFILE_RELEASE_LTO}" cargo build --target ${{ matrix.target }} --release --timings --bin codex --bin codex-responses-api-proxy - name: Upload Cargo timings