Skip to content

Recognize existing Windows PATH entries without duplicating them #188

Recognize existing Windows PATH entries without duplicating them

Recognize existing Windows PATH entries without duplicating them #188

Triggered via push September 8, 2026 03:11
Status Failure
Total duration 12m 45s
Artifacts

ci.yml

on: push
Matrix: build-test
Fit to window
Zoom out
Zoom in

Annotations

3 errors
build-test (windows-latest)
Process completed with exit code 1.
tests/windowsInstaller.spec.ts > Windows installer user PATH safety > appends once, backs up the previous value, and is idempotent on a second run: tests/windowsInstaller.spec.ts#L362
AssertionError: expected '\ufeff%LOCALAPPDATA%\Microsoft\Window…' to be '%LOCALAPPDATA%\Microsoft\WindowsApps;…' // Object.is equality Expected: "%LOCALAPPDATA%\Microsoft\WindowsApps;C:\Python312;C:\tools\restic" Received: "%LOCALAPPDATA%\Microsoft\WindowsApps;C:\Python312;C:\tools\restic" ❯ tests/windowsInstaller.spec.ts:362:83
tests/windowsInstaller.spec.ts > Windows installer user PATH safety > fails closed without writing when the existing PATH cannot be read: tests/windowsInstaller.spec.ts#L317
AssertionError: expected 'OK Added C:\Users\dev\AppData\Local\a…' to contain 'Could not read your user PATH' - Expected + Received - Could not read your user PATH + OK Added C:\Users\dev\AppData\Local\autohand to your user PATH + Previous PATH saved to: C:\Users\runneradmin\AppData\Local\autohand\user-path-backup-20260908-032359.txt + Open a new terminal for the change to take effect. + writeAttempts=1 + ❯ tests/windowsInstaller.spec.ts:317:27