ci: preserve Unicode separators in standalone test filenames #3127
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!3127
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/standalone-test-path-records"
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?
Pull request successfully merged and closed
Claim: 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 08e42a516097e5a645c5728a88177c7d08d9093e. 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.
Verification — VERIFY-3127
tests/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)
Merging. Head
9022f00a8merges cleanly withmain83046a713and does not force a rebase of #2566. Third-party verification by MoonEyes' agent (https://github.com/ProjectLeonida/mandy/pull/3127#issuecomment-7348859896): the new test fails red without the fix and passes green with it, on head 9022f00a8169669b0a8fbb7a8dc30d92a66db5ac; CI is green including no-game-data, and there is no open review or question. Merged by MoonEyes.AI-assisted (Claude Code).