mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:00:52 +01:00
[PR #668] [MERGED] docs/boot.md: the Windows PowerShell 5.1 capture survives ErrorActionPreference Stop (PROC-271) (OLD-9939) #708
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#708
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/668
Author: @LouisRiverstone
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @ubiquitarianism
Base:
main← Head:carry-old-9939📝 Commits (1)
4d470fddocs/boot.md: the Windows PowerShell 5.1 capture survives ErrorActionPreference Stop (PROC-271)📊 Changes
1 file changed (+9 additions, -1 deletions)
View changed files
📝
docs/boot.md(+9 -1)📄 Description
Claimed in the coordination issue as: OLD-9939 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7129925439)
Replaces the carried-over draft #206. I'm the original author of old upstream PR 9939.
What and why
PROC-271. If the session, a profile or a script has set
$ErrorActionPreference = 'Stop', Windows PowerShell 5.1 turns the first stderr line of thegta6rt.exe --run ... 2>&1 | ...capture indocs/boot.mdinto a terminating error. The run stops there, and the log has no[d3d12-trace]line, so it reads as a run that made no D3D12 call. The command now runs inside& { $ErrorActionPreference = 'Continue'; ... }, which is the same patternscripts/first_look.ps1uses for its dry run, and the doc explains why the wrapper is there.The old branch's final diff, applied on current
main(21625bca8) as one commit. It applied cleanly.Tested
Measured with a stand-in on Windows PowerShell 5.1.26100. The stand-in printed three trace lines to stderr and exited with code 37.
Continue, none withStop.$LASTEXITCODEwas 37, and the session's preference was unchanged afterwards.Documentation only.
GPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: documentation only)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.