[PR #1609] windows-boot: keep driver artifacts outside the checkout (RT-WINDOWS-BOOT-SCRATCH-CWD) #1623

Open
opened 2026-11-26 20:21:53 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1609
Author: @lixonik
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: windows-boot-scratch-cwd


📝 Commits (1)

  • 0236b63 Keep Windows boot driver artifacts outside the checkout

📊 Changes

3 files changed (+30 additions, -9 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 scripts/windows-boot/README.md (+3 -0)
📝 scripts/windows-boot/boot.ps1 (+26 -9)

📄 Description

Claimed in the coordination issue as: RT-WINDOWS-BOOT-SCRATCH-CWD

What and why

Refs #1552 for the driver artifact report. boot.ps1 starts the runtime from the checkout, so a driver artifact with a relative filename, such as the reported ucode.elf, can be created at its root and staged by accident.

Start the runtime from a per-run directory under -OutDir. Resolve the launcher's path inputs before spawning the child and keep the base for the existing runtime path overrides that were relative to the checkout. Ignore only a root-level ucode.elf to cover direct launches from the checkout.

Tested

  • Launched a synthetic child executable with the original and patched launchers on Windows PowerShell 5.1 and PowerShell 7. Its marker landed at the checkout root before the patch and under work_<name> afterwards. Verified paths with spaces, relative launcher inputs from outside the checkout, and -DryRun leaving the output directory absent.
  • Ran the full semantic suite (6,252 tests) and the docs link tests (16 tests). Verified the scoped Git ignore rule and ran check_no_game_data.py on all three changed files.

GPUs tested: n/a (synthetic child process)

AI-assisted.

Checklist

  • Based on current main and merges cleanly.
  • One topic.
  • No game data, keys or decryption.

🔄 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/1609 **Author:** [@lixonik](https://github.com/lixonik) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `windows-boot-scratch-cwd` --- ### 📝 Commits (1) - [`0236b63`](https://github.com/ubiquitarianism/leonida/commit/0236b63f4e18996a8210c841bea54e64af3f3ba7) Keep Windows boot driver artifacts outside the checkout ### 📊 Changes **3 files changed** (+30 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `scripts/windows-boot/README.md` (+3 -0) 📝 `scripts/windows-boot/boot.ps1` (+26 -9) </details> ### 📄 Description Claimed in the coordination issue as: [RT-WINDOWS-BOOT-SCRATCH-CWD](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7154180405) ### What and why Refs #1552 for the driver artifact report. `boot.ps1` starts the runtime from the checkout, so a driver artifact with a relative filename, such as the reported `ucode.elf`, can be created at its root and staged by accident. Start the runtime from a per-run directory under `-OutDir`. Resolve the launcher's path inputs before spawning the child and keep the base for the existing runtime path overrides that were relative to the checkout. Ignore only a root-level `ucode.elf` to cover direct launches from the checkout. ### Tested - Launched a synthetic child executable with the original and patched launchers on Windows PowerShell 5.1 and PowerShell 7. Its marker landed at the checkout root before the patch and under `work_<name>` afterwards. Verified paths with spaces, relative launcher inputs from outside the checkout, and `-DryRun` leaving the output directory absent. - Ran the full semantic suite (6,252 tests) and the docs link tests (16 tests). Verified the scoped Git ignore rule and ran `check_no_game_data.py` on all three changed files. GPUs tested: n/a (synthetic child process) AI-assisted. ### Checklist - [x] Based on current `main` and merges cleanly. - [x] One topic. - [x] No game data, keys or decryption. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#1623
No description provided.