Commit 8b7a7e4
committed
feat: unified PR report combining bundle size and runtime perf
Replace separate pr-size-report.yaml and pr-perf-report.yaml with a
single pr-report.yaml aggregator that triggers on both CI workflow
completions. Produces one combined PR comment with bundle size and
performance sections, showing 'pending' placeholders for whichever
section hasn't completed yet.
Key changes:
- Add head-sha metadata to both CI workflows for stale-run detection
- Add concurrency to ci-size-data.yaml (matches ci-perf-report.yaml)
- Create unified-report.js that shells out to existing size-report.js
and perf-report.ts, combining their output
- Clean up legacy separate comment markers on first run
- Use PR head SHA as concurrency key to prevent race conditions1 parent 64c852b commit 8b7a7e4
File tree
6 files changed
+285
-282
lines changed- .github/workflows
- scripts
6 files changed
+285
-282
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
31 | | - | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
| |||
This file was deleted.
0 commit comments