Commit b0a511d
Reporter overhaul (6/6): performance budgets and daemon-aligned major default flip (#5870)
* Add reporter performance and capacity budgets (feature 27/28)
Encode the specification §7.3 blocking budgets (3% wall-time regression,
32 MiB peak memory, 10 Hz interactive refresh, 64 KiB AI output, 20 AI
detailed diagnostics) as shared data in a new perf module, with helpers
for benchmark harnesses and capacity tests. Add a getPendingEventCount
observability hook to ReporterManager to prove bounded streaming, and a
Performance test suite covering the budgets, bounded streaming, a
high-volume benchmark, queue-pressure protected-event preservation, and
status coalescing.
Assistant-model: GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 897dcf7e-e6e8-4a84-85ca-34b93fa29be3
* Add rush change file for reporter performance budgets
Assistant-model: GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 897dcf7e-e6e8-4a84-85ca-34b93fa29be3
* Add daemon-aligned major default-flip migration model (feature 28/28)
Encode the specification §8.1 phase 6 default flip as revertible data in a
new migration module: the seven migration phases (each independently
releasable and revertible), pre-flip and daemon-aligned major default
sets (automatic selection on by default, legacy terminal APIs removed,
incompatible plugins gated before apply, legacy renderer/aliases/sentinel
bridge retained, RUSH_REPORTER=legacy emergency fallback), and a plugin
apply gate that fails incompatible plugins with a structured
RUSH_PLUGIN_API_INCOMPATIBLE diagnostic. Completes the Rush Reporter
Overhaul (28/28).
Assistant-model: GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 897dcf7e-e6e8-4a84-85ca-34b93fa29be3
* Add rush change file for daemon-aligned major migration model
Assistant-model: GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 897dcf7e-e6e8-4a84-85ca-34b93fa29be3
* Align performance-budget tests with manager-derived required flag
The coalescing-pressure test now proves protection with operationStatusChanged
(protected by type) instead of a producer-set required flag, which the sink no
longer accepts.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Fix reporter change file package names
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix reporter migration fallback diagnostics
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Align reporter migration gate with Rush version ranges
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Address reporter parity review feedback
Complete lifecycle status coverage, root-session parity, telemetry compatibility, extension privacy, and Rush semver-range plugin gating.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Address performance and migration review feedback
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 48b21772-7262-40a9-9524-c2b21582d201
* Stabilize reporter performance budget benchmark
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 48b21772-7262-40a9-9524-c2b21582d201
* Make reporter benchmark resilient to CI contention
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 48b21772-7262-40a9-9524-c2b21582d201
---------
Co-authored-by: Sean Larkin <TheLarkInn@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 897dcf7e-e6e8-4a84-85ca-34b93fa29be3
Copilot-Session: 48b21772-7262-40a9-9524-c2b21582d2011 parent 0c0b2bf commit b0a511d
34 files changed
Lines changed: 1666 additions & 129 deletions
File tree
- common
- changes
- @microsoft/rush
- @rushstack/rush-reporter
- config/subspaces/default
- reviews/api
- libraries
- reporter
- src
- diagnostics/templates
- exit
- lifecycle
- manager
- migration
- perf
- reporters
- session
- telemetry
- test
- rush-lib/src
- pluginFramework/PluginLoader
- schemas
- research
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
74 | | - | |
| 77 | + | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
| |||
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
83 | | - | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| |||
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
97 | 103 | | |
98 | 104 | | |
99 | 105 | | |
| |||
133 | 139 | | |
134 | 140 | | |
135 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
136 | 145 | | |
137 | 146 | | |
138 | 147 | | |
| |||
161 | 170 | | |
162 | 171 | | |
163 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
164 | 176 | | |
165 | 177 | | |
166 | 178 | | |
| |||
170 | 182 | | |
171 | 183 | | |
172 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
173 | 188 | | |
174 | 189 | | |
175 | 190 | | |
| |||
273 | 288 | | |
274 | 289 | | |
275 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
276 | 298 | | |
277 | 299 | | |
278 | 300 | | |
| |||
615 | 637 | | |
616 | 638 | | |
617 | 639 | | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
618 | 653 | | |
619 | 654 | | |
620 | 655 | | |
| |||
772 | 807 | | |
773 | 808 | | |
774 | 809 | | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
775 | 822 | | |
776 | 823 | | |
777 | 824 | | |
| |||
780 | 827 | | |
781 | 828 | | |
782 | 829 | | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
783 | 840 | | |
784 | 841 | | |
785 | 842 | | |
| |||
789 | 846 | | |
790 | 847 | | |
791 | 848 | | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
792 | 858 | | |
793 | 859 | | |
794 | 860 | | |
| |||
901 | 967 | | |
902 | 968 | | |
903 | 969 | | |
904 | | - | |
905 | 970 | | |
| 971 | + | |
906 | 972 | | |
907 | 973 | | |
908 | 974 | | |
| |||
933 | 999 | | |
934 | 1000 | | |
935 | 1001 | | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
936 | 1005 | | |
937 | 1006 | | |
938 | 1007 | | |
| |||
961 | 1030 | | |
962 | 1031 | | |
963 | 1032 | | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
964 | 1036 | | |
965 | 1037 | | |
966 | 1038 | | |
| |||
989 | 1061 | | |
990 | 1062 | | |
991 | 1063 | | |
992 | | - | |
993 | | - | |
994 | | - | |
995 | 1064 | | |
996 | 1065 | | |
997 | 1066 | | |
| |||
1001 | 1070 | | |
1002 | 1071 | | |
1003 | 1072 | | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
1004 | 1076 | | |
1005 | 1077 | | |
1006 | 1078 | | |
1007 | 1079 | | |
1008 | 1080 | | |
1009 | 1081 | | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
1010 | 1085 | | |
1011 | 1086 | | |
1012 | 1087 | | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1013 | 1094 | | |
1014 | 1095 | | |
1015 | 1096 | | |
| |||
1165 | 1246 | | |
1166 | 1247 | | |
1167 | 1248 | | |
1168 | | - | |
| 1249 | + | |
1169 | 1250 | | |
1170 | 1251 | | |
1171 | 1252 | | |
| |||
1212 | 1293 | | |
1213 | 1294 | | |
1214 | 1295 | | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
1215 | 1299 | | |
1216 | 1300 | | |
1217 | 1301 | | |
| |||
1234 | 1318 | | |
1235 | 1319 | | |
1236 | 1320 | | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
1237 | 1324 | | |
1238 | 1325 | | |
1239 | 1326 | | |
| |||
1246 | 1333 | | |
1247 | 1334 | | |
1248 | 1335 | | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
1249 | 1339 | | |
1250 | 1340 | | |
1251 | 1341 | | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
1252 | 1345 | | |
1253 | 1346 | | |
1254 | 1347 | | |
| |||
1296 | 1389 | | |
1297 | 1390 | | |
1298 | 1391 | | |
| 1392 | + | |
1299 | 1393 | | |
1300 | 1394 | | |
1301 | 1395 | | |
| |||
1304 | 1398 | | |
1305 | 1399 | | |
1306 | 1400 | | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
1307 | 1404 | | |
1308 | 1405 | | |
1309 | 1406 | | |
| |||
1423 | 1520 | | |
1424 | 1521 | | |
1425 | 1522 | | |
1426 | | - | |
1427 | | - | |
1428 | | - | |
1429 | 1523 | | |
1430 | 1524 | | |
1431 | 1525 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
0 commit comments