Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Oct 6, 2025

Summary

Adds a daily scheduled run to the ci-rsc workflow to automatically test React canary and experimental versions every day at midnight UTC.

Changes

Added a schedule trigger 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-rsc workflow now runs on:

  • Push to main branch
  • Pull requests affecting plugin-rsc files
  • Manual dispatch via workflow_dispatch
  • Daily at 00:00 UTC (scheduled run)

All triggers run the full test matrix including:

  • ubuntu-latest, macos-latest, windows-latest with chromium
  • ubuntu-latest with firefox
  • macos-latest with webkit
  • ubuntu-latest with chromium + rolldown
  • ubuntu-latest with chromium + React canary
  • ubuntu-latest with chromium + React experimental

Related to #630 which added support for testing React nightly versions.

Original prompt

Add ci to run canary/experimental every day. see .github/workflows/ci-rsc.yml


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@Copilot 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
@Copilot Copilot AI requested a review from hi-ogawa October 6, 2025 03:36
Copilot finished work on behalf of hi-ogawa October 6, 2025 03:36
Comment on lines 54 to 59
- os: ubuntu-latest
browser: chromium
react_version: canary
- os: ubuntu-latest
browser: chromium
react_version: experimental
Copy link
Contributor

Choose a reason for hiding this comment

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

@copilot Would this runs all matrix? Is it possible to run only two canary/experimental modes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

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 existing test-e2e job to skip it on scheduled runs
  • Added new test-e2e-scheduled job 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.

Copy link
Contributor

Choose a reason for hiding this comment

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

@copilot The change is worse. Let's revert it and actually running whole thing is fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted in commit 07a67ae. The workflow now runs the full test matrix on scheduled runs, same as push/PR events.

@Copilot Copilot AI requested a review from hi-ogawa October 6, 2025 03:43
Copilot finished work on behalf of hi-ogawa October 6, 2025 03:44
Copilot finished work on behalf of hi-ogawa October 6, 2025 03:48
@hi-ogawa hi-ogawa marked this pull request as ready for review October 6, 2025 03:58
@hi-ogawa hi-ogawa merged commit 5e245aa into main Oct 6, 2025
20 checks passed
@hi-ogawa hi-ogawa deleted the copilot/fix-e90b684c-22bf-4027-a025-5a3e4b6a2b70 branch October 6, 2025 04:05
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