Skip to content

Harden playtest launcher against non-fatal git pull stderr - #260

Merged
Vodkadav merged 1 commit into
mainfrom
fix/launcher-pull-hardening
Jul 15, 2026
Merged

Harden playtest launcher against non-fatal git pull stderr#260
Vodkadav merged 1 commit into
mainfrom
fix/launcher-pull-hardening

Conversation

@Vodkadav

Copy link
Copy Markdown
Owner

What

The desktop playtest launcher (scripts/playtest.ps1) runs a fast-forward git pull under $ErrorActionPreference = 'Stop'. A blocked or diverged pull writes to stderr, which under Stop throws and aborts the launcher before the "play current working tree" fallback can run — reproducing the June launch failures.

Fix

Wrap the pull in & { $ErrorActionPreference = 'Continue'; ... } so stderr no longer terminates the script; the existing $LASTEXITCODE check still routes a failed pull to the working-tree fallback.

Also normalizes two em-dashes to ASCII in nearby comments.

🤖 Generated with Claude Code

Run the fast-forward pull under $ErrorActionPreference='Continue' so a
blocked or diverged pull writing to stderr doesn't throw under the
launcher's 'Stop' preference and abort before the play-working-tree
fallback can run.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Vodkadav
Vodkadav merged commit 752aa42 into main Jul 15, 2026
8 checks passed
@Vodkadav
Vodkadav deleted the fix/launcher-pull-hardening branch July 15, 2026 19:54
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.

1 participant