test: keep host fixtures unambiguous on G: and T: (TEST-FS-HOST-DRIVE) #393

Merged
oddmaniv merged 1 commit from upstream-pr/393 into main 2026-11-24 05:09:56 +00:00
oddmaniv commented 2026-11-24 04:28:23 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by oddmaniv on 2026-11-24T04:28:23Z.


Work item

TEST-FS-HOST-DRIVE
Claim: ubiquitarianism/leonida#14, comment 7122040973 (oddmaniv), continuing the original agent-account claim 7121770284.
Depends on: none.

Change

Keep the synthetic MoveFile and CopyFile host destinations inside the configured synthetic package root. Absolute paths on G: or T: outside the configured package/overlay roots are intentionally treated as console drive aliases. The previous root/host.txt and root/host_copy.txt fixtures therefore were not host paths when TEMP was on G:.

Only runtime/test/file_system_test.cpp changes: two fixture locations and explanatory comments. The move/copy return-value, error and content assertions are unchanged. No production shim behavior changes, skips or disabled checks.

Verification

Base: ece4ba5b31.
Native Windows, non-administrator account; MSVC 14.44.35207 compiler; isolated task build, target file_system_test, four compile jobs maximum. No GPU required or exercised by this test-only change.

  • Original current-main test, TEMP on the physical G: drive: exit 1; 489 checks, 3 failures.
  • Patched, TEMP on the physical G: drive: exit 0; 489 checks, 0 failures.
  • Patched, TEMP=Y:\ with temporary subst to the same physical temp directory: exit 0; 489 checks, 0 failures.
  • Negative control: restore original test source and rebuild: exit 1; the same 3/489 failures return.
  • Restore patch and rebuild: 489/489 checks pass for both G: and Y: spellings. Temporary drive mapping removed.
  • python -I scripts/check_no_game_data.py runtime/test/file_system_test.cpp: exit 0.
  • git diff --check: passed.

Independent Luna review found no blockers and verified fixture lifecycle, unchanged assertions, shim routing and recorded results. The reviewer inspected evidence rather than independently rerunning the Windows executable.

All files were synthetic fixtures created by the test. No retail package, shaders, assets or game-derived logs were used or uploaded. This was a targeted test-suite run, not a fresh full-runtime/GPU/semantic baseline.

AI-assisted: parent authored the minimal patch and executed deterministic verification; gpt-6-luna/openai-codex independently reviewed the code and saved evidence.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5466089433 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/393). Originally posted by [oddmaniv](https://github.com/oddmaniv) on 2026-11-24T04:28:23Z. --- ## Work item TEST-FS-HOST-DRIVE Claim: ubiquitarianism/leonida#14, comment 7122040973 (oddmaniv), continuing the original agent-account claim 7121770284. Depends on: none. ## Change Keep the synthetic MoveFile and CopyFile host destinations inside the configured synthetic package root. Absolute paths on G: or T: outside the configured package/overlay roots are intentionally treated as console drive aliases. The previous root/host.txt and root/host_copy.txt fixtures therefore were not host paths when TEMP was on G:. Only runtime/test/file_system_test.cpp changes: two fixture locations and explanatory comments. The move/copy return-value, error and content assertions are unchanged. No production shim behavior changes, skips or disabled checks. ## Verification Base: ece4ba5b31ebc6f345c8e29eae1261f2f780057a. Native Windows, non-administrator account; MSVC 14.44.35207 compiler; isolated task build, target file_system_test, four compile jobs maximum. No GPU required or exercised by this test-only change. - Original current-main test, TEMP on the physical G: drive: exit 1; 489 checks, 3 failures. - Patched, TEMP on the physical G: drive: exit 0; 489 checks, 0 failures. - Patched, TEMP=Y:\ with temporary subst to the same physical temp directory: exit 0; 489 checks, 0 failures. - Negative control: restore original test source and rebuild: exit 1; the same 3/489 failures return. - Restore patch and rebuild: 489/489 checks pass for both G: and Y: spellings. Temporary drive mapping removed. - python -I scripts/check_no_game_data.py runtime/test/file_system_test.cpp: exit 0. - git diff --check: passed. Independent Luna review found no blockers and verified fixture lifecycle, unchanged assertions, shim routing and recorded results. The reviewer inspected evidence rather than independently rerunning the Windows executable. All files were synthetic fixtures created by the test. No retail package, shaders, assets or game-derived logs were used or uploaded. This was a targeted test-suite run, not a fresh full-runtime/GPU/semantic baseline. AI-assisted: parent authored the minimal patch and executed deterministic verification; gpt-6-luna/openai-codex independently reviewed the code and saved evidence.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!393
No description provided.