Skip to content

Throttle nightly release workflow to every 3 hours#2134

Merged
juliusmarminge merged 1 commit intomainfrom
t3code/nightly-release-cadence
Apr 17, 2026
Merged

Throttle nightly release workflow to every 3 hours#2134
juliusmarminge merged 1 commit intomainfrom
t3code/nightly-release-cadence

Conversation

@juliusmarminge
Copy link
Copy Markdown
Member

@juliusmarminge juliusmarminge commented Apr 17, 2026

Summary

  • Changed the scheduled release cadence from once daily at 9:00 UTC to every 3 hours.
  • Added a preflight change check for scheduled runs so nightly releases only proceed when main has advanced since the last nightly-v* tag.
  • Skips redundant scheduled releases when there are no new commits, while still allowing manual dispatch and tag-triggered releases.

Testing

  • Not run (workflow-only change).
  • Reviewed the updated GitHub Actions logic for scheduled runs, tag releases, and manual dispatch paths.
  • Confirmed the new check_changes job gates preflight only for scheduled runs.

Note

Low Risk
Workflow-only changes that adjust schedule and add a simple git-tag/commit comparison gate; main risk is inadvertently skipping/triggering scheduled nightlies if tagging or fetch behavior differs from expectations.

Overview
Nightly releases are now scheduled to run every 3 hours instead of once daily.

For scheduled runs, a new check_changes job compares HEAD to the most recent nightly-v* tag and gates preflight so the workflow skips publishing when there are no new commits since the last nightly (manual dispatch and tag-triggered releases still proceed).

Reviewed by Cursor Bugbot for commit 10e944b. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Throttle nightly release workflow to every 3 hours and skip runs with no changes

  • Changes the cron schedule in release.yml from once daily (0 9 * * *) to every 3 hours (0 */3 * * *).
  • Adds a check_changes job that compares HEAD to the last nightly-v* tag and sets a has_changes output.
  • The preflight job now depends on check_changes and skips on scheduled runs when no new commits exist since the last nightly tag.

Macroscope summarized 10e944b.

- Add a preflight check that skips scheduled releases when main matches the last nightly tag
- Keep manual and tag-triggered releases unchanged
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 17, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: e7b51e19-cc76-4c40-a644-f2168a8b3c1d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch t3code/nightly-release-cadence

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Apr 17, 2026
@macroscopeapp
Copy link
Copy Markdown
Contributor

macroscopeapp bot commented Apr 17, 2026

Approvability

Verdict: Approved

This is a minor CI/CD workflow change that adjusts the nightly release schedule frequency and adds a check to skip releases when there are no new changes. No production code or runtime behavior is affected.

You can customize Macroscope's approvability policy. Learn more.

@juliusmarminge juliusmarminge merged commit 52a6067 into main Apr 17, 2026
12 checks passed
@juliusmarminge juliusmarminge deleted the t3code/nightly-release-cadence branch April 17, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). 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