Skip to content

refactor(nos-runner-watchdog): add the pool table - #308

Merged
smartwatermelon-agent[bot] merged 1 commit into
mainfrom
claude/feat-watchdog-pool-table-56536f08
Nov 24, 2026
Merged

smartwatermelon-agent[bot] merged 1 commit into
mainfrom
claude/feat-watchdog-pool-table-56536f08

Conversation

@smartwatermelon-agent

Copy link
Copy Markdown
Contributor

Part 2, Task 1 of the fleet runner rollout: the first step to one watchdog Worker for every runner pool (D5). The live NOS behaviour does not change.

  • New src/pools.js. POOLS.nos holds today's NOS values and texts, copied byte for byte from index.js. POOLS.swmMacos holds the smartwatermelon macOS pool: SWM_MACOS_RUNNER, mimolette-macos, fallback macos-latest, visibility all, prefix swm-macos:, and its own cron and App secret names. The file also has APPS, poolForCron() and appEnv().
  • decide() takes an optional labels argument whose default is NOS. No threshold changes.
  • New tests in test/pools.test.js and test/decide-pool.test.js. No existing test file changed.

Nothing uses the macOS pool at runtime yet. Task 2 threads the pool through github.js and index.js, removes the duplicate NOS texts from index.js, and adds the second cron. Merging deploys nothing; Andrew deploys the Worker by hand.

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

Advances #252

@smartwatermelon-agent
smartwatermelon-agent Bot merged commit 67b34ee into main Nov 24, 2026
6 checks passed
@smartwatermelon-agent
smartwatermelon-agent Bot deleted the claude/feat-watchdog-pool-table-56536f08 branch November 24, 2026 00:50
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.

0 participants