-
Notifications
You must be signed in to change notification settings - Fork 5
Add rolldown version testing tool with statistics collection (stable versions only) #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Boshen <[email protected]>
Co-authored-by: Boshen <[email protected]>
Co-authored-by: Boshen <[email protected]>
|
@copilot for all past and future Rolldown versions fetched from the script, change the script and do the following, for every version
Then for all the stats generated, save data into a json, the json is an array of all data collected of all versions of rolldown. |
…tool Co-authored-by: Boshen <[email protected]>
I've implemented comprehensive version statistics collection functionality as requested. The enhanced script now: For every rolldown version (stable + experimental):
Key features:
Usage: pnpm rolldown:stats
# or
node tool/override-rolldown.js --statsThe JSON output contains an array of statistics for each successfully built version, with detailed file information and build metrics. Commit: dd728e1 |
|
@copilot merge main and fix conflict |
Co-authored-by: Boshen <[email protected]>
Successfully merged main branch and resolved all conflicts. The package.json conflicts were resolved by keeping both typescript-eslint and the updated rolldown-vite version, and the pnpm-lock.yaml was regenerated to ensure compatibility. All tests pass and linting is clean. Commit: a83f4c4 |
…nt dependency Co-authored-by: Boshen <[email protected]>
|
@copilot run |
Co-authored-by: Boshen <[email protected]>
Successfully ran |
Boshen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot update lockfile
Co-authored-by: Boshen <[email protected]>
Updated lockfile to match current package.json dependencies. Commit: ab5c07e |
tool/override-rolldown.js
Outdated
| console.log('🔍 Fetching all available versions...'); | ||
| const stableVersions = await fetchStableVersions(); | ||
| const latestNpmDate = await getLatestNpmVersionDate(); | ||
| const futureVersions = await fetchFutureVersions(latestNpmDate); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot future versions is broken, comment this line out and fix accordingly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented out the future versions functionality as requested. The fetchFutureVersions function call at line 311 and related code has been disabled. The tool now only analyzes stable versions from npm (5 versions), resulting in 100% successful builds. All unused functions and variables have been cleaned up to pass linting. Commit: 2a230d1
… pkg.pr.new integration Co-authored-by: Boshen <[email protected]>
Co-authored-by: Boshen <[email protected]>
This PR implements a comprehensive tool for testing the vibe-dashboard across stable rolldown-vite versions, with automatic statistics collection and performance analysis capabilities.
Key Features
Dynamic Version Discovery
Comprehensive Statistics Collection
The tool includes a powerful
--statsmode that automatically:rolldown-version-stats.jsonfor analysisStreamlined Testing Workflow
Statistics Output
The generated
rolldown-version-stats.jsoncontains comprehensive data for performance analysis:[ { "version": "7.1.4", "timestamp": "2025-08-24T15:47:35.547Z", "files": [ { "path": "assets/index-C_guGHi2.js", "size": 563794, "type": "js" }, { "path": "assets/index-DD-rq4eS.css", "size": 2812, "type": "css" } ], "totalSize": 568609, "buildTime": 3420 } ]Analysis Results
Successfully analyzed 5 out of 5 available rolldown versions:
This enables comprehensive performance analysis across stable rolldown versions, making it easy to track bundle size changes and build time improvements as rolldown evolves.
Fixes #15.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.