Skip to content

ci: improve workflows#15037

Open
luc122c wants to merge 4 commits into
vuejs:mainfrom
luc122c:fix/workflows
Open

ci: improve workflows#15037
luc122c wants to merge 4 commits into
vuejs:mainfrom
luc122c:fix/workflows

Conversation

@luc122c

@luc122c luc122c commented Jul 1, 2026

Copy link
Copy Markdown

Description

Hi, there are a few improvements that can be made to the workflows.

ubuntu-slim runner

Use ubuntu-slim for close-cant-reproduce-issues.yml, lock-closed-issues.yml, ecosystem-ci-trigger.yml, and size-report.yml. The runner readme provides more info about the tools and the blog post gives some potential use cases.

persist-credentials: false

Use persist-credentials: false on every actions/checkout (none of the jobs perform subsequent git operations — pnpm release --publishOnly in release.yml doesn't touch git). See usage for more info.

parallel keyword

Use parallel for independent steps in test.yml and size-report.yml

GitHub Actions announced the parallel keyword — syntactic sugar that groups independent steps to run concurrently within a single job, then waits for all of them before continuing. See the workflow syntax docs for the full reference.

Concurrency

Add concurrency to the PR-triggered workflows so a new push cancels the previous in-flight run of the same workflow. ci.yml and size-data.yml use the || github.ref fallback to keep per-branch grouping for push events, while still cancelling on PRs.

Related

Summary by CodeRabbit

  • Bug Fixes

    • Improved reliability of CI and automated workflows by preventing overlapping runs on the same pull request.
    • Reduced the chance of checkout-related credential issues during automated jobs.
  • Chores

    • Updated several automation jobs to use a lighter runner image.
    • Ran some validation steps in parallel, which may help shorten check times.

@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9559712e-1a5f-476e-9185-d901c00e2e4a

📥 Commits

Reviewing files that changed from the base of the PR and between c0606e9 and 5d15983.

📒 Files selected for processing (9)
  • .github/workflows/autofix.yml
  • .github/workflows/ci.yml
  • .github/workflows/close-cant-reproduce-issues.yml
  • .github/workflows/ecosystem-ci-trigger.yml
  • .github/workflows/lock-closed-issues.yml
  • .github/workflows/release.yml
  • .github/workflows/size-data.yml
  • .github/workflows/size-report.yml
  • .github/workflows/test.yml

📝 Walkthrough

Walkthrough

GitHub Actions workflows are updated across the repository to add concurrency policies with cancel-in-progress for pull requests, set persist-credentials: false on checkout steps, switch some jobs from ubuntu-latest to ubuntu-slim, and parallelize previously sequential steps in test and size-report workflows.

Changes

CI Workflow Updates

Layer / File(s) Summary
Concurrency and checkout hardening
.github/workflows/autofix.yml, .github/workflows/ci.yml, .github/workflows/size-data.yml, .github/workflows/release.yml, .github/workflows/test.yml
Adds workflow-level concurrency groups keyed by workflow name plus PR number/ref with cancel-in-progress for pull_request events, and sets persist-credentials: false on actions/checkout steps across multiple jobs.
Runner image migration
.github/workflows/close-cant-reproduce-issues.yml, .github/workflows/ecosystem-ci-trigger.yml, .github/workflows/lock-closed-issues.yml, .github/workflows/size-report.yml
Changes runs-on from ubuntu-latest to ubuntu-slim for several scheduled/triggered jobs.
Parallelized step execution
.github/workflows/size-report.yml, .github/workflows/test.yml
Restructures sequential steps (reading PR number/base branch, compiler/ssr unit tests, lint/format-check) into parallel blocks so they run concurrently.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: danielroe

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is related to the PR, but it is too generic to convey the specific workflow changes. Use a more specific title, such as mentioning workflow concurrency, ubuntu-slim, or checkout credential updates.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@luc122c luc122c marked this pull request as ready for review July 1, 2026 20:15
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 107 kB 40.3 kB 36.2 kB
vue.global.prod.js 165 kB 60.3 kB 53.7 kB

Usages

Name Size Gzip Brotli
createApp (CAPI only) 49 kB 19 kB 17.4 kB
createApp 57.1 kB 22.1 kB 20.2 kB
createSSRApp 61.6 kB 23.9 kB 21.8 kB
defineCustomElement 63.3 kB 24 kB 21.9 kB
overall 71.9 kB 27.5 kB 25.1 kB

@pkg-pr-new

pkg-pr-new Bot commented Jul 2, 2026

Copy link
Copy Markdown

Open in StackBlitz

@vue/compiler-core

pnpm add https://pkg.pr.new/@vue/compiler-core@15037
npm i https://pkg.pr.new/@vue/compiler-core@15037
yarn add https://pkg.pr.new/@vue/compiler-core@15037.tgz

@vue/compiler-dom

pnpm add https://pkg.pr.new/@vue/compiler-dom@15037
npm i https://pkg.pr.new/@vue/compiler-dom@15037
yarn add https://pkg.pr.new/@vue/compiler-dom@15037.tgz

@vue/compiler-sfc

pnpm add https://pkg.pr.new/@vue/compiler-sfc@15037
npm i https://pkg.pr.new/@vue/compiler-sfc@15037
yarn add https://pkg.pr.new/@vue/compiler-sfc@15037.tgz

@vue/compiler-ssr

pnpm add https://pkg.pr.new/@vue/compiler-ssr@15037
npm i https://pkg.pr.new/@vue/compiler-ssr@15037
yarn add https://pkg.pr.new/@vue/compiler-ssr@15037.tgz

@vue/reactivity

pnpm add https://pkg.pr.new/@vue/reactivity@15037
npm i https://pkg.pr.new/@vue/reactivity@15037
yarn add https://pkg.pr.new/@vue/reactivity@15037.tgz

@vue/runtime-core

pnpm add https://pkg.pr.new/@vue/runtime-core@15037
npm i https://pkg.pr.new/@vue/runtime-core@15037
yarn add https://pkg.pr.new/@vue/runtime-core@15037.tgz

@vue/runtime-dom

pnpm add https://pkg.pr.new/@vue/runtime-dom@15037
npm i https://pkg.pr.new/@vue/runtime-dom@15037
yarn add https://pkg.pr.new/@vue/runtime-dom@15037.tgz

@vue/server-renderer

pnpm add https://pkg.pr.new/@vue/server-renderer@15037
npm i https://pkg.pr.new/@vue/server-renderer@15037
yarn add https://pkg.pr.new/@vue/server-renderer@15037.tgz

@vue/shared

pnpm add https://pkg.pr.new/@vue/shared@15037
npm i https://pkg.pr.new/@vue/shared@15037
yarn add https://pkg.pr.new/@vue/shared@15037.tgz

vue

pnpm add https://pkg.pr.new/vue@15037
npm i https://pkg.pr.new/vue@15037
yarn add https://pkg.pr.new/vue@15037.tgz

@vue/compat

pnpm add https://pkg.pr.new/@vue/compat@15037
npm i https://pkg.pr.new/@vue/compat@15037
yarn add https://pkg.pr.new/@vue/compat@15037.tgz

commit: 5d15983

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.

1 participant