ci(rsc): add daily schedule to test canary/experimental React versions#897
Merged
Merged
Conversation
Co-authored-by: hi-ogawa <4232207+hi-ogawa@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add ci to run canary/experimental every day. see .github/workflows/ci-rsc.yml
ci(rsc): add daily schedule to test canary/experimental React versions
Oct 6, 2025
hi-ogawa
reviewed
Oct 6, 2025
Comment on lines
54
to
59
| - os: ubuntu-latest | ||
| browser: chromium | ||
| react_version: canary | ||
| - os: ubuntu-latest | ||
| browser: chromium | ||
| react_version: experimental |
Contributor
There was a problem hiding this comment.
@copilot Would this runs all matrix? Is it possible to run only two canary/experimental modes?
Contributor
Author
There was a problem hiding this comment.
Yes, you're right! I've updated the workflow to run only canary/experimental modes on scheduled runs.
Changes in commit e4cd338:
- Added
if: github.event_name != 'schedule'to the existingtest-e2ejob to skip it on scheduled runs - Added new
test-e2e-scheduledjob that only runs canary and experimental on ubuntu-latest with chromium when triggered by schedule
This optimizes CI resources while still achieving the goal of daily canary/experimental testing.
Contributor
There was a problem hiding this comment.
@copilot The change is worse. Let's revert it and actually running whole thing is fine.
Contributor
Author
There was a problem hiding this comment.
Reverted in commit 07a67ae. The workflow now runs the full test matrix on scheduled runs, same as push/PR events.
Co-authored-by: hi-ogawa <4232207+hi-ogawa@users.noreply.github.com>
Co-authored-by: hi-ogawa <4232207+hi-ogawa@users.noreply.github.com>
hi-ogawa
approved these changes
Oct 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a daily scheduled run to the
ci-rscworkflow to automatically test React canary and experimental versions every day at midnight UTC.Changes
Added a
scheduletrigger with a daily cron expression (0 0 * * *) to.github/workflows/ci-rsc.yml. This ensures continuous monitoring of plugin-rsc compatibility with React's latest development versions.Motivation
The workflow already includes canary and experimental React versions in the test matrix, but these were only tested on push/PR events. Running these tests daily helps catch compatibility issues early and provides better visibility into the stability of React's development versions.
Workflow Behavior
The
ci-rscworkflow now runs on:All triggers run the full test matrix including:
Related to #630 which added support for testing React nightly versions.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.