Lightweight coding agent that runs in your terminal
Rust
[codex] Fully qualify hash-pins in GitHub Actions (#21436)
William Woodruff8abcc5357d66
diff --git a/.github/actions/prepare-bazel-ci/action.yml b/.github/actions/prepare-bazel-ci/action.ymlindex 48c6ba74b4..b41d80e0bc 100644--- a/.github/actions/prepare-bazel-ci/action.yml+++ b/.github/actions/prepare-bazel-ci/action.yml@@ -50,7 +50,7 @@ runs:- name: Restore bazel repository cacheid: cache_bazel_repository_restorecontinue-on-error: true- uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: ${{ steps.setup_bazel.outputs.repository-cache-path }}key: ${{ steps.cache_bazel_repository_key.outputs.repository-cache-key }}diff --git a/.github/actions/windows-code-sign/action.yml b/.github/actions/windows-code-sign/action.ymlindex 6289fa917d..634d647e06 100644--- a/.github/actions/windows-code-sign/action.yml+++ b/.github/actions/windows-code-sign/action.yml@@ -30,7 +30,7 @@ runs:using: compositesteps:- name: Azure login for Trusted Signing (OIDC)- uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2+ uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0with:client-id: ${{ inputs.client-id }}tenant-id: ${{ inputs.tenant-id }}@@ -54,7 +54,7 @@ runs:} >> "$GITHUB_OUTPUT"- name: Sign Windows binaries with Azure Trusted Signing- uses: azure/trusted-signing-action@1d365fec12862c4aa68fcac418143d73f0cea293 # v0+ uses: azure/trusted-signing-action@1d365fec12862c4aa68fcac418143d73f0cea293 # v0.5.11with:endpoint: ${{ inputs.endpoint }}trusted-signing-account-name: ${{ inputs.account-name }}diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.ymlindex 79b49ddb10..082434de0b 100644--- a/.github/workflows/bazel.yml+++ b/.github/workflows/bazel.yml@@ -56,7 +56,7 @@ jobs:name: Bazel test on ${{ matrix.os }} for ${{ matrix.target }}steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Check rusty_v8 MODULE.bazel checksumsif: matrix.os == 'ubuntu-24.04' && matrix.target == 'x86_64-unknown-linux-gnu'@@ -122,7 +122,7 @@ jobs:- name: Upload Bazel execution logsif: always() && !cancelled()continue-on-error: true- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: bazel-execution-logs-test-${{ matrix.target }}path: ${{ runner.temp }}/bazel-execution-logs@@ -133,7 +133,7 @@ jobs:- name: Save bazel repository cacheif: always() && !cancelled() && steps.prepare_bazel.outputs.repository-cache-hit != 'true'continue-on-error: true- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: ${{ steps.prepare_bazel.outputs.repository-cache-path }}key: ${{ steps.prepare_bazel.outputs.repository-cache-key }}@@ -148,7 +148,7 @@ jobs:name: Bazel test on windows-latest for x86_64-pc-windows-gnullvm (native main)steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Prepare Bazel CIid: prepare_bazel@@ -195,7 +195,7 @@ jobs:- name: Upload Bazel execution logsif: always() && !cancelled()continue-on-error: true- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: bazel-execution-logs-test-windows-native-x86_64-pc-windows-gnullvmpath: ${{ runner.temp }}/bazel-execution-logs@@ -206,7 +206,7 @@ jobs:- name: Save bazel repository cacheif: always() && !cancelled() && steps.prepare_bazel.outputs.repository-cache-hit != 'true'continue-on-error: true- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: ${{ steps.prepare_bazel.outputs.repository-cache-path }}key: ${{ steps.prepare_bazel.outputs.repository-cache-key }}@@ -231,7 +231,7 @@ jobs:name: Bazel clippy on ${{ matrix.os }} for ${{ matrix.target }}steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Prepare Bazel CIid: prepare_bazel@@ -286,7 +286,7 @@ jobs:- name: Upload Bazel execution logsif: always() && !cancelled()continue-on-error: true- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: bazel-execution-logs-clippy-${{ matrix.target }}path: ${{ runner.temp }}/bazel-execution-logs@@ -297,7 +297,7 @@ jobs:- name: Save bazel repository cacheif: always() && !cancelled() && steps.prepare_bazel.outputs.repository-cache-hit != 'true'continue-on-error: true- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: ${{ steps.prepare_bazel.outputs.repository-cache-path }}key: ${{ steps.prepare_bazel.outputs.repository-cache-key }}@@ -318,7 +318,7 @@ jobs:name: Verify release build on ${{ matrix.os }} for ${{ matrix.target }}steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Prepare Bazel CIid: prepare_bazel@@ -390,7 +390,7 @@ jobs:- name: Upload Bazel execution logsif: always() && !cancelled()continue-on-error: true- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: bazel-execution-logs-verify-release-build-${{ matrix.target }}path: ${{ runner.temp }}/bazel-execution-logs@@ -401,7 +401,7 @@ jobs:- name: Save bazel repository cacheif: always() && !cancelled() && steps.prepare_bazel.outputs.repository-cache-hit != 'true'continue-on-error: true- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: ${{ steps.prepare_bazel.outputs.repository-cache-path }}key: ${{ steps.prepare_bazel.outputs.repository-cache-key }}diff --git a/.github/workflows/blob-size-policy.yml b/.github/workflows/blob-size-policy.ymlindex b96cb98c30..e7cd67072f 100644--- a/.github/workflows/blob-size-policy.yml+++ b/.github/workflows/blob-size-policy.yml@@ -8,7 +8,7 @@ jobs:name: Blob size policyruns-on: ubuntu-24.04steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:fetch-depth: 0diff --git a/.github/workflows/cargo-deny.yml b/.github/workflows/cargo-deny.ymlindex 46ecc97dd1..024198b8d1 100644--- a/.github/workflows/cargo-deny.yml+++ b/.github/workflows/cargo-deny.yml@@ -14,7 +14,7 @@ jobs:working-directory: ./codex-rssteps:- name: Checkout- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Install Rust toolchainuses: dtolnay/rust-toolchain@a0b273b48ed29de4470960879e8381ff45632f26 # 1.93.0diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 699ab070c8..1a6ce7058e 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -12,7 +12,7 @@ jobs:NODE_OPTIONS: --max-old-space-size=4096steps:- name: Checkout repository- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Verify codex-rs Cargo manifests inherit workspace settingsrun: python3 .github/scripts/verify_cargo_workspace_manifests.py@@ -29,7 +29,7 @@ jobs:run_install: false- name: Setup Node.js- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6+ uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0with:node-version: 22@@ -63,7 +63,7 @@ jobs:echo "pack_output=$PACK_OUTPUT" >> "$GITHUB_OUTPUT"- name: Upload staged npm package artifact- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: codex-npm-stagingpath: ${{ steps.stage_npm_package.outputs.pack_output }}diff --git a/.github/workflows/close-stale-contributor-prs.yml b/.github/workflows/close-stale-contributor-prs.ymlindex 8fb5132772..e8cea8226b 100644--- a/.github/workflows/close-stale-contributor-prs.yml+++ b/.github/workflows/close-stale-contributor-prs.yml@@ -17,7 +17,7 @@ jobs:runs-on: ubuntu-lateststeps:- name: Close inactive PRs from contributors- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0with:github-token: ${{ secrets.GITHUB_TOKEN }}script: |diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.ymlindex 8e9f701eec..52c9438b38 100644--- a/.github/workflows/codespell.yml+++ b/.github/workflows/codespell.yml@@ -18,9 +18,9 @@ jobs:steps:- name: Checkout- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Annotate locations with typos- uses: codespell-project/codespell-problem-matcher@b80729f885d32f78a716c2f107b4db1025001c42 # v1+ uses: codespell-project/codespell-problem-matcher@b80729f885d32f78a716c2f107b4db1025001c42 # v1.1.0- name: Codespelluses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # v2.2with:diff --git a/.github/workflows/issue-deduplicator.yml b/.github/workflows/issue-deduplicator.ymlindex 17306d72e1..66148f09b8 100644--- a/.github/workflows/issue-deduplicator.yml+++ b/.github/workflows/issue-deduplicator.yml@@ -19,7 +19,7 @@ jobs:reason: ${{ steps.normalize-all.outputs.reason }}has_matches: ${{ steps.normalize-all.outputs.has_matches }}steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Prepare Codex inputsenv:@@ -155,7 +155,7 @@ jobs:reason: ${{ steps.normalize-open.outputs.reason }}has_matches: ${{ steps.normalize-open.outputs.has_matches }}steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Prepare Codex inputsenv:@@ -342,7 +342,7 @@ jobs:issues: writesteps:- name: Comment on issue- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0env:CODEX_OUTPUT: ${{ needs.select-final.outputs.codex_output }}with:diff --git a/.github/workflows/issue-labeler.yml b/.github/workflows/issue-labeler.ymlindex ce5edcac8e..5ae456633c 100644--- a/.github/workflows/issue-labeler.yml+++ b/.github/workflows/issue-labeler.yml@@ -17,7 +17,7 @@ jobs:outputs:codex_output: ${{ steps.codex.outputs.final-message }}steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- id: codexuses: openai/codex-action@5c3f4ccdb2b8790f73d6b21751ac00e602aa0c02 # v1.7diff --git a/.github/workflows/rust-ci-full.yml b/.github/workflows/rust-ci-full.ymlindex 12e68b2487..d0edf6751b 100644--- a/.github/workflows/rust-ci-full.yml+++ b/.github/workflows/rust-ci-full.yml@@ -17,7 +17,7 @@ jobs:run:working-directory: codex-rssteps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- uses: dtolnay/rust-toolchain@a0b273b48ed29de4470960879e8381ff45632f26 # 1.93.0with:components: rustfmt@@ -31,9 +31,9 @@ jobs:run:working-directory: codex-rssteps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- uses: dtolnay/rust-toolchain@a0b273b48ed29de4470960879e8381ff45632f26 # 1.93.0- - uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2+ - uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2.62.49with:tool: cargo-shearversion: 1.11.2@@ -47,14 +47,14 @@ jobs:CARGO_DYLINT_VERSION: 5.0.0DYLINT_LINK_VERSION: 5.0.0steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- uses: dtolnay/rust-toolchain@a0b273b48ed29de4470960879e8381ff45632f26 # 1.93.0with:toolchain: nightly-2025-09-18components: llvm-tools-preview, rustc-dev, rust-src- name: Cache cargo-dylint toolingid: cargo_dylint_cache- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: |~/.cargo/bin/cargo-dylint@@ -97,7 +97,7 @@ jobs:group: codex-runnerslabels: codex-windows-x64steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- uses: ./.github/actions/setup-bazel-ciwith:target: ${{ runner.os }}@@ -233,7 +233,7 @@ jobs:labels: codex-windows-arm64steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Install Linux build dependenciesif: ${{ runner.os == 'Linux' }}shell: bash@@ -276,7 +276,7 @@ jobs:# avoid caching the large target dir on the gnu-dev job.- name: Restore cargo home cacheid: cache_cargo_home_restore- uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: |~/.cargo/bin/@@ -294,7 +294,7 @@ jobs:# Install and restore sccache cache- name: Install sccacheif: ${{ env.USE_SCCACHE == 'true' }}- uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2+ uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2.62.49with:tool: sccacheversion: 0.7.5@@ -321,7 +321,7 @@ jobs:- name: Restore sccache cache (fallback)if: ${{ env.USE_SCCACHE == 'true' && env.SCCACHE_GHA_ENABLED != 'true' }}id: cache_sccache_restore- uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: ${{ github.workspace }}/.sccache/key: sccache-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-${{ steps.lockhash.outputs.hash }}-${{ github.run_id }}@@ -348,7 +348,7 @@ jobs:- if: ${{ matrix.target == 'x86_64-unknown-linux-musl' || matrix.target == 'aarch64-unknown-linux-musl'}}name: Restore APT cache (musl)id: cache_apt_restore- uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: |/var/cache/apt@@ -356,7 +356,7 @@ jobs:- if: ${{ matrix.target == 'x86_64-unknown-linux-musl' || matrix.target == 'aarch64-unknown-linux-musl'}}name: Install Zig- uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2+ uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2.2.1with:version: 0.14.0@@ -430,7 +430,7 @@ jobs:- name: Install cargo-chefif: ${{ matrix.profile == 'release' }}- uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2+ uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2.62.49with:tool: cargo-chefversion: 0.1.71@@ -449,7 +449,7 @@ jobs:- name: Upload Cargo timings (clippy)if: always()- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: cargo-timings-rust-ci-clippy-${{ matrix.target }}-${{ matrix.profile }}path: codex-rs/target/**/cargo-timings/cargo-timing.html@@ -460,7 +460,7 @@ jobs:- name: Save cargo home cacheif: always() && !cancelled() && steps.cache_cargo_home_restore.outputs.cache-hit != 'true'continue-on-error: true- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: |~/.cargo/bin/@@ -476,7 +476,7 @@ jobs:- name: Save sccache cache (fallback)if: always() && !cancelled() && env.USE_SCCACHE == 'true' && env.SCCACHE_GHA_ENABLED != 'true'continue-on-error: true- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: ${{ github.workspace }}/.sccache/key: sccache-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-${{ steps.lockhash.outputs.hash }}-${{ github.run_id }}@@ -501,7 +501,7 @@ jobs:- name: Save APT cache (musl)if: always() && !cancelled() && (matrix.target == 'x86_64-unknown-linux-musl' || matrix.target == 'aarch64-unknown-linux-musl') && steps.cache_apt_restore.outputs.cache-hit != 'true'continue-on-error: true- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: |/var/cache/apt@@ -559,7 +559,7 @@ jobs:labels: codex-windows-arm64steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Install Linux build dependenciesif: ${{ runner.os == 'Linux' }}shell: bash@@ -590,7 +590,7 @@ jobs:- name: Restore cargo home cacheid: cache_cargo_home_restore- uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: |~/.cargo/bin/@@ -603,7 +603,7 @@ jobs:- name: Install sccacheif: ${{ env.USE_SCCACHE == 'true' }}- uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2+ uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2.62.49with:tool: sccacheversion: 0.7.5@@ -630,7 +630,7 @@ jobs:- name: Restore sccache cache (fallback)if: ${{ env.USE_SCCACHE == 'true' && env.SCCACHE_GHA_ENABLED != 'true' }}id: cache_sccache_restore- uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: ${{ github.workspace }}/.sccache/key: sccache-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-${{ steps.lockhash.outputs.hash }}-${{ github.run_id }}@@ -638,7 +638,7 @@ jobs:sccache-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-${{ steps.lockhash.outputs.hash }}-sccache-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-- - uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2+ - uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2.62.49with:tool: nextestversion: 0.9.103@@ -674,7 +674,7 @@ jobs:- name: Upload Cargo timings (nextest)if: always()- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: cargo-timings-rust-ci-nextest-${{ matrix.target }}-${{ matrix.profile }}path: codex-rs/target/**/cargo-timings/cargo-timing.html@@ -683,7 +683,7 @@ jobs:- name: Save cargo home cacheif: always() && !cancelled() && steps.cache_cargo_home_restore.outputs.cache-hit != 'true'continue-on-error: true- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: |~/.cargo/bin/@@ -695,7 +695,7 @@ jobs:- name: Save sccache cache (fallback)if: always() && !cancelled() && env.USE_SCCACHE == 'true' && env.SCCACHE_GHA_ENABLED != 'true'continue-on-error: true- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: ${{ github.workspace }}/.sccache/key: sccache-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-${{ steps.lockhash.outputs.hash }}-${{ github.run_id }}diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.ymlindex 6b221af572..b771e42b27 100644--- a/.github/workflows/rust-ci.yml+++ b/.github/workflows/rust-ci.yml@@ -14,7 +14,7 @@ jobs:codex: ${{ steps.detect.outputs.codex }}workflows: ${{ steps.detect.outputs.workflows }}steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:fetch-depth: 0- name: Detect changed paths (no external action)@@ -61,7 +61,7 @@ jobs:run:working-directory: codex-rssteps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- uses: dtolnay/rust-toolchain@a0b273b48ed29de4470960879e8381ff45632f26 # 1.93.0with:components: rustfmt@@ -77,9 +77,9 @@ jobs:run:working-directory: codex-rssteps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- uses: dtolnay/rust-toolchain@a0b273b48ed29de4470960879e8381ff45632f26 # 1.93.0- - uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2+ - uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2.62.49with:tool: cargo-shearversion: 1.11.2@@ -95,7 +95,7 @@ jobs:CARGO_DYLINT_VERSION: 5.0.0DYLINT_LINK_VERSION: 5.0.0steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- uses: dtolnay/rust-toolchain@a0b273b48ed29de4470960879e8381ff45632f26 # 1.93.0- name: Install nightly argument-comment-lint toolchainshell: bash@@ -109,7 +109,7 @@ jobs:rustup default nightly-2025-09-18- name: Cache cargo-dylint toolingid: cargo_dylint_cache- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: |~/.cargo/bin/cargo-dylint@@ -170,7 +170,7 @@ jobs:echo "No argument-comment-lint relevant changes."echo "run=false" >> "$GITHUB_OUTPUT"- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2if: ${{ steps.argument_comment_lint_gate.outputs.run == 'true' }}- name: Run argument comment lint on codex-rs via Bazelif: ${{ steps.argument_comment_lint_gate.outputs.run == 'true' }}diff --git a/.github/workflows/rust-release-argument-comment-lint.yml b/.github/workflows/rust-release-argument-comment-lint.ymlindex ba0d147d4f..277dcd122a 100644--- a/.github/workflows/rust-release-argument-comment-lint.yml+++ b/.github/workflows/rust-release-argument-comment-lint.yml@@ -56,7 +56,7 @@ jobs:labels: codex-windows-x64steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- uses: dtolnay/rust-toolchain@a0b273b48ed29de4470960879e8381ff45632f26 # 1.93.0with:@@ -100,7 +100,7 @@ jobs:(cd "${RUNNER_TEMP}" && tar -czf "$GITHUB_WORKSPACE/$archive_path" argument-comment-lint)fi- - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: argument-comment-lint-${{ matrix.target }}path: dist/argument-comment-lint/${{ matrix.target }}/*diff --git a/.github/workflows/rust-release-prepare.yml b/.github/workflows/rust-release-prepare.ymlindex 528c329d58..b478344a2c 100644--- a/.github/workflows/rust-release-prepare.yml+++ b/.github/workflows/rust-release-prepare.yml@@ -18,7 +18,7 @@ jobs:if: github.repository == 'openai/codex'runs-on: ubuntu-lateststeps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:ref: mainfetch-depth: 0@@ -43,7 +43,7 @@ jobs:curl --http1.1 --fail --show-error --location "${headers[@]}" "${url}" | jq '.' > codex-rs/models-manager/models.json- name: Open pull request (if changed)- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8+ uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0with:commit-message: "Update models.json"title: "Update models.json"diff --git a/.github/workflows/rust-release-windows.yml b/.github/workflows/rust-release-windows.ymlindex 5e1edae173..24d6d67e03 100644--- a/.github/workflows/rust-release-windows.yml+++ b/.github/workflows/rust-release-windows.yml@@ -83,7 +83,7 @@ jobs:labels: codex-windows-arm64steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Print runner specs (Windows)shell: powershellrun: |@@ -112,7 +112,7 @@ jobs:cargo build --target ${{ matrix.target }} --release --timings "${build_args[@]}"- name: Upload Cargo timings- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: cargo-timings-rust-release-windows-${{ matrix.target }}-${{ matrix.bundle }}path: codex-rs/target/**/cargo-timings/cargo-timing.html@@ -128,7 +128,7 @@ jobs:done- name: Upload Windows binaries- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: windows-binaries-${{ matrix.target }}-${{ matrix.bundle }}path: |@@ -165,22 +165,22 @@ jobs:labels: codex-windows-arm64steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Download prebuilt Windows primary binaries- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:name: windows-binaries-${{ matrix.target }}-primarypath: codex-rs/target/${{ matrix.target }}/release- name: Download prebuilt Windows helper binaries- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:name: windows-binaries-${{ matrix.target }}-helperspath: codex-rs/target/${{ matrix.target }}/release- name: Download prebuilt Windows app-server binary- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:name: windows-binaries-${{ matrix.target }}-app-serverpath: codex-rs/target/${{ matrix.target }}/release@@ -281,7 +281,7 @@ jobs:"${GITHUB_WORKSPACE}/.github/workflows/zstd" -T0 -19 "$dest/$base"done- - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: ${{ matrix.target }}path: |diff --git a/.github/workflows/rust-release-zsh.yml b/.github/workflows/rust-release-zsh.ymlindex 7ec49f9863..838fe0c282 100644--- a/.github/workflows/rust-release-zsh.yml+++ b/.github/workflows/rust-release-zsh.yml@@ -45,7 +45,7 @@ jobs:git \libncursesw5-dev- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Build, smoke-test, and stage zsh artifactshell: bash@@ -53,7 +53,7 @@ jobs:"${GITHUB_WORKSPACE}/.github/scripts/build-zsh-release-artifact.sh" \"dist/zsh/${{ matrix.target }}/${{ matrix.archive_name }}"- - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: codex-zsh-${{ matrix.target }}path: dist/zsh/${{ matrix.target }}/*@@ -81,7 +81,7 @@ jobs:brew install autoconffi- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Build, smoke-test, and stage zsh artifactshell: bash@@ -89,7 +89,7 @@ jobs:"${GITHUB_WORKSPACE}/.github/scripts/build-zsh-release-artifact.sh" \"dist/zsh/${{ matrix.target }}/${{ matrix.archive_name }}"- - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: codex-zsh-${{ matrix.target }}path: dist/zsh/${{ matrix.target }}/*diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.ymlindex a7700ac924..43d70e5a3f 100644--- a/.github/workflows/rust-release.yml+++ b/.github/workflows/rust-release.yml@@ -19,7 +19,7 @@ jobs:tag-check:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- uses: dtolnay/rust-toolchain@a0b273b48ed29de4470960879e8381ff45632f26 # 1.93.0- name: Validate tag matches Cargo.toml versionshell: bash@@ -118,7 +118,7 @@ jobs:build_dmg: "false"steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Print runner specs (Linux)if: ${{ runner.os == 'Linux' }}shell: bash@@ -181,7 +181,7 @@ jobs:- if: ${{ matrix.target == 'x86_64-unknown-linux-musl' || matrix.target == 'aarch64-unknown-linux-musl'}}name: Install Zig- uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2+ uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2.2.1with:version: 0.14.0@@ -284,7 +284,7 @@ jobs:cargo build --target ${{ matrix.target }} --release --timings "${build_args[@]}"- name: Upload Cargo timings- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: cargo-timings-rust-release-${{ matrix.target }}-${{ matrix.bundle }}path: codex-rs/target/**/cargo-timings/cargo-timing.html@@ -430,7 +430,7 @@ jobs:zstd -T0 -19 --rm "$dest/$base"done- - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: ${{ matrix.artifact_name }}# Upload the per-binary .zst files, .tar.gz equivalents, and any@@ -476,7 +476,7 @@ jobs:steps:- name: Checkout repository- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Generate release notes from tag commit messageid: release_notes@@ -498,7 +498,7 @@ jobs:echo "path=${notes_path}" >> "${GITHUB_OUTPUT}"- - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8+ - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:path: dist@@ -553,7 +553,7 @@ jobs:run_install: false- name: Setup Node.js for npm packaging- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6+ uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0with:node-version: 22@@ -579,7 +579,7 @@ jobs:cp scripts/install/install.ps1 dist/install.ps1- name: Create GitHub Release- uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2+ uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1with:name: ${{ steps.release_name.outputs.name }}tag_name: ${{ github.ref_name }}@@ -638,7 +638,7 @@ jobs:steps:- name: Setup Node.js- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6+ uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0with:# Node 24 bundles npm >= 11.5.1, which trusted publishing requires.node-version: 24diff --git a/.github/workflows/rusty-v8-release.yml b/.github/workflows/rusty-v8-release.ymlindex bf9dcbfd6f..421346aae1 100644--- a/.github/workflows/rusty-v8-release.yml+++ b/.github/workflows/rusty-v8-release.yml@@ -17,10 +17,10 @@ jobs:v8_version: ${{ steps.v8_version.outputs.version }}steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Set up Python- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: "3.12"@@ -69,7 +69,7 @@ jobs:target: aarch64-unknown-linux-muslsteps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Set up Bazeluses: ./.github/actions/setup-bazel-ci@@ -77,7 +77,7 @@ jobs:target: ${{ matrix.target }}- name: Set up Python- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: "3.12"@@ -133,7 +133,7 @@ jobs:--output-dir "dist/${TARGET}"- name: Upload staged musl artifacts- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: rusty-v8-${{ needs.metadata.outputs.v8_version }}-${{ matrix.target }}path: dist/${{ matrix.target }}/*@@ -161,12 +161,12 @@ jobs:exit 1fi- - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8+ - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:path: dist- name: Create GitHub Release- uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2+ uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1with:tag_name: ${{ needs.metadata.outputs.release_tag }}name: ${{ needs.metadata.outputs.release_tag }}diff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.ymlindex 45c983ac1e..861eb7a095 100644--- a/.github/workflows/sdk.yml+++ b/.github/workflows/sdk.yml@@ -13,7 +13,7 @@ jobs:timeout-minutes: 10steps:- name: Checkout repository- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Install Linux bwrap build dependenciesshell: bash@@ -28,7 +28,7 @@ jobs:run_install: false- name: Setup Node.js- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6+ uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0with:node-version: 22cache: pnpm@@ -115,7 +115,7 @@ jobs:- name: Save bazel repository cacheif: always() && !cancelled() && steps.setup_bazel.outputs.cache-hit != 'true'continue-on-error: true- uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5+ uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4with:path: |~/.cache/bazel-repo-cachediff --git a/.github/workflows/v8-canary.yml b/.github/workflows/v8-canary.ymlindex 3b59348775..a1aeaf4029 100644--- a/.github/workflows/v8-canary.yml+++ b/.github/workflows/v8-canary.yml@@ -40,10 +40,10 @@ jobs:v8_version: ${{ steps.v8_version.outputs.version }}steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Set up Python- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: "3.12"@@ -74,7 +74,7 @@ jobs:target: aarch64-unknown-linux-muslsteps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- name: Set up Bazeluses: ./.github/actions/setup-bazel-ci@@ -82,7 +82,7 @@ jobs:target: ${{ matrix.target }}- name: Set up Python- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: "3.12"@@ -132,7 +132,7 @@ jobs:--output-dir "dist/${TARGET}"- name: Upload staged musl artifacts- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:name: v8-canary-${{ needs.metadata.outputs.v8_version }}-${{ matrix.target }}path: dist/${{ matrix.target }}/*