This is an automated email from the ASF dual-hosted git repository.

hello-stephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 87813970fac [chore](ci) Upgrade Codex runtime and add GPT-6.1 canary 
checks (#68931)
87813970fac is described below

commit 87813970fac13365cbc67c11732699bdda19e930
Author: shuke <[email protected]>
AuthorDate: Mon Oct 12 14:04:50 2026 +0800

    [chore](ci) Upgrade Codex runtime and add GPT-6.1 canary checks (#68931)
    
    Related PR: #68928; https://github.com/shuke987/codex/pull/5
    
    Problem Summary:
    
    Regular PR reviews still install Codex 0.156.1, while the complete
    0.162.1 Linux x64 package has passed the real-account runtime canary.
    Update the production package URI, archive SHA256, manifest version and
    CLI SHA256 to the tested package built from
    `3547e9086675d6b9aedfae84c15c33b2fdc155fa`.
    
    Keep the production model `gpt-6-sol`, fallback `gpt-5.6-sol`, and
    `xhigh` effort unchanged. This is the runtime rollout; switching the
    production model is a separate follow-up.
    
    Prepare that follow-up by adding required `gpt-6.1-sol` canary calls at
    `xhigh`, both plain exec and goal mode. Preserve the existing checks and
    their effort settings. A failed 6.1 call or missing completion event
    fails the canary; the prior-model probe remains informational. Increase
    the model-test step timeout from 12 to 18 minutes for up to five calls,
    each bounded to 180 seconds.
---
 .github/workflows/code-review-runner.yml | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/code-review-runner.yml 
b/.github/workflows/code-review-runner.yml
index 0a422def8ef..ddf0db6aec0 100644
--- a/.github/workflows/code-review-runner.yml
+++ b/.github/workflows/code-review-runner.yml
@@ -115,15 +115,15 @@ jobs:
           echo "CODEX_HOME=$home" >> "$GITHUB_ENV"
 
       - name: Test ChatGPT model access and goal mode without GitHub writes
-        timeout-minutes: 12
+        timeout-minutes: 18
         run: |
           set -uo pipefail
           run_model() {
-            local label="$1" model="$2" goal="$3"
+            local label="$1" model="$2" goal="$3" effort="${4:-low}"
             local events="$RUNNER_TEMP/codex-canary-$label.jsonl"
             local final="$RUNNER_TEMP/codex-canary-$label.txt"
             local args=(exec --skip-git-repo-check --json --model "$model"
-              --config model_reasoning_effort=low --sandbox read-only
+              --config "model_reasoning_effort=$effort" --sandbox read-only
               --color never --output-last-message "$final")
             if [ "$goal" = true ]; then
               args+=(--goal)
@@ -155,8 +155,16 @@ jobs:
             run_model sol-goal gpt-6-sol true
             goal_status=$?
           fi
-          echo "model_canary: gpt-6-sol=$sol_status gpt-5.6-sol=$prior_status 
gpt-6-sol-goal=$goal_status"
-          test "$sol_status" -eq 0 && test "$goal_status" -eq 0
+          run_model sol61 gpt-6.1-sol false xhigh
+          sol61_status=$?
+          sol61_goal_status=1
+          if [ "$sol61_status" -eq 0 ]; then
+            run_model sol61-goal gpt-6.1-sol true xhigh
+            sol61_goal_status=$?
+          fi
+          echo "model_canary: gpt-6-sol=$sol_status gpt-5.6-sol=$prior_status 
gpt-6-sol-goal=$goal_status gpt-6.1-sol-xhigh=$sol61_status 
gpt-6.1-sol-xhigh-goal=$sol61_goal_status"
+          test "$sol_status" -eq 0 && test "$goal_status" -eq 0 && \
+            test "$sol61_status" -eq 0 && test "$sol61_goal_status" -eq 0
 
       - name: Sync refreshed canary auth
         if: ${{ always() && steps.auth.outcome == 'success' }}
@@ -333,17 +341,17 @@ jobs:
           package="$RUNNER_TEMP/codex-exec-goal"
           ossutil -i "$OSS_AK" -k "$OSS_SK" -e "$OSS_ENDPOINT" \
             cp -f "$OSS_CODEX_PACKAGE_OBJECT" "$archive"
-          echo 
"2ee3073479bc8c94436684b55a13d7a3f299e768d04436d90e0427814a3954bc  $archive" | 
sha256sum --check
+          echo 
"51304e4f9c343ae84e00a304344df41c2fd32821c83bdbf5be68b0f0c25ddae1  $archive" | 
sha256sum --check
           mkdir -p "$package"
           tar -xzf "$archive" -C "$package"
           (cd "$package" && sha256sum --check SHA256SUMS)
-          test "$(jq -r .version "$package/codex-package.json")" = 0.156.1
+          test "$(jq -r .version "$package/codex-package.json")" = 0.162.1
           echo "$package/bin" >> "$GITHUB_PATH"
         env:
           OSS_AK: ${{ secrets.OSS_AK }}
           OSS_SK: ${{ secrets.OSS_SK }}
           OSS_ENDPOINT: oss-cn-hongkong.aliyuncs.com
-          OSS_CODEX_PACKAGE_OBJECT: 
oss://doris-community-ci/codex/releases/codex-exec-goal-0.156.1-a310d33f7ebb-x86_64-unknown-linux-gnu.tar.gz
+          OSS_CODEX_PACKAGE_OBJECT: 
oss://doris-community-ci/codex/releases/codex-exec-goal-0.162.1-3547e9086675-x86_64-unknown-linux-gnu.tar.gz
 
       - name: Verify pinned Codex runtime
         timeout-minutes: 2
@@ -351,7 +359,7 @@ jobs:
           set -euo pipefail
           codex_cmd="$(command -v codex)"
           test "$(readlink -f "$codex_cmd")" = 
"$RUNNER_TEMP/codex-exec-goal/bin/codex"
-          echo 
"e07e6d32e9333cbc52ba058195d6b225c6e072c8c438541d61ec97645b811906  $codex_cmd" 
| sha256sum --check
+          echo 
"a0d5ec053074d66570aa967129d350541f344f76671a199b5a7bc0d45366cdf7  $codex_cmd" 
| sha256sum --check
           codex --version
           codex exec --help | grep -q -- '--goal'
           codex exec --goal resume --help >/dev/null


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to