Repository navigation
Fix runtime-error report schedule templates and prepare 1.9.1 - #8
Merged
Merged
Conversation
The launchd and systemd templates started the CLI through its env node shebang. launchd's default PATH has no Homebrew or nvm directory, so the agent exited 127 on macOS; a systemd user unit resolved a different system Node. Start Node by absolute path with separate node and script placeholders, and add a Windows Task Scheduler installer that registers the hourly task with a hidden console window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The hourly runtime-error report templates shipped in 1.9.0 started the CLI through its
env nodeshebang. A service manager does not read the login shell's PATH./usr/bin:/bin:/usr/sbin:/sbin. With Homebrew Node the agent exits 127 (env: node: No such file or directory)./usr/bin/nodev22.22.1 instead of the installing Node v24.14.1.Change
REPLACE_WITH_ABSOLUTE_NODE_PATHandREPLACE_WITH_ABSOLUTE_SPOTTER_SCRIPT_PATHand start Node directly.ops/runtime-reporting/windows/install-runtime-errors-task.ps1registers the hourlyspotter-runtime-errorstask (interactive logon, hidden console), in the same style as the dashboard installer.test/runtime-reporting-ops.test.mjspins the three forms.Verification
PT1H.npm test: 616 pass, 0 fail, 4 skipped.npm run verify:docspasses.The sender, its config, credentials, and payload are unchanged.
🤖 Generated with Claude Code