Michael Bolin and GitHub
b4787bf4c0
fix: changes to test that should help them pass on Windows under Bazel ( #16662 )
...
https://github.com/openai/codex/pull/16460 was a large PR created by
Codex to try to get the tests to pass under Bazel on Windows. Indeed, it
successfully ran all of the tests under `//codex-rs/core:` with its
changes to `codex-rs/core/`, though the full set of changes seems to be
too broad.
This PR tries to port the key changes, which are:
- Under Bazel, the `USERNAME` environment variable is not guaranteed to
be set on Windows, so for tests that need a non-empty env var as a
convenient substitute for an env var containing an API key, just use
`PATH`. Note that `PATH` is unlikely to contain characters that are not
allowed in an HTTP header value.
- Specify `"powershell.exe"` instead of just `"powershell"` in case the
`PATHEXT` env var gets lost in the shuffle.
2026-04-02 23:06:36 -07:00
..
2026-03-24 12:43:53 -07:00
2026-02-20 23:45:35 -08:00
2026-03-27 19:00:44 -07:00
2026-03-27 19:00:44 -07:00
2026-03-26 17:32:04 +00:00
2026-03-27 19:00:44 -07:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-04-02 23:06:36 -07:00
2026-04-02 01:19:44 -07:00
2026-02-20 23:45:35 -08:00
2026-03-25 16:02:22 +00:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-04-02 23:00:02 -07:00
2026-03-19 20:12:07 -07:00
2026-03-23 15:19:01 -07:00
2026-04-02 23:00:02 -07:00
2026-03-24 18:34:44 -07:00
2026-03-25 16:02:22 +00:00
2026-03-27 19:00:44 -07:00
2026-03-27 19:00:44 -07:00
2026-03-23 15:19:01 -07:00
2026-03-19 20:12:07 -07:00
2026-03-23 15:19:01 -07:00
2025-12-23 19:29:32 -08:00
2026-03-23 15:19:01 -07:00
2026-03-27 19:00:44 -07:00
2026-04-02 23:00:02 -07:00
2026-03-13 15:27:00 -07:00
2026-04-02 23:00:02 -07:00
2026-04-02 01:19:44 -07:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-03-23 14:32:59 -07:00
2026-03-13 15:27:00 -07:00
2026-02-20 23:45:35 -08:00
2026-03-27 19:00:44 -07:00
2026-03-20 18:23:48 +00:00
2026-04-02 01:19:44 -07:00
2026-04-01 23:06:24 -07:00
2026-04-02 23:00:02 -07:00
2026-02-20 23:45:35 -08:00
2026-04-01 23:06:24 -07:00
2026-03-20 08:02:50 -07:00
2026-04-02 23:00:02 -07:00
2026-04-01 23:06:24 -07:00
2026-03-23 15:19:01 -07:00
2026-03-26 17:12:45 -07:00
2026-03-23 15:19:01 -07:00
2026-04-01 23:06:24 -07:00
2026-03-13 15:27:00 -07:00
2026-03-27 19:00:44 -07:00
2026-04-02 01:19:44 -07:00
2026-03-27 19:00:44 -07:00
2026-03-23 15:19:01 -07:00
2026-04-02 23:00:02 -07:00
2026-03-27 19:00:44 -07:00
2026-03-27 19:00:44 -07:00
2026-03-27 19:00:44 -07:00
2026-03-24 04:41:38 +00:00
2026-03-26 07:46:04 -07:00
2026-03-23 15:19:01 -07:00
2026-04-01 23:06:24 -07:00
2026-04-02 01:19:44 -07:00
2026-03-31 01:37:27 -07:00
2026-03-31 01:37:27 -07:00
2026-03-27 19:00:44 -07:00
2026-03-23 15:19:01 -07:00
2026-03-23 15:19:01 -07:00
2026-04-02 23:00:02 -07:00
2026-03-27 19:00:44 -07:00
2026-04-02 01:19:44 -07:00
2026-03-11 12:33:09 -07:00
2026-03-19 20:12:07 -07:00
2026-03-26 16:07:32 +01:00
2026-04-01 23:06:24 -07:00
2026-02-27 16:05:44 +01:00
2026-04-02 12:34:42 -07:00
2026-04-01 23:06:24 -07:00
2026-03-19 20:12:07 -07:00
2026-03-23 15:19:01 -07:00