Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

ci: increase Windows release workflow timeouts (#20343)

Michael Bolinae863e72a27a
diff --git a/.github/workflows/rust-release-windows.yml b/.github/workflows/rust-release-windows.yml
index 7a4843243a..5e1edae173 100644
--- a/.github/workflows/rust-release-windows.yml
+++ b/.github/workflows/rust-release-windows.yml
@@ -24,7 +24,9 @@ jobs:
build-windows-binaries:
name: Build Windows binaries - ${{ matrix.runner }} - ${{ matrix.target }} - ${{ matrix.bundle }}
runs-on: ${{ matrix.runs_on }}
- timeout-minutes: 60
+ # Windows release builds can exceed an hour on fat-LTO mainline releases,
+ # so keep the timeout aligned with the top-level release build headroom.
+ timeout-minutes: 90
permissions:
contents: read
defaults:
@@ -137,7 +139,7 @@ jobs:
- build-windows-binaries
name: Build - ${{ matrix.runner }} - ${{ matrix.target }}
runs-on: ${{ matrix.runs_on }}
- timeout-minutes: 60
+ timeout-minutes: 90
permissions:
contents: read
id-token: write
diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml
index d79ea9e998..073ba58210 100644
--- a/.github/workflows/rust-release.yml
+++ b/.github/workflows/rust-release.yml
@@ -49,9 +49,8 @@ jobs:
needs: tag-check
name: Build - ${{ matrix.runner }} - ${{ matrix.target }} - ${{ matrix.bundle }}
runs-on: ${{ matrix.runs_on || matrix.runner }}
- # Codex binaries can take a long time to build, particularly on Windows.
- # Ideally, this would be 60 minutes, but let's add some headroom because
- # having to restart a release build due to a timeout is a major pain.
+ # Release builds can take a long time, so leave some headroom to avoid
+ # having to restart the full workflow due to a timeout.
timeout-minutes: 90
permissions:
contents: read