Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
# Some integration tests rely on DotSlash being installed.
# See https://github.com/openai/codex/pull/7617.
- name: Install DotSlash
uses: facebook/install-dotslash@v2
uses: facebook/install-dotslash@1e4e7b3e07eaca387acb98f1d4720e0bee8dbb6a

- name: Make DotSlash available in PATH (Unix)
if: runner.os != 'Windows'
Expand All @@ -135,7 +135,7 @@ jobs:

# Install Bazel via Bazelisk
- name: Set up Bazel
uses: bazelbuild/setup-bazelisk@v3
uses: bazelbuild/setup-bazelisk@b39c379c82683a5f25d34f0d062761f62693e0b2

- name: Check MODULE.bazel.lock is up to date
if: matrix.os == 'ubuntu-24.04' && matrix.target == 'x86_64-unknown-linux-gnu'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/blob-size-policy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: blob-size-policy
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


on:
pull_request: {}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/cargo-audit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: cargo-audit
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


on:
push:
Expand All @@ -15,6 +19,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.1
- uses: rustsec/audit-check@v2
- uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998
with:
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/cargo-deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8

- name: Run cargo-deny
uses: EmbarkStudios/cargo-deny-action@v2
uses: EmbarkStudios/cargo-deny-action@91bf2b620e09e18d6eb78b92e7861937469acedb # v6
with:
rust-version: stable
manifest-path: ./codex-rs/Cargo.toml
6 changes: 5 additions & 1 deletion .github/workflows/cargo-machete.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: Cargo Machete
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


on:
push:
Expand All @@ -16,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.1

- uses: taiki-e/install-action@v2
- uses: taiki-e/install-action@db5fb34fa772531a3ece57ca434f579eb334e0fb
with:
tool: cargo-machete

Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/cargo-semver-checks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: cargo-semver-checks
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request: { paths: ['**/Cargo.toml'] }
workflow_dispatch:
Expand All @@ -7,4 +11,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.1
- uses: obi1kenobi/cargo-semver-checks-action@v2
- uses: obi1kenobi/cargo-semver-checks-action@6b69fcf40e9b5fb17adeb57e4b6ecd020649a239
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: ci
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


on:
pull_request: {}
Expand All @@ -12,10 +16,10 @@ jobs:
NODE_OPTIONS: --max-old-space-size=4096
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v5
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320
with:
run_install: false

Expand All @@ -28,7 +32,7 @@ jobs:
run: pnpm install --frozen-lockfile

# stage_npm_packages.py requires DotSlash when staging releases.
- uses: facebook/install-dotslash@v2
- uses: facebook/install-dotslash@1e4e7b3e07eaca387acb98f1d4720e0bee8dbb6a

- name: Stage npm package
id: stage_npm_package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: ${{ github.repository_owner == 'openai' }}
runs-on: ubuntu-latest
steps:
- uses: contributor-assistant/github-action@v2.6.1
- uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08
# Run on close only if the PR was merged. This will lock the PR to preserve
# the CLA agreement. We don't want to lock PRs that have been closed without
# merging because the contributor may want to respond with additional comments.
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/codeql-rust.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: CodeQL (Rust)
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


on:
push:
Expand All @@ -22,12 +26,12 @@ jobs:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.1
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@0daab03d71ff584ef619d027a3fd9146679c5d84
with:
languages: rust
- name: Autobuild
uses: github/codeql-action/autobuild@v3
uses: github/codeql-action/autobuild@0daab03d71ff584ef619d027a3fd9146679c5d84
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@0daab03d71ff584ef619d027a3fd9146679c5d84
with:
category: "/language:rust"
10 changes: 7 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: CodeQL
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


on:
push:
Expand Down Expand Up @@ -27,14 +31,14 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.1

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
uses: github/codeql-action/init@e46ed2cbd01164d986452f91f178727624ae40d7
with:
languages: rust

- name: Autobuild
uses: github/codeql-action/autobuild@v4
uses: github/codeql-action/autobuild@e46ed2cbd01164d986452f91f178727624ae40d7

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
uses: github/codeql-action/analyze@e46ed2cbd01164d986452f91f178727624ae40d7
with:
category: "/language:rust"
4 changes: 4 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Codespell configuration is within .codespellrc
name: Codespell
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:

jobs:
deploy:
uses: KooshaPari/phenoShared/.github/workflows/reusable/vitepress-pages.yml@main
uses: KooshaPari/phenoShared/.github/workflows/reusable/vitepress-pages.yml@d95bb6755390f73c56ea496b246d098fbf97bbe9
with:
concurrency_group: pages-helios-cli
docs_dir: docs
4 changes: 4 additions & 0 deletions .github/workflows/journey-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
# =============================================================================

name: Journey Gate
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


on:
push:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/namespace-governance.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: Namespace Governance
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


on:
pull_request:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/policy-gate.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: Policy Gate
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


on:
pull_request:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/review-wave-orchestrator.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: Review Wave Orchestrator
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


