Commit Graph
2 Commits
Author SHA1 Message Date
David Luzar 9eb7bb7aa8 fix(repo): keep the bundle stats' file names the same across builds (#12794)
Since the Vite bump (5.0.12 to 5.4.21, #12655) assets carry their source file,
so the stats plugin started to name them by it. The fonts got new names, and
the page's CSS and HTML were both named after `index.html`, the entry chunk's
name: per-file history on the Bundle size page broke at that commit.

Name an asset by its emitted file without the hash again, as every build
before did.
2026-12-02 09:48:35 +01:00
David Luzar 4eb1e648aa ci(repo): track bundle size and performance of master builds (#12469)
- `Stats` workflow on master: posts the production build's file sizes (raw, gzip, Brotli; initial load vs. lazy; bytes per source package) and, once staging serves the commit, its page-load and pan/zoom measurements to the Excalidraw+ backend; OSS_STATS_TOKEN lives in the master-only `stats` environment
- `scripts/stats/`: bundle-stats Vite plugin and wrapper config (`yarn stats:bundle`), the Playwright runner (`yarn stats:perf`) and the poster
- `yarn stats:compare`: builds the checkout, serves it with `vite preview` and compares it with staging (alternating loads, Mann-Whitney U test); prints a table or writes CSV with `--out`
- `excalidraw:app-start` mark in the app's entry, ending the runs' "HTML + JS" phase
- `playwright` 1.58.2 dev dependency (installs no browsers by itself)

Claude Opus 5.5 (xhigh)
2026-10-27 15:34:46 +01:00