Skip to content

fix(runner-win): give the LocalSystem NSSM service gh on PATH + logging (#258) - #259

Merged
dngioidev merged 1 commit into
mainfrom
fix/258-nssm-localsystem-path
Jul 23, 2026
Merged

fix(runner-win): give the LocalSystem NSSM service gh on PATH + logging (#258)#259
dngioidev merged 1 commit into
mainfrom
fix/258-nssm-localsystem-path

Conversation

@dngioidev

Copy link
Copy Markdown
Owner

The NSSM service runs as LocalSystem, which doesn't inherit the user PATH — so a user-scoped gh (%LOCALAPPDATA%\gh-cli) was invisible, -Serve couldn't mint JIT, exited, and NSSM throttled the service to Paused (no output captured). Fix: -InstallService resolves gh's dir at install time and carries it to the service via AppEnvironmentExtra PATH, sets AppStdout/AppStderr to runner/windows/logs/ (gitignored), and polls for Running (warns + points at the log if Paused). Instance + template, ASCII/parse verified, tests + gitignore updated.

Closes #258. Refs #253

…ng (#258)

An NSSM service runs as LocalSystem, which doesn't inherit the user PATH, so a
user-scoped gh (%LOCALAPPDATA%\gh-cli) was invisible — the service -Serve
couldn't mint JIT, exited, and NSSM throttled it to Paused (with no captured
output). -InstallService now resolves gh's dir at install time and carries it to
the service via AppEnvironmentExtra PATH, sets AppStdout/AppStderr to
runner/windows/logs/ (gitignored), and polls for Running (warning + log hint if
Paused). Instance + template, ASCII/parse verified, tests + gitignore updated.

Closes #258. Refs #253

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SATRHKa6mDHDuirhP6QuwL
@dngioidev
dngioidev merged commit c8f77ca into main Jul 23, 2026
@dngioidev
dngioidev deleted the fix/258-nssm-localsystem-path branch July 23, 2026 20:16
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.

Runner (Windows): NSSM service (LocalSystem) lacks user-scoped gh on PATH → -Serve exits, service Paused

1 participant