bug(tests): Windows Bash /tmp warnings break Codex and ratchet assertions
Maintainers usually reply within 1 day
@dnlrsls is already working on this.
Since Oct 28, 2026.
Assessment
This issue has not been assessed yet.
Description
Existing Issue Search
- I searched existing issues and will add evidence to a canonical tracker when applicable.
📝 Observed Consequence
The native Windows full-module CI suite fails in Codex handoff and ratchet tests whose captured output contains unexpected Bash startup warnings. The existing strict stdout/stderr assertions must remain intact. This is a corrective follow-up related to #1891, not a request for another observer.
🔄 Steps to Reproduce
- Existing occurrence: PR #2189, CI run 40728441655, Windows Full Suite (Observational) job 122957914771.
- The original default-tag
go test -json ./...ran at synthetic merge 07bc5fe716542f148fdf22faab408df9d3d1b6d1 (head ac261105dcb32fbd5b127df74157a2d0e1b7e839; base cf7804bacc8cfea2a3946d8fdd38ca365690410a). - Inspect the failures in TestCodexRegisteredSessionHandoff, TestDeadcodeRatchetToolchain, TestPerfRatchetAgainst and TestPerfRatchetUpdate.
- This is an observed hosted occurrence, NOT a deterministic local recipe. One isolated unchanged-main control described below passed without reproducing the warning.
✅ Expected Behavior
Bash children should have usable, correctly owned temporary state throughout their execution, without unexpected startup diagnostics contaminating strict output contracts. Establish the first repository-owned cause and a deterministic regression before approving a fix. Preserve all stderr, exit-code, HTTP and ownership/security assertions, the two-second adapter guard, deadlines, workloads, macOS/Linux behavior, six required checks and merge queue.
❌ Actual Behavior
The job failed: 8540 PASS / 33 FAIL / 127 SKIP. The 33 failures include parent results; there are 26 failing leaves across four top-level tests. All 26 leaf outputs contain the missing-/tmp warning. Ratchet diagnostics retain expected exit semantics but extra warning text breaks output comparisons. Root cause and candidate/base independence are NOT established; no hardware-overload claim is made.
Operating System
Windows
Release Version (Report Context)
Source tests at cf7804bacc8cfea2a3946d8fdd38ca365690410a; Go 1.26.10. No released engram binary was used for this control.
Agent / Client
Other
📋 Relevant Logs
bash.exe: warning: could not find /tmp, please create!
Hosted Windows: 8540 PASS / 33 FAIL (including parents) / 127 SKIP
Failed packages: plugin, scripts
Isolated unchanged-main control, count=1:
TestCodexRegisteredSessionHandoff/resume/multiple_responses PASS (1.38s)
Go exit=0; stderr empty; warning count=0; no skips
https://github.com/Gentleman-Programming/engram/actions/runs/40728441655/job/122957914771
💡 Additional Context
The isolated native Windows control used the pinned main above, existing offline Go 1.26.10/CGO0 and jq 1.8.2, with private profiles/cache removed afterward. It is NOT a RED, fix verification, full-suite result or reproduction of hosted ordering/process context. No repeated attempt is implied.
Duplicate review: #1727/#1748 fixed CombinedOutput JSON-stream contamination, not temporary-state validity. #2179/#2184 cover diagnostics; #2175 covers SessionEnd timeout isolation; #2159 covers curl layout; #2051 concerns detached-server SQLite temp lifetime. None is approval for this correction.
Raw ratchet diff paths/timestamps alone are not an independent confirmed bug: the existing normalizer runs before comparison, and four isolated unchanged-function controls passed. Require a distinct functional RED before any format fix; no generalized scrubbing or warning filtering.
Related to #1891. Do not modify PRs #2164, #2177, #2180, #2185 or #2189. This report does not approve implementation or change issue ownership.
- Dominant language
- Go
- Stars
- 7.1k
- Forks
- 729
- Avg merge
- 8h 35m
- Merged PRs (30d)
- 319
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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 Gentleman-Programming/engram
-
status:needs-review type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Gentleman-Programming/engram#2138 · 1 comment ·
Maintainers usually reply within 1 day
-
status:needs-review
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Gentleman-Programming/engram#2065 ·
Maintainers usually reply within 1 day
-
bug(cloud): isolated project_owned sessions are never enqueued, so their observations dead-letter on other machinesPossibly taken A pull request linked to this issue is open or already merged. Openstatus:needs-review type:bug
Difficulty 3/5 1-2 days Newbie friendliness 72/100
Gentleman-Programming/engram#2187 ·
Maintainers usually reply within 1 day
-
status:needs-review type:feature
Difficulty 5/5 Over a week Newbie friendliness 35/100
Gentleman-Programming/engram#2186 ·
Maintainers usually reply within 1 day
-
feat(ci): expose the actual Codex child temp context on hosted WindowsPossibly taken @dnlrsls claimed this today. Openstatus:approved type:feature
Gentleman-Programming/engram#2184 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in Gentleman-Programming/engram
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
containerd/containerd#14485 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
SocialGouv/iterion#2800 ·
Maintainers usually reply within 1 day
-
area/batch area/orchestration kind/misc
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vllm-project/aibrix#3339 · 2 comments ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Kong/kong-operator#6340 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100