Skip to content

ci(nightly): on-change + weekly instead of daily#3

Merged
djuillard merged 1 commit into
mainfrom
ci/nightly-on-change-weekly
Apr 23, 2026
Merged

ci(nightly): on-change + weekly instead of daily#3
djuillard merged 1 commit into
mainfrom
ci/nightly-on-change-weekly

Conversation

@djuillard
Copy link
Copy Markdown

Summary

  • Switch nightly validation from daily (04:23 UTC every day) to on-change + weekly
  • Weekly schedule (Sunday 04:23 UTC) catches environment drift (base image updates, dependency changes)
  • Push to main/dev triggers the full test suite (full-live, slow, ARM smoke) on every real code change
  • CI workflow (ci.yml) continues to handle lightweight PR/push feedback independently

Motivation

GitHub Actions Free plan provides 2,000 min/month. The daily nightly was consuming ~1,590 min/month (80% of quota) running 3 parallel jobs every night regardless of code changes.

Projected savings: ~1,590 → ~320 min/month (on-change ~4-8×/month + weekly 4×/month).

Test plan

  • Verify the weekly cron fires correctly on Sunday
  • Verify push to main triggers the nightly workflow
  • Verify CI workflow still triggers independently on push/PR
  • Monitor Actions usage for the next billing cycle

🤖 Generated with Claude Code
via Happy

Reduce GitHub Actions minutes consumption on the Free plan.
The nightly was running 3 jobs (full-live, slow-live, arm64-smoke)
every day at 04:23 UTC regardless of code changes, consuming
~1,590 min/month (80% of the 2,000 min quota).

New triggers:
- Weekly (Sunday 04:23 UTC): catches environment drift (base image
  updates, dependency changes) even without code changes
- On push to main/dev: runs full test coverage on every real change
- Manual dispatch: unchanged

The CI workflow (ci.yml) continues to handle PR/push feedback with
lighter tests. This nightly adds the full live_api suite, slow tests,
and unconditional ARM smoke that CI excludes.

Projected savings: ~1,590 → ~320 min/month.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
@djuillard djuillard merged commit 799a652 into main Apr 23, 2026
9 checks passed
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.

1 participant