Skip to content

feat(github-actions): include project name in job summary heading#10099

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/improve-github-actions-reporter
Draft

feat(github-actions): include project name in job summary heading#10099
Copilot wants to merge 2 commits intomainfrom
copilot/improve-github-actions-reporter

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 8, 2026

In monorepos where multiple vitest configs run in the same CI job, all summaries are written to the same $GITHUB_STEP_SUMMARY file and produce identical ## Vitest Test Report headings — making it impossible to tell them apart at a glance.

Changes

  • renderSummary – accepts an optional name parameter; when set, heading becomes ## Vitest Test Report (name) instead of the static fallback
  • onTestRunEnd – passes this.ctx.config.name to renderSummary automatically; no reporter option change needed

Usage

Set name in your vitest config:

// apps/web/vitest.config.ts
export default defineConfig({
  test: {
    name: 'web',
    reporters: ['github-actions'],
  },
})

Each suite's summary will now be headed ## Vitest Test Report (web), ## Vitest Test Report (api), etc., making the job summary scannable in a monorepo context.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 8, 2026

Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit d20fc24
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/69d6084770dd750008c0759f
😎 Deploy Preview https://deploy-preview-10099--vitest-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.

Copilot AI changed the title [WIP] Enhance GitHub actions reporter with config test name feat(github-actions): include project name in job summary heading Apr 8, 2026
Copilot AI requested a review from sheremet-va April 8, 2026 08:38
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.

Improve GitHub actions reporter with test name if set in config

2 participants