Commit Graph

12 Commits

Author SHA1 Message Date
c4664466d1 Merge pull request #1958 from alexandersato0830/codex/guest-scene-output-ownership
Reserve synthetic guest scene output before writing reports (GUEST-SCENE-OUTPUT-OWNERSHIP)
2026-11-28 20:29:43 +01:00
ab3eb20e6d Reserve synthetic guest scene output before writing reports 2026-11-25 10:46:20 -06:00
1e9c868cb6 tests: check paths with non-ASCII characters in the child's own encoding (TEST-NON-ASCII-PATHS)
These cases decoded a child's ANSI or OEM output as something else, so they failed on Windows when the temp folder's name was not ASCII.
2026-11-24 22:06:00 +01:00
0667ec19eb tests: guest scene launch failure decodes a localized OS error (TEST-GSR-LOCALE)
On a Windows host whose ANSI code page is not UTF-8 (1251 on a Russian
install), run_guest_scene.py prints the "could not launch" line with the
localized [WinError 216] text in that code page. The test decoded the
child's output as strict UTF-8, so subprocess.run left result.stdout as
None and the next line failed with a TypeError before any real assertion
ran. Decode with errors="replace", as the output-directory case in the
same file already does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 13:54:41 +05:00
0d927e57e9 tests: resolve the unicode-path case's report path too
The runner resolves --out (run_guest_scene.py:355) and prints the physical
report path; the two encoding subtests compared the tempfile spelling. On
Windows that is the 8.3 name (RUNNER~1) against the expanded runneradmin, two
of the three failures the check job reported in this file; on macOS the
unresolved /var spelling only matched as the tail of /private/var.
2026-11-24 04:23:27 +02:00
82b46db626 tests: compare the guest-scene record with the loader path the runner resolves
run_guest_scene.py resolves --loader, --guest, --shaders and --out before it
starts (line 348), so the run record holds the physical path. tempfile gives
/var/folders/... on macOS, a symlink to /private/var/folders/..., and the
launch-failure test compared the record with the unresolved spelling.
2026-11-24 03:55:57 +02:00
887a0e4ef2 Merge remote-tracking branch 'origin/pr/8965' 2026-11-23 17:41:02 -05:00
040f6aadce Report guest scene output directory creation failures 2026-11-23 15:38:35 -06:00
97430d6cbc Register the opt-in guest scene CTest for Wine cross-builds 2026-11-23 19:52:11 +00:00
d616c91116 Record why a guest scene did not start (#6924)
Squash-merged after diff review of PR #6924 - guest_scene: retain run diagnostics when the loader cannot start
2026-11-23 09:36:03 -06:00
17eeb26109 Preserve guest scene results on redirected Windows streams
FIocker reported that a successful scene run under a CJK output path raised UnicodeEncodeError while printing report.json to a cp1252 pipe. Keep the stream encoding and escape only characters it cannot represent, including in failure diagnostics.

Reported-by: @FIocker (PR #3986, issuecomment-7087348910)
2026-11-22 16:15:56 -07:00
5fec4f2827 Test a scripted 600-frame headless scene from a mapped guest 2026-11-22 15:43:53 -07:00