Windows: status helper tests expect tilde-shortened AppData path
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- cli, testing-qa
Research direction
Run RUST_MIN_STACK=16777216 cargo test -p codex-tui on Windows and inspect the three named status::helpers::*compose_agents_summary* tests. Compare their expected paths with the observed Windows output, then verify the affected assertions pass without changing the unrelated stack-overflow workaround.
Written by the indexing model from the issue text.
Description
Summary
On Windows, cargo test -p codex-tui can fail three status::helpers::*compose_agents_summary* tests because the expected path uses ~\AppData\... while the actual output uses the expanded home path C:\Users\<user>\AppData\....
This surfaced after working around the separate stack-overflow issue in #19596 with RUST_MIN_STACK=16777216.
Repro
On Windows PowerShell / Git Bash environment:
$env:RUST_MIN_STACK='16777216'
cargo test -p codex-tui
Failing tests
status::helpers::tests::compose_agents_summary_includes_global_agents_pathstatus::helpers::tests::compose_agents_summary_names_global_agents_overridestatus::helpers::tests::compose_agents_summary_orders_global_before_project_agents
Observed diff shape
Expected:
~\AppData\Local\Temp\...\AGENTS.md
Actual:
C:\Users\stefa\AppData\Local\Temp\...\AGENTS.md
For compose_agents_summary_orders_global_before_project_agents, the same mismatch appears inside Some(...).
Notes
This appears independent from the stack-overflow abort tracked in #19596. With the stack increased, the suite gets far enough to expose these normal assertion failures.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bitcoindevkit/bdk-ffi#1125 ·