Skip to content

CI: run the Darkbloom watchdog from master, where GitHub runs schedules - #1826

Merged
davidtai merged 2 commits into
masterfrom
ci/watchdog-on-master
Nov 5, 2026
Merged

davidtai merged 2 commits into
masterfrom
ci/watchdog-on-master

Conversation

@davidtai

@davidtai davidtai commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Why

GitHub runs scheduled workflows only from the default branch, master. darkbloom-watchdog.yml came in with #1787 on dev only, so it has never run. Runs stranded on Darkbloom were never rescued:

What

  • Adds .github/workflows/darkbloom-watchdog.yml. It is byte-identical to dev's copy, which is darkbloom-sandbox's file copied unchanged.
  • Adds the changelog fragment changelog.d/ci-darkbloom-watchdog-on-master.md.

The watchdog lists the repository's queued and in-progress runs of every branch, so this one copy covers master and dev. It uses the existing repository variables: DARKBLOOM_WATCHDOG_MINUTES=15, and DARKBLOOM_WATCHDOG unset (meaning on). Master's route job is named "Select Runners", which is the watchdog's default ROUTE_JOB.

Hooked up

  • schedule */10 * * * * and workflow_dispatch, both from the default branch;
  • GITHUB_TOKEN with actions: write and checks: write, declared per job in the file.

Known gap, not fixed here

The watchdog acts only when no Darkbloom job of the run got a runner within the wait. One stranded job in a run whose other Darkbloom jobs ran is not rescued; the dev push run above is that case. That logic belongs to darkbloom-sandbox's copy of the file.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

GitHub runs scheduled workflows only from the default branch (master).
darkbloom-watchdog.yml was only on dev, so it never ran and stranded
Darkbloom runs were never rescued (dev push run 42078464492 and PR
#1825's run 42086980363 each waited about an hour). Same file as on dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference Error Error Nov 5, 2026 8:54pm UTC
d-inference-console-ui-dev Error Error Nov 5, 2026 8:54pm UTC
d-inference-landing Ready Ready Preview Nov 5, 2026 8:54pm UTC
darkbloom-status Ready Ready Preview Nov 5, 2026 8:54pm UTC
eigen-homepages-darkbloom Ready Ready Preview Nov 5, 2026 8:54pm UTC

Request Review

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Threat model review — advisory

Reviewed head f664568bb1ec against base 63ecb97e65de.

Reviewers: anthropic/claude-sonnet-5.5: first pass completed; anthropic/claude-opus-5.5: not needed by escalation policy; openai/gpt-6.1-sol: selected depth completed (1 batches)

No actionable findings in the reviewed text. This is not a security approval.

Models: budgeted Sonnet / selective Opus / selective Sol 6.1. Findings require human validation; this review never requests changes or blocks merging.

Scan completed; human review required.
Final reviewer requests further review; independent human review required

Coverage: 12/12 source units; cross-file integration complete. 0 selected depth batch(es) pending. All threat definitions indexed; relevant full definitions selected. Unchanged callers are not scanned.

Cost this run: $0.0000 reported, $0.0000 reserved with unknown cost; 0 paid request(s), 0 reused batch(es), 0 provider cache-hit tokens.

Saved findings and earlier report · Historical findings are not confirmed resolved.

Bedrock: 5 request(s), 129331 uncached + 0 cache-read + 50832 cache-write input / 4631 output tokens; 0 request(s) with unknown usage. OpenRouter backup used 0 time(s). Dollar amounts above cover OpenRouter only; AWS billing is reconciled separately.
Workload allowance: 6 native request(s), including one shared response repair; 500 emergency ceiling. Selected depth and integration rounds are admitted as their scope becomes known.

jonathan308
jonathan308 previously approved these changes Nov 5, 2026
The watchdog names the labels it looks for and routes nothing, so it is
exempt from the no-self-hosted-label check. Port dev's watchdog test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@davidtai
davidtai merged commit 12e8f0d into master Nov 5, 2026
26 of 28 checks passed
@davidtai
davidtai deleted the ci/watchdog-on-master branch November 5, 2026 21:49
jonathan308 added a commit that referenced this pull request Nov 5, 2026
#1826 (master) adds the watchdog test that dev already has since #1787 (same test; dev's version also covers its routing changes from #1787 and #1803), so this file takes dev's version:

- scripts/test-darkbloom-route.py

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch had an error being deployed

2 failed and 3 active deployments
Preview – d-inference-landing — f664568b Deployed Nov 5, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — f664568b Deployed Nov 5, 2026 by vercel[bot]
Preview – darkbloom-status — f664568b Deployed Nov 5, 2026 by vercel[bot]
Preview – d-inference-console-ui-dev — f664568b Deployed Nov 5, 2026 by vercel[bot]
Preview – d-inference — f664568b Deployed Nov 5, 2026 by vercel[bot]
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.

2 participants