Repository navigation
feat(nos-runner-watchdog): watch the macOS pool from the same Worker - #309
Merged
smartwatermelon-agent[bot] merged 2 commits intoNov 24, 2026
Merged
Conversation
added 2 commits
November 23, 2026 16:59
The Worker now runs one tick per pool. scheduled() picks the pool from event.cron: "*/10 * * * *" is NOS (as before), and the new "5,15,25,35,45,55 * * * *" trigger is the smartwatermelon macOS pool. An unknown cron logs one line and does nothing. The GitHub calls (getRunners, getVar, setVar, scanQueue, scanRepo, mimoletteJobs) take the pool for its org, variable, label and variable visibility; they default to NOS. runTick takes the pool too: KV keys get the pool prefix (none for NOS), the token is minted from that pool's App secrets, decide() gets the pool's labels, and alerts use pool.messages. The copy of the NOS texts in index.js is gone; the old tests that assert those texts pass unedited. A pool whose App secrets are not all set logs one line and makes no fetch and no KV call, not even the skips write. Each pool runs in its own invocation, so each keeps its own 40-subrequest budget. Merging deploys nothing. Andrew deploys, with the SWM_* secrets, in the batch. Advances #252
The previous commit made every pool return silently when any App secret was missing. For NOS that would turn a lost secret into a silent watchdog. NOS must keep the old path: the mint fails, the tick counts a skip and sends the skip alert. POOLS.swmMacos now has optional: true. Only an optional pool takes the silent return. Other pools mint from their own App's raw secret values, as before, so NOS with a missing secret behaves as on origin/main. pool_nos_missing_secret_keeps_old_path pins that. Advances #252
smartwatermelon-agent
Bot
requested a review
from twistedmelonman
as a code owner
November 24, 2026 02:19
smartwatermelon-agent
Bot
deleted the
claude/feat-watchdog-macos-pool-56536f08
branch
November 24, 2026 02:24
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.
Part 2 Task 2 of the fleet runner rollout. The watchdog Worker now watches the smartwatermelon macOS pool as well as the NOS pool, from one Worker, on its own cron.
optional: when its App secrets are missing, it stays silent. A pool with only someSWM_*secrets set also stays silent, by design.Merging this deploys nothing. Andrew deploys the Worker by hand in the part 2 batch.
Advances #252