docs/boot.md: the Windows PowerShell 5.1 capture survives ErrorActionPreference Stop (PROC-271) #206

Closed
github-bot wants to merge 2 commits from gh-pr/206/head into gh-pr/206/base
Owner

@⁠Andretuta on GitHub · 2026-11-24 02:43 UTC · original
ubiquitarianism:old-pr/9939 → main · +9 −1 · 1 files · 2 commits · closed without merging

Carried over from old PR 9939 by LouisRiverstone in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9939, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
LouisRiverstone: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

PROC-271 (found by dracbat): docs/boot.md's Windows PowerShell 5.1 log capture records nothing when $ErrorActionPreference is Stop.

Re-submission of #5330. #5330 was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current main.

Checked on #5330 by: kapitche (Linux).

No game files.

AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with main.

**@⁠Andretuta** on GitHub · 2026-11-24 02:43 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/206) `ubiquitarianism:old-pr/9939` → `main` · +9 −1 · 1 files · 2 commits · closed without merging > Carried over from **old PR 9939** by `LouisRiverstone` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9939`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `LouisRiverstone`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): PROC-271 (found by `dracbat`): `docs/boot.md`'s Windows PowerShell 5.1 log capture records nothing when `$ErrorActionPreference` is `Stop`. Re-submission of `#5330`. `#5330` was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current `main`. Checked on `#5330` by: kapitche (Linux). No game files. AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with `main`.
With $ErrorActionPreference = 'Stop', 5.1 turns the first native stderr line
into a terminating error, so '2>&1 | Out-File -Encoding utf8 $log' stops the
run and the log has no [d3d12-trace] line. The capture now runs inside
'& { $ErrorActionPreference = 'Continue'; ... 2>&1 } | Out-File', as
scripts/first_look.ps1 does. Measured on Windows PowerShell 5.1.26100 with a
stand-in printing three trace lines to stderr: bare capture 3 with Continue,
0 with Stop; the block 3 with both, exit code kept, the outer preference left
as it was.
# Conflicts:
#	docs/boot.md
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:48:41 +00:00
github-bot closed this pull request 2026-11-26 08:48:41 +00:00
Author
Owner

@⁠LouisRiverstone on GitHub · 2026-11-24 11:20 UTC · original

Taken over by its author in #668 (rebased on main). This draft can be closed.

**@⁠LouisRiverstone** on GitHub · 2026-11-24 11:20 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/206#issuecomment-7129978388) Taken over by its author in #668 (rebased on main). This draft can be closed.
Author
Owner

@⁠aslan2142 on GitHub · 2026-11-25 19:09 UTC · original

Closing: everything this pull request changes is already in main. Merging it into main (490f5b9ec) leaves every file as it is. The same change landed with #668.

Thanks for the work! If something here is still missing from main, open a new pull request with what's left.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠aslan2142** on GitHub · 2026-11-25 19:09 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/206#issuecomment-7171904642) Closing: everything this pull request changes is already in `main`. Merging it into `main` (`490f5b9ec`) leaves every file as it is. The same change landed with #668. Thanks for the work! If something here is still missing from `main`, open a new pull request with what's left. AI-assisted (Claude Code, Claude Opus 5.5).

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.