Skip to content

feat(vite): summarize production builds - #3079

Open
lntutor wants to merge 1 commit into
rtk-ai:developfrom
lntutor:feat/2744-vite-build-filter
Open

feat(vite): summarize production builds#3079
lntutor wants to merge 1 commit into
rtk-ai:developfrom
lntutor:feat/2744-vite-build-filter

Conversation

@lntutor

@lntutor lntutor commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add rtk vite build routing for direct, npx, npm exec, and pnpm Vite invocations
  • summarize successful asset tables with module count, total raw/gzip size, build time, and the five largest assets
  • preserve Rollup/plugin warning text and complete failure output, with --full and watch-mode passthrough
  • automatically reuse the Vite formatter when rtk npm run build output identifies Vite

Verification

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test --all-features (2,505 passed, 8 ignored)
  • cargo build --release --all-features
  • controlled live success, --full, exit-2 failure, and npm-wrapper runs
  • synthetic 100-asset table verifies at least 75% output reduction

Closes #2744

@CLAassistant

CLAassistant commented Jul 19, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@lntutor
lntutor force-pushed the feat/2744-vite-build-filter branch from 24b2642 to d33694d Compare July 31, 2026 00:11
@lntutor
lntutor force-pushed the feat/2744-vite-build-filter branch from d33694d to 30a4426 Compare July 31, 2026 00:56
@lntutor

lntutor commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

The benchmark failure is unrelated to this change: mockhttp.org/json/1 rotates response payloads, while the benchmark compares two separate requests. I reproduced the same failure mode on develop and opened #3340 to make the curl JSON comparison deterministic with the repository fixture. All other checks on this PR pass.

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.

Add support for filtering vite build output (rtk vite)

2 participants