Skip to content

docs(nos-runner): recover at once after a manual fix - #305

Merged
smartwatermelon-agent[bot] merged 2 commits into
mainfrom
claude/docs-nos-manual-recovery-56536f08
Nov 23, 2026
Merged

smartwatermelon-agent[bot] merged 2 commits into
mainfrom
claude/docs-nos-manual-recovery-56536f08

Conversation

@smartwatermelon-agent

Copy link
Copy Markdown
Contributor

After a manual fix, the NOS runner fell back to ubuntu-latest for up to about 160 minutes while the watchdog waited out its hold. This adds a runbook step to recover at once.

  • New subsection "After a manual fix" in section 6 of docs/runbooks/nos-runner.md. Andrew confirms both slots are up, then sets NOS_RUNNER back to mimolette himself (agents cannot write org variables). The section 5 sentence now points to it.
  • Two pinning tests in workers/nos-runner-watchdog/test/decide.test.js. A manual flip with healthy runners stays on mimolette and sends no alert, because decide() treats an outside change as external and resets its miss and good counts. A flip with no runners fails over again on the second bad check. decide.js is unchanged.

Option 1 (an on-demand "check now" URL on the Worker) was not taken. It would add a public endpoint to a Worker that has none (workers_dev = false), and the existing external reset already gives an immediate recovery path.

npm --prefix workers/nos-runner-watchdog test: 83 pass, 0 fail.

Closes #298

Claude Code Bot added 2 commits November 23, 2026 15:50
Add an "After a manual fix" runbook step and two tests that pin the
watchdog reset on an outside variable change.

Closes #298
Assert the second bad tick fails over with a down alert, and that the
first case sends no alert and resets the miss and good counts.

Advances #298
@smartwatermelon-agent
smartwatermelon-agent Bot merged commit 63bb486 into main Nov 23, 2026
6 checks passed
@smartwatermelon-agent
smartwatermelon-agent Bot deleted the claude/docs-nos-manual-recovery-56536f08 branch November 23, 2026 23:58
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.

nos-runner-watchdog: a way to run a check now after a manual fix

0 participants