Repository navigation
Description
Client or integration
Other — GUI test runner; no live provider request.
Area
Platform (Windows / macOS / Linux)
Summary
On unmodified dev, the Santiago DST regression prints its completion marker and passes eight assertions, but the parent reports exitedDueToTimeout: true at the existing 12-second child deadline. The whole file finishes with 37 passed, 1 failed, 479 assertions.
This reproduces a failure also observed while validating #7420. It is not exclusive to that PR's integration candidate; the physical cause and any product-facing impact remain unconfirmed.
Reproduction
At commit 323a5e11772c38c15b271d23c7696c5947bb97da, with matching GUI dependencies and official Bun 1.4.4+38afee6c8, run from gui:
bun --no-env-file --no-install ../scripts/test-with-pinned-bun.ts --isolate --timeout 60000 tests/usage-custom-range.test.tsxRun the entire file, including preceding cases. The parent recursion flag is unset and parent TZ is absent; the original nested case supplies TZ=America/Santiago. Isolated HOME/TEMP/cache paths were used. Runtime and test-runner pins were both 1.4.4.
The original child-test 10-second, spawnSync 12-second, and parent-test 15-second bounds were unchanged. No source instrumentation, timeout increase, forced exit or package upgrade was used for this control. This is one baseline reproduction, not a measured failure rate.
Version
OpenCodex dev 323a5e11772c38c15b271d23c7696c5947bb97da; official Bun 1.4.4 revision 38afee6c8.
Operating system
Windows 11 Pro x64, build 26300.
Provider and model
Not applicable.
Logs or error output
Failing case: America/Santiago midnight DST retains final-day activity and tooltip, gui/tests/usage-custom-range.test.tsx:300.
- Nested output:
OCX_SANTIAGO_CASE_COMPLETED, 1 passed / 8 assertions, 734 ms test summary. - Parent:
exitedDueToTimeoutwas true; elapsed 12,093 ms. - Entire file: 37 passed / 1 failed / 479 assertions.
- The outer wrapper naturally exited 1, both streams reached EOF, and no direct children remained. Its 68.05-second elapsed time and Bun's 33.53-second file summary are separate timing domains.
Nested body success does not prove process termination or pipe completion. The original synchronous fixture does not expose those nested timestamps.
Screenshots and supporting files
Text-only test failure. A separately instrumented child under a .NET observer exited successfully in about 1.04 seconds; a private Bun.spawn replacement still exceeded the same 12-second deadline. Neither is an adopted fix or proof of cause.
#4956 records an older child-process issue fixed in Bun 1.4.3. This observation uses 1.4.4; a shared cause is unconfirmed. The next diagnostic should distinguish nested process exit from pipe completion while preserving the DST assertions and deadlines.
Redacted configuration
Not applicable; no provider, account or trust configuration was changed.
Checks
- I searched existing issues and documentation.
- I removed secrets, tokens, account details, request credentials, and personal data.
Activity
Ingwannu commentedon Oct 25, 2026
The baseline control is useful: this is an open Windows child-process/test-harness failure, not a demonstrated #7420 regression or a reproduced user-facing DST defect.
Current dev still checks the child completion marker and
exitedDueToTimeout, signal and exit status. The marker establishes that the nested assertions ran; it cannot make the parent timeout a pass. Please keep the complete-file invocation, TZ/recursion preconditions, all DST assertions and the existing 10/12/15-second bounds in the control.The next useful diagnostic separates four timestamps: nested test completion, actual child process exit, stdout EOF, and stderr EOF, with process identity/remaining descendants recorded independently of captured output. Compare that diagnostic against the unchanged invocation rather than replacing its result. #7715 corrects timeout classification in a different temporary-file diagnostic helper; it does not establish a repair for this GUI child. A shared cause with #4956 is still unproven. I cannot reproduce the Windows path on this Linux host, so no Windows fix or pass is claimed.
lidge-jun commentedon Oct 27, 2026
Investigation update (Windows 11, Bun 1.4.4, current
dev). No fix is proposed yet because the cause is still unproven.Bun.spawnobservation: in one reproduction the completion marker came at 9.95 s and stdout/stderr EOF just before 10 s, but process exit only at 21.8 s. So the delay was in native process exit after output had closed, not in pipes held open by a grandchild. An import-only child (no render, no window) also exceeded 12 s in that run.bun -e, an emptybun test, with and without the GUI preload,--isolate,TZ=America/Santiago, andpipe/ignore/inheritstdio. All of them exited within the deadline. The fullgui/tests/usage-custom-range.test.tsxalso passed 38/0, both on an idle host and under a 16-CPU background load. A short gap between EOF and native exit was visible, but nothing close to 12 s.The 12 s exit delay therefore looks intermittent and environment-dependent rather than tied to any of the tested inputs. The 10/12/15 s bounds and the marker, exit-status and signal assertions remain unchanged.
lidge-jun commentedon Oct 28, 2026
No recurrence:
gui/tests/usage-custom-range.test.tsxhas not failed in any batcheddevCI run since 2026-10-23, the nineci.ymldispatches through 40617484699. The earlier finding stands: in the one reproduction, the native process exit came about 12 s after stdout and stderr EOF, and no tested input reproduced it. The 10/12/15 s bounds and the marker, exit-status and signal assertions remain unchanged. Leaving this open in case it recurs.lidge-jun commentedon Nov 3, 2026
Closing as not reproducible. On Windows 11 with Bun 1.4.4, 103 minimal child variants and the full
gui/tests/usage-custom-range.test.tsxall completed within the existing 10/12/15-second bounds, idle and under load; the single reproduction showed a native process-exit delay after stdout/stderr EOF that no tested input reproduced. CI runsgui/testsonly on Linux, so it gives no Windows signal either way. If the parent timeout appears again, please reopen with the run's timestamps for test completion, stdout/stderr EOF and process exit.github-actions commentedon Nov 3, 2026
Automated translation bookkeeping — detected language: English.