codex: fix remaining CI failures on PR #15561

Skip redundant cargo-home cache saves in Windows test jobs to avoid post-test timeouts, and add the required argument comments in the login OAuth helper.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Michael Fan
2026-03-24 18:52:06 -04:00
parent b54ee4952e
commit a70ec9b26e
2 changed files with 15 additions and 7 deletions

View File

@@ -494,8 +494,10 @@ jobs:
# Save caches explicitly; make non-fatal so cache packaging
# never fails the overall job. Only save when key wasn't hit.
# Lint/build jobs already save this cache key. Skipping the redundant
# Windows test-job save keeps the test jobs within their timeout budget.
- name: Save cargo home cache
if: always() && !cancelled() && steps.cache_cargo_home_restore.outputs.cache-hit != 'true'
if: always() && !cancelled() && !startsWith(matrix.runner, 'windows') && steps.cache_cargo_home_restore.outputs.cache-hit != 'true'
continue-on-error: true
uses: actions/cache/save@v5
with: