Skip to content

Move development Ruby builds to daily cron workflows#242

Merged
yahonda merged 1 commit into
rsim:masterfrom
yahonda:ci_cron_workflows
Apr 12, 2026
Merged

Move development Ruby builds to daily cron workflows#242
yahonda merged 1 commit into
rsim:masterfrom
yahonda:ci_cron_workflows

Conversation

@yahonda
Copy link
Copy Markdown
Collaborator

@yahonda yahonda commented Apr 12, 2026

Summary

  • Remove ruby-head, ruby-debug, truffleruby, and truffleruby-head from test.yml and test_11g.yml so they do not run on every push/PR
  • Add dedicated daily cron workflows:
    • ruby_head.yml: ruby-head, ruby-debug (daily at midnight UTC)
    • jruby_head.yml: jruby-head (daily at 1:00 UTC)
    • truffleruby.yml: truffleruby, truffleruby-head (daily at 2:00 UTC)
  • Skip Instant Client SDK download in jruby_head.yml since JRuby uses JDBC and does not build native extensions
  • Skip JDBC driver download in ruby_head.yml and truffleruby.yml since CRuby and TruffleRuby use OCI

This reduces CI time on every push while still catching regressions against development Ruby builds daily.

Test plan

  • test.yml passes with only stable Ruby versions (3.2, 3.3, 3.4, 4.0)
  • test_11g.yml passes with only stable Ruby versions
  • New cron workflows have valid syntax (verified by push)

🤖 Generated with Claude Code

@yahonda yahonda force-pushed the ci_cron_workflows branch from b334c04 to 7f5f853 Compare April 12, 2026 11:15
@yahonda yahonda requested a review from Copilot April 12, 2026 11:19
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Moves development Ruby builds off the main CI matrix and into scheduled workflows to reduce per-PR CI runtime while still validating against bleeding-edge Ruby implementations daily.

Changes:

  • Removed ruby-head/ruby-debug/truffleruby/truffleruby-head from test.yml and test_11g.yml matrices.
  • Added three daily cron workflows for ruby-head/ruby-debug, jruby-head, and truffleruby/truffleruby-head.
  • Consolidated Oracle Free DB + Instant Client setup into the new scheduled workflows.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
.github/workflows/test.yml Removes development Rubies from the default CI matrix.
.github/workflows/test_11g.yml Removes development Rubies from the 11g CI matrix.
.github/workflows/ruby_head.yml New daily workflow for ruby-head and ruby-debug.
.github/workflows/jruby_head.yml New daily workflow for jruby-head (incl. JDBC driver download).
.github/workflows/truffleruby.yml New daily workflow for truffleruby and truffleruby-head (incl. NO_ACTIVERECORD env).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ruby_head.yml
Comment thread .github/workflows/jruby_head.yml
Comment thread .github/workflows/truffleruby.yml
Comment thread .github/workflows/truffleruby.yml
Comment thread .github/workflows/ruby_head.yml
@yahonda yahonda force-pushed the ci_cron_workflows branch from 7f5f853 to 6eb1996 Compare April 12, 2026 11:33
Remove ruby-head, ruby-debug, truffleruby, and truffleruby-head from
test.yml and test_11g.yml so they do not run on every push/PR.

Add dedicated daily cron workflows instead:
- ruby_head.yml: ruby-head, ruby-debug
- jruby_head.yml: jruby-head
- truffleruby.yml: truffleruby, truffleruby-head

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@yahonda yahonda force-pushed the ci_cron_workflows branch from 6eb1996 to ca83232 Compare April 12, 2026 11:34
@yahonda yahonda merged commit 55b34b6 into rsim:master Apr 12, 2026
18 checks passed
@yahonda yahonda deleted the ci_cron_workflows branch April 29, 2026 23:08
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