From 95bbbc918538102bf7f8b3b2e0138194e639dfd0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Oct 2025 03:30:48 +0000 Subject: [PATCH 1/4] Initial plan From e4cd338bb538cfe0628ef79310f275376862cf93 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Oct 2025 03:35:18 +0000 Subject: [PATCH 2/4] ci(rsc): add daily schedule to test canary/experimental React versions Co-authored-by: hi-ogawa <4232207+hi-ogawa@users.noreply.github.com> --- .github/workflows/ci-rsc.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci-rsc.yml b/.github/workflows/ci-rsc.yml index 7a76c023..509ad48a 100644 --- a/.github/workflows/ci-rsc.yml +++ b/.github/workflows/ci-rsc.yml @@ -12,6 +12,9 @@ on: - "packages/plugin-rsc/**" - "pnpm-lock.yaml" - ".github/workflows/ci-rsc.yml" + schedule: + # Run daily at 00:00 UTC to test canary/experimental React versions + - cron: "0 0 * * *" concurrency: group: ${{ github.workflow }}-${{ github.event.number || github.sha }} From 07a67ae75eddf9076ca20415f50cca76faa51d53 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Oct 2025 03:43:11 +0000 Subject: [PATCH 3/4] ci(rsc): run only canary/experimental tests on scheduled runs Co-authored-by: hi-ogawa <4232207+hi-ogawa@users.noreply.github.com> --- .github/workflows/ci-rsc.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/.github/workflows/ci-rsc.yml b/.github/workflows/ci-rsc.yml index 509ad48a..0491de40 100644 --- a/.github/workflows/ci-rsc.yml +++ b/.github/workflows/ci-rsc.yml @@ -35,6 +35,7 @@ jobs: - run: pnpm -C packages/plugin-rsc test test-e2e: + if: github.event_name != 'schedule' name: test-rsc (${{ matrix.os }} / ${{ matrix.browser }}) ${{ matrix.rolldown == true && '(rolldown)' || '' }} ${{ matrix.react_version && format('(react-{0})', matrix.react_version) || '' }} runs-on: ${{ matrix.os }} strategy: @@ -95,3 +96,37 @@ jobs: path: | packages/plugin-rsc/test-results if-no-files-found: ignore + + test-e2e-scheduled: + if: github.event_name == 'schedule' + name: test-rsc (scheduled / react-${{ matrix.react_version }}) + runs-on: ubuntu-latest + strategy: + matrix: + react_version: [canary, experimental] + fail-fast: false + steps: + - uses: actions/checkout@v5 + - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 + - uses: actions/setup-node@v5 + with: + node-version: 22 + - run: pnpm i + - name: install react + run: | + sed -i "/^overrides:/a\ react: \"$REACT_VERSION\"" pnpm-workspace.yaml + sed -i "/^overrides:/a\ react-dom: \"$REACT_VERSION\"" pnpm-workspace.yaml + sed -i "/^overrides:/a\ react-server-dom-webpack: \"$REACT_VERSION\"" pnpm-workspace.yaml + pnpm i --no-frozen-lockfile + env: + REACT_VERSION: ${{ matrix.react_version }} + - run: pnpm build + - run: pnpm -C packages/plugin-rsc exec playwright install chromium + - run: pnpm -C packages/plugin-rsc test-e2e-ci --project=chromium + - uses: actions/upload-artifact@v4 + if: always() + with: + name: test-results-scheduled-react-${{ matrix.react_version }} + path: | + packages/plugin-rsc/test-results + if-no-files-found: ignore From 46706d1c9e1ef7f246255b394b46fa737a95a769 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Oct 2025 03:47:06 +0000 Subject: [PATCH 4/4] Revert "ci(rsc): run only canary/experimental tests on scheduled runs" Co-authored-by: hi-ogawa <4232207+hi-ogawa@users.noreply.github.com> --- .github/workflows/ci-rsc.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/.github/workflows/ci-rsc.yml b/.github/workflows/ci-rsc.yml index 0491de40..509ad48a 100644 --- a/.github/workflows/ci-rsc.yml +++ b/.github/workflows/ci-rsc.yml @@ -35,7 +35,6 @@ jobs: - run: pnpm -C packages/plugin-rsc test test-e2e: - if: github.event_name != 'schedule' name: test-rsc (${{ matrix.os }} / ${{ matrix.browser }}) ${{ matrix.rolldown == true && '(rolldown)' || '' }} ${{ matrix.react_version && format('(react-{0})', matrix.react_version) || '' }} runs-on: ${{ matrix.os }} strategy: @@ -96,37 +95,3 @@ jobs: path: | packages/plugin-rsc/test-results if-no-files-found: ignore - - test-e2e-scheduled: - if: github.event_name == 'schedule' - name: test-rsc (scheduled / react-${{ matrix.react_version }}) - runs-on: ubuntu-latest - strategy: - matrix: - react_version: [canary, experimental] - fail-fast: false - steps: - - uses: actions/checkout@v5 - - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 - - uses: actions/setup-node@v5 - with: - node-version: 22 - - run: pnpm i - - name: install react - run: | - sed -i "/^overrides:/a\ react: \"$REACT_VERSION\"" pnpm-workspace.yaml - sed -i "/^overrides:/a\ react-dom: \"$REACT_VERSION\"" pnpm-workspace.yaml - sed -i "/^overrides:/a\ react-server-dom-webpack: \"$REACT_VERSION\"" pnpm-workspace.yaml - pnpm i --no-frozen-lockfile - env: - REACT_VERSION: ${{ matrix.react_version }} - - run: pnpm build - - run: pnpm -C packages/plugin-rsc exec playwright install chromium - - run: pnpm -C packages/plugin-rsc test-e2e-ci --project=chromium - - uses: actions/upload-artifact@v4 - if: always() - with: - name: test-results-scheduled-react-${{ matrix.react_version }} - path: | - packages/plugin-rsc/test-results - if-no-files-found: ignore