Skip to content

Run Vite ecosystem CI from rolldown (scheduled main run + PR /ecosystem-ci run) #9705

Description

@shulaoda

Background

Before each rolldown release we want early signal on whether a new rolldown breaks the Vite ecosystem (Nuxt, SvelteKit, Astro, Vitest, ...). Today it's manual: open a vitejs/vite PR bumping rolldown to a pkg.pr.new preview, then comment /ecosystem-ci run. We want to automate this from the rolldown side.

Scenarios

  1. Scheduled main run — daily cron testing main HEAD against the full ecosystem; also manually dispatchable with an explicit rolldownRef (e.g. pre-release). Additive to Vite's own schedule, which tests the rolldown version Vite pins, not the latest. File: .github/workflows/vite-ecosystem-ci.yml.
  2. PR comment trigger — comment /ecosystem-ci run [suite] on a rolldown PR to test that PR's rolldown. Triage+ only; rejects if the PR was pushed after the command. If no preview exists, label trigger: preview to build it, wait, then dispatch; posts the run link back. Mirrors Vite's UX. File: .github/workflows/vite-ecosystem-ci-trigger.yml.

Reference: how Vite does it today

Generate a pkg.pr.new preview of Vite for a PR (auto, or via the trigger: preview label running preview-release.yml) → comment /ecosystem-ci run [suite] → Vite's ecosystem-ci-trigger.yml checks permission, ensures the preview, and dispatches ecosystem-ci-from-pr.yml in vitejs/vite-ecosystem-ci with the PR's repo/branch/commit/suite → that workflow builds Vite and posts a results table back to the PR. On the rolldown side we skip the Vite PR: we publish a rolldown preview and pass its sha as rolldownRef.

Metadata

Metadata

Assignees

Type

No type

Fields

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions