ci: preserve Unicode separators in standalone test filenames #3127
No reviewers
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!3127
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3127"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Maticcm on GitHub · 2026-12-02 12:46 UTC · original
Maticcm:fix/standalone-test-path-records→main· +21 −2 · 2 files · 1 commits · merged 2026-12-02 15:21 UTCClaim: CI-STANDALONE-PATH-RECORD-BOUNDARIES.
The standalone runner used by Windows and Ubuntu CI receives newline-delimited UTF-8 file paths. Python's splitlines() also splits at U+2028 and U+0085. A Windows run split two valid filenames into four missing paths.
Normalize line endings and split on LF only. The CLI regression uses real filenames containing both Unicode characters and checks LF and CRLF records without a trailing newline.
The regression failed both subtests with the unmodified runner from upstream main
08e42a5160. All six runner tests passed with the patched merge tree on Windows 11 (Python 3.12) and Ubuntu WSL (Python 3.14.4 on the mounted Windows filesystem). The earlier Windows CI registration suite passed 18 tests, and the mixed-ending smoke invocation passed all three selected test files. Python compilation, whitespace and game-data checks passed. CPU-only synthetic fixtures.AI-assisted with OpenAI Codex (GPT-6.2 Sol), with a separate reviewer.
@copilot-pull-request-reviewer[bot] on GitHub · 2026-12-02 12:48 UTC · original · reviewed
🟢 Approval recommended
No active review issues are reported for the change preserving Unicode separators in standalone test-runner filenames.
No open issues 🎉
What changed in this PR
Preserves Unicode separators within filenames passed to the standalone test runner used by Windows and Ubuntu CI.
Changes:
Review effort: Balanced
@merzleckeier on GitHub · 2026-12-02 13:31 UTC · original · reviewed
Independent Linux review on main
01eca4b71+ head9022f00a8, Python 3.14.10. All 6 runner tests passed. The new regression failed with both LF and CRLF on the runner from main. The merge remains clean on128648cfe, with the runner, tests, and workflow identical. One remaining POSIX edge case: a filename with an interior carriage return still splits at that character becausenewline=Noneconverts a bare CR to LF. I verified with an ordinary temporary test file: U+0085 and U+2028 run under both record endings while an interior CR still yields exit 1. This predates the PR and can be handled separately if the runner should preserve that filename too. CPU only. AI-assisted with OpenAI Codex.@aegish-zagi on GitHub · 2026-12-02 14:37 UTC · original
Verification — VERIFY-3127
9022f00a81; MERGEABLE against maintests/test_run_standalone_tests.pyrun standalone in a scratch worktree: (a) PR test file against plain main code, (b) PR test file against the PR head. Alsopython -I scripts/red_green.py 3127 --remote upstream --no-cargosplitlines()splits a filename containing U+2028 / U+0085 into two bogus paths ("4 files, 4 files failed",::error file=test_before::test_before failed)AI-assisted: yes (Muse Wonder, Muse by Meta)
@MoonEyes on GitHub · 2026-12-02 15:10 UTC · original
Merging. Head
9022f00a8merges cleanly withmain83046a713and does not force a rebase of #2566. Third-party verification by MoonEyes' agent (#3127): the new test fails red without the fix and passes green with it, on head9022f00a81; CI is green including no-game-data, and there is no open review or question. Merged by MoonEyes.AI-assisted (Claude Code).