Skip to content

fix(install): no byte-order mark reaches a program install.ps1 runs under Windows PowerShell 5.1 with a UTF-8 console - #1105

Merged
David-Noble-at-work merged 4 commits into
developfrom
fix/1104-install-ps1-s-programs-read-a
Oct 20, 2026
Merged

David-Noble-at-work merged 4 commits into
developfrom
fix/1104-install-ps1-s-programs-read-a

Conversation

@David-Noble-at-work

@David-Noble-at-work David-Noble-at-work commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Lane 57 of #949: a defect lane 30 (#1103) merged.

Resolves #1104

Test plan

  • danoble-wd11-3 (windows/arm64), with this branch's archive:
    • 85 of 85 checks under Windows PowerShell 5.1.26100.9711 and under PowerShell 7.6.6;
    • against 46122426's install.ps1 under 5.1, the stdin check fails with "stdin read: 3", as on CI's runners.
  • Tried there before writing it:
    • with a UTF-8 console, the program read 239,187,191 before the fix and nothing after, under 5.1;
    • closing the writer's base stream instead does not help.
  • Test-PowerShell.ps1: no findings
  • This script's pre-flight: CI's whole quality gate, the suite off Windows, make test-race and make test-scenario
  • CI on this pull request, every leg: the install.ps1 legs under 5.1 and 7 on amd64 and arm64

Written with AI assistance.

Signed-off-by: David Noble [email protected]
Assisted-by: Claude Code

Time

Marker UTC Elapsed
opened (first commit) 2026-10-20T17:17:58Z —
submitted (PR opened) 2026-10-20T17:54:42Z 0.6 h after opened
merged 2026-10-20T18:12:11Z 0.3 h after submitted; 0.9 h in all

Computed by the algorithm of noblefactor-ops#188 at merge.

@David-Noble-at-work
David-Noble-at-work merged commit 83e6b96 into develop Oct 20, 2026
21 checks passed
@David-Noble-at-work
David-Noble-at-work deleted the fix/1104-install-ps1-s-programs-read-a branch October 20, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

install.ps1's programs read a byte-order mark from their closed standard input under Windows PowerShell 5.1 with a UTF-8 console

1 participant