Skip to content

Conversation

@yifancong
Copy link
Contributor

Summary

Related Issue

Checklist

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

Copilot AI review requested due to automatic review settings November 2, 2025 09:15
@netlify
Copy link

netlify bot commented Nov 2, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit f74c84f
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/690970a983cc830008f4995e
😎 Deploy Preview https://deploy-preview-2705--rspress-v2.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 adds Rsdoctor integration for build analysis and monitoring, enabling the capture of build metrics and bundle information. It also introduces a GitHub Actions workflow to automatically generate and report build data on pull requests.

  • Integrated @rsdoctor/rspack-plugin to collect build diagnostics and bundle information
  • Added a new GitHub Actions workflow to build the website and generate Rsdoctor reports
  • Configured the plugin to output JSON reports for automated analysis

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.

File Description
website/rspress.config.ts Adds Rsdoctor plugin configuration with conditional enablement via RSDOCTOR env variable
website/package.json Adds @rsdoctor/rspack-plugin dependency
pnpm-lock.yaml Updates lockfile with Rsdoctor-related dependencies and transitive dependencies
.github/workflows/diff.yml Introduces new workflow to build website with Rsdoctor and report metrics
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

@github-actions
Copy link
Contributor

github-actions bot commented Nov 2, 2025

Rsdoctor Bundle Diff Analysis

⚠️ No baseline data found - Unable to perform comparison analysis

Metric Current Baseline Change
📊 Total Size 14.3 MB - -
📄 JavaScript 13.7 MB - -
🎨 CSS 107.2 KB - -
🌐 HTML 0 B - -
📁 Other Assets 495.1 KB - -

Generated by Rsdoctor Action

@yifancong yifancong force-pushed the chore/add-diff-action branch from 45b389b to b87d0be Compare November 4, 2025 03:15
@yifancong yifancong changed the base branch from main to chore/action November 4, 2025 03:36
@yifancong yifancong merged commit 1791aa0 into chore/action Nov 4, 2025
2 checks passed
@yifancong yifancong deleted the chore/add-diff-action branch November 4, 2025 05:07
yifancong added a commit that referenced this pull request Nov 5, 2025
yifancong added a commit that referenced this pull request Nov 5, 2025
yifancong added a commit that referenced this pull request Nov 7, 2025
yifancong added a commit that referenced this pull request Nov 7, 2025
Chore/add diff action (#2720)

test: for diff ci

chore: rspress repo add diff CI

chore: rspress repo add diff CI

chore: rspress repo add diff CI
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