cargo test fails with git remote rewrites configured
Resolved 💬 0 comments Opened Nov 20, 2025 by bmizerany Closed Nov 21, 2025
What version of Codex is running?
codex-cli 0.0.0
What subscription do you have?
The $$$$$$$$$$$$ one.
Which model were you using?
N/A
What platform is your computer?
Darwin 24.6.0 arm64 arm
What issue are you seeing?
In tests: Git info collection panics because it asserts the remote URL containsgithub.com/example/...; real HTTPS (https://github.com/openai/codex) and
SSH (git@github.com:...) remotes don’t match.
What steps can reproduce the bug?
1) git clone https://github.com/openai/codex && cd codex/codex-rs
2) cargo test
3) Trigger git info path (CLI run or integration_git_info_unit_test / collect_git_info)
What is the expected behavior?
Accept the actual remote URL (HTTPS or SSH) without panicking.
Additional information
_No response_