Skip to content

[codex] Use git CLI for Cargo fetches across Rust workflows#25775

Merged
anp-oai merged 1 commit into
mainfrom
codex/cargo-git-fetch-cli-rust-workflows
Jun 2, 2026
Merged

[codex] Use git CLI for Cargo fetches across Rust workflows#25775
anp-oai merged 1 commit into
mainfrom
codex/cargo-git-fetch-cli-rust-workflows

Conversation

@anp-oai
Copy link
Copy Markdown
Collaborator

@anp-oai anp-oai commented Jun 2, 2026

Why

Cargo's libgit2 transport has intermittently failed while fetching git dependencies with nested submodules. #25644 applied CARGO_NET_GIT_FETCH_WITH_CLI=true to the main Rust release build after macOS SecureTransport/libgit2 failures while cloning libwebrtc's nested libyuv submodule. Similar flakes can affect other Cargo-bearing Rust jobs.

What changed

Configure CARGO_NET_GIT_FETCH_WITH_CLI=true at workflow scope for the remaining Cargo-bearing Rust workflows:

  • fast Rust CI and cargo-deny
  • reusable Windows and argument-comment-lint release workflows
  • rusty-v8-release and v8-canary Cargo builds and smoke tests

The full Rust CI, reusable nextest workflow, and primary Rust release build already had the override. Bazel-only workflows are unchanged because they use a different dependency fetch path.

Validation

  • Parsed all .github/workflows/*.yml files as YAML.
  • Scanned Cargo-bearing workflows to confirm they configure CARGO_NET_GIT_FETCH_WITH_CLI.

@anp-oai anp-oai marked this pull request as ready for review June 2, 2026 05:03
@anp-oai anp-oai merged commit c097ad3 into main Jun 2, 2026
46 checks passed
@anp-oai anp-oai deleted the codex/cargo-git-fetch-cli-rust-workflows branch June 2, 2026 14:39
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants