Skip to content

Fork release: build each upstream nightly within minutes - #6

Merged
collissimo merged 2 commits into
collin/mainfrom
fork/upstream-nightly-trigger
Oct 23, 2026
Merged

collissimo merged 2 commits into
collin/mainfrom
fork/upstream-nightly-trigger

Conversation

@collissimo

Copy link
Copy Markdown
Owner

Scheduled runs in the fork were unreliable: the hourly cron fired about 6 times a day, then stopped for 16 hours, so three upstream nightlies went unbuilt. GitHub cannot notify a fork when upstream publishes, and npm registry hooks are gone (the endpoint returns 410).

  • fork/upstream-nightly-watcher/: a Cloudflare Worker that checks every minute and sends one repository_dispatch (upstream-nightly) per new upstream nightly. It skips a nightly that is already released or already dispatched, which it recognizes by the run title, so a failed build is not redispatched every minute.
  • fork-release.yml: new repository_dispatch and push: collin/main triggers. The cron runs every 6 h as a fallback and retries failed builds. The existing "skip when released" check keeps extra triggers cheap.
  • FORK.md: documents the triggers and the watcher setup.

repository_dispatch only runs the workflow on the default branch, so the watcher has no effect until this is merged.

🤖 Generated with Claude Code

collissimo and others added 2 commits October 23, 2026 17:40
…lare Worker

GitHub cannot notify a fork of upstream releases, npm registry hooks are
gone, and scheduled runs in the fork fired a few times a day or not at
all. A Worker checks every minute and sends repository_dispatch once per
new upstream nightly; pushes to collin/main build directly, and the cron
drops to a 6-hour fallback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Oct 23, 2026
@collissimo
collissimo merged commit dd373d2 into collin/main Oct 23, 2026
6 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant