Skip to content

Conversation

@fi3ework
Copy link
Member

@fi3ework fi3ework commented Oct 30, 2025

Summary

use https://github.com/rspack-contrib/rstack-ecosystem-ci and we could check the status https://rstack-ecosystem-ci.netlify.app/ in the future.

the legacy workflow is still reserved, i'll delete it after ensure the new workflow works well.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings October 30, 2025 12:13
@netlify
Copy link

netlify bot commented Oct 30, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit bd7fc16
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/690356616171e300084dd076
😎 Deploy Preview https://deploy-preview-663--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

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

This PR refactors the ecosystem CI workflow by simplifying it to use reusable GitHub Actions and creating a legacy backup. The changes consolidate the ecosystem CI logic by delegating to shared actions from the rstack-ecosystem-ci repository instead of maintaining inline implementation.

  • Replaced inline workflow logic with calls to reusable actions from rspack-contrib/rstack-ecosystem-ci
  • Created a legacy backup file (ecosystem-ci-legacy.yml) preserving the original implementation
  • Updated checkout action from v5 to v4 and removed pnpm installation steps

Reviewed Changes

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

File Description
.github/workflows/ecosystem-ci.yml Refactored to use reusable actions and simplified job structure
.github/workflows/ecosystem-ci-legacy.yml New file preserving the original ecosystem CI implementation

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

name: Dispatch ecosystem CI
runs-on: ubuntu-latest
if: github.repository == 'web-infra-dev/rstest' && github.event_name != 'workflow_dispatch' && needs.changes.outputs.changed == 'true'
if: github.repository == 'web-infra-dev/rstets' && github.event_name == 'workflow_dispatch'
Copy link

Copilot AI Oct 30, 2025

Choose a reason for hiding this comment

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

Typo in repository name: 'rstets' should be 'rstest' to match the actual repository name used elsewhere in the codebase.

Copilot uses AI. Check for mistakes.
Copy link
Member Author

@fi3ework fi3ework Oct 31, 2025

Choose a reason for hiding this comment

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

i'm stupid.

image

name: Run Ecosystem CI
github-token: ${{ secrets.REPO_RSTEST_ECO_CI_GITHUB_TOKEN_NEXT }}
ecosystem-owner: web-infra-dev
ecosystem-repo: rstets
Copy link

Copilot AI Oct 30, 2025

Choose a reason for hiding this comment

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

Typo in repository name: 'rstets' should be 'rstest' to match the actual repository name used elsewhere in the codebase.

Copilot uses AI. Check for mistakes.
github-token: ${{ secrets.REPO_RSTEST_ECO_CI_GITHUB_TOKEN_NEXT }}
ecosystem-owner: web-infra-dev
ecosystem-repo: rstets
workflow-file: rstets-ecosystem-ci-selected.yml
Copy link

Copilot AI Oct 30, 2025

Choose a reason for hiding this comment

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

Typo in workflow file name: 'rstets' should be 'rstest' to match the correct repository name.

Copilot uses AI. Check for mistakes.
ecosystem-owner: web-infra-dev
ecosystem-repo: rstets
workflow-file: rstets-ecosystem-ci-selected.yml
client-payload: '{"ref":"${{ github.event.inputs.branch }}","repo":"web-infra-dev/rstets","suite":"-","suiteRefType":"precoded","suiteRef":"precoded"}'
Copy link

Copilot AI Oct 30, 2025

Choose a reason for hiding this comment

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

Typo in repository name within client-payload: 'rstets' should be 'rstest' to match the actual repository name.

Copilot uses AI. Check for mistakes.
needs: changes
runs-on: ubuntu-latest
if: github.repository == 'web-infra-dev/rstest' && github.event_name == 'workflow_dispatch'
if: github.repository == 'web-infra-dev/rstets' && github.event_name != 'workflow_dispatch' && needs.changes.outputs.changed == 'true'
Copy link

Copilot AI Oct 30, 2025

Choose a reason for hiding this comment

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

Typo in repository name: 'rstets' should be 'rstest' to match the actual repository name used elsewhere in the codebase.

Copilot uses AI. Check for mistakes.
})
github-token: ${{ secrets.REPO_RSTEST_ECO_CI_GITHUB_TOKEN_NEXT }}
ecosystem-owner: web-infra-dev
ecosystem-repo: rstets
Copy link

Copilot AI Oct 30, 2025

Choose a reason for hiding this comment

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

Typo in repository name: 'rstets' should be 'rstest' to match the actual repository name used elsewhere in the codebase.

Copilot uses AI. Check for mistakes.
github-token: ${{ secrets.REPO_RSTEST_ECO_CI_GITHUB_TOKEN_NEXT }}
ecosystem-owner: web-infra-dev
ecosystem-repo: rstets
workflow-file: rstets-ecosystem-ci-from-commit.yml
Copy link

Copilot AI Oct 30, 2025

Choose a reason for hiding this comment

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

Typo in workflow file name: 'rstets' should be 'rstest' to match the correct repository name.

Copilot uses AI. Check for mistakes.
ecosystem-owner: web-infra-dev
ecosystem-repo: rstets
workflow-file: rstets-ecosystem-ci-from-commit.yml
client-payload: '{"commitSHA":"${{ github.sha }}","updateComment":true,"repo":"web-infra-dev/rstets","suite":"-","suiteRefType":"precoded","suiteRef":"precoded"}'
Copy link

Copilot AI Oct 30, 2025

Choose a reason for hiding this comment

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

Typo in repository name within client-payload: 'rstets' should be 'rstest' to match the actual repository name.

Copilot uses AI. Check for mistakes.
@fi3ework fi3ework merged commit 324c1ef into main Oct 30, 2025
24 checks passed
@fi3ework fi3ework deleted the new-eco-ci branch October 30, 2025 13:25
@9aoy 9aoy mentioned this pull request Nov 5, 2025
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