[PR #393] [MERGED] test: keep host fixtures unambiguous on G: and T: (TEST-FS-HOST-DRIVE) #446

Closed
opened 2026-11-26 20:17:54 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/393
Author: @oddmaniv
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @ubiquitarianism

Base: main ← Head: fix/test-fs-host-drive


📝 Commits (1)

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

📊 Changes

1 file changed (+5 additions, -2 deletions)

View changed files

📝 runtime/test/file_system_test.cpp (+5 -2)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/393 **Author:** [@oddmaniv](https://github.com/oddmaniv) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/24/2026 **Merged by:** [@ubiquitarianism](https://github.com/ubiquitarianism) **Base:** `main` ← **Head:** `fix/test-fs-host-drive` --- ### 📝 Commits (1) - [`e57a755`](https://github.com/ubiquitarianism/leonida/commit/e57a7558acdfcf82b43d03584a25cb460c5c7890) test: keep host fixtures unambiguous on G: and T: (TEST-FS-HOST-DRIVE) ### 📊 Changes **1 file changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/file_system_test.cpp` (+5 -2) </details> ### 📄 Description ## 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:17:54 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#446
No description provided.