on:
pull_request:
Expand Down
38 changes: 21 additions & 17 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: rust-ci
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request: {}
push:
Expand Down Expand Up @@ -36,7 +40,7 @@ jobs:
lint_build_matrix: ${{ steps.detect.outputs.lint_build_matrix }}
tests_matrix: ${{ steps.detect.outputs.tests_matrix }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Detect changed paths (no external action)
Expand Down Expand Up @@ -191,8 +195,8 @@ jobs:
run:
working-directory: codex-rs
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: dtolnay/rust-toolchain@1.93.0
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@b1b44fef029483cc79808c5eb89461241fd8f32f

- name: Enforce Cargo.lock/manifest sync
shell: bash
Expand Down Expand Up @@ -241,8 +245,8 @@ jobs:
run:
working-directory: codex-rs
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: dtolnay/rust-toolchain@1.93.0
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@b1b44fef029483cc79808c5eb89461241fd8f32f
with:
components: rustfmt
- name: cargo fmt
Expand All @@ -257,8 +261,8 @@ jobs:
run:
working-directory: codex-rs
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: dtolnay/rust-toolchain@1.93.0
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@b1b44fef029483cc79808c5eb89461241fd8f32f
- uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2
with:
tool: cargo-shear
Expand All @@ -272,8 +276,8 @@ jobs:
needs: changed
if: ${{ needs.changed.outputs.argument_comment_lint_package == 'true' || github.event_name == 'push' }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: dtolnay/rust-toolchain@1.93.0
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@b1b44fef029483cc79808c5eb89461241fd8f32f
with:
toolchain: nightly-2025-09-18
components: llvm-tools-preview, rustc-dev, rust-src
Expand Down Expand Up @@ -316,18 +320,18 @@ jobs:
group: codex-runners
labels: codex-windows-x64
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: actions/checkout@v4
- name: Install Linux sandbox build dependencies
if: ${{ runner.os == 'Linux' }}
shell: bash
run: |
sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends pkg-config libcap-dev
- uses: dtolnay/rust-toolchain@1.93.0
- uses: dtolnay/rust-toolchain@b1b44fef029483cc79808c5eb89461241fd8f32f
with:
toolchain: nightly-2025-09-18
components: llvm-tools-preview, rustc-dev, rust-src
- uses: facebook/install-dotslash@v2
- uses: facebook/install-dotslash@1e4e7b3e07eaca387acb98f1d4720e0bee8dbb6a
- name: Run argument comment lint on codex-rs
shell: bash
run: ./tools/argument-comment-lint/run-prebuilt-linter.sh
Expand Down Expand Up @@ -358,7 +362,7 @@ jobs:
matrix: ${{ fromJSON(needs.changed.outputs.lint_build_matrix) }}

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: actions/checkout@v4
- name: Install Linux build dependencies
if: ${{ runner.os == 'Linux' }}
shell: bash
Expand All @@ -372,7 +376,7 @@ jobs:
fi
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends "${packages[@]}"
fi
- uses: dtolnay/rust-toolchain@1.93.0
- uses: dtolnay/rust-toolchain@b1b44fef029483cc79808c5eb89461241fd8f32f
with:
targets: ${{ matrix.target }}
components: clippy
Expand Down Expand Up @@ -699,7 +703,7 @@ jobs:
>>>>>>> upstream_main

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: actions/checkout@v4
- name: Set up Node.js for js_repl tests
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e@8f152de45cc393bb48ce5d89d36b731f54556e65
with:
Expand All @@ -717,9 +721,9 @@ jobs:
# Some integration tests rely on DotSlash being installed.
# See https://github.com/openai/codex/pull/7617.
- name: Install DotSlash
uses: facebook/install-dotslash@v2
uses: facebook/install-dotslash@1e4e7b3e07eaca387acb98f1d4720e0bee8dbb6a

- uses: dtolnay/rust-toolchain@1.93.0
- uses: dtolnay/rust-toolchain@b1b44fef029483cc79808c5eb89461241fd8f32f
with:
targets: ${{ matrix.target }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-release-argument-comment-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- uses: dtolnay/rust-toolchain@1.93.0
- uses: dtolnay/rust-toolchain@b1b44fef029483cc79808c5eb89461241fd8f32f
with:
toolchain: nightly-2025-09-18
targets: ${{ matrix.target }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-release-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
curl --http1.1 --fail --show-error --location "${headers[@]}" "${url}" | jq '.' > codex-rs/core/models.json

- name: Open pull request (if changed)
uses: peter-evans/create-pull-request@v8
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1
with:
commit-message: "Update models.json"
title: "Update models.json"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust-release-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
Write-Host "Total RAM: $ramGiB GiB"
Write-Host "Disk usage:"
Get-PSDrive -PSProvider FileSystem | Format-Table -AutoSize Name, @{Name='Size(GB)';Expression={[math]::Round(($_.Used + $_.Free) / 1GB, 1)}}, @{Name='Free(GB)';Expression={[math]::Round($_.Free / 1GB, 1)}}
- uses: dtolnay/rust-toolchain@1.93.0
- uses: dtolnay/rust-toolchain@b1b44fef029483cc79808c5eb89461241fd8f32f
with:
targets: ${{ matrix.target }}

Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
cp target/${{ matrix.target }}/release/codex-command-runner.exe "$dest/codex-command-runner-${{ matrix.target }}.exe"

- name: Install DotSlash
uses: facebook/install-dotslash@v2
uses: facebook/install-dotslash@1e4e7b3e07eaca387acb98f1d4720e0bee8dbb6a

- name: Compress artifacts
shell: bash
Expand Down
Loading