-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
fix(scripts/generators): make sure to flush nx Tree outside nx context in order to write changes on physical file system #28396
Conversation
…t in order to write changes on physical file system
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 601 | 598 | 5000 | |
Button | mount | 295 | 298 | 5000 | |
Field | mount | 1067 | 1065 | 5000 | |
FluentProvider | mount | 643 | 667 | 5000 | |
FluentProviderWithTheme | mount | 76 | 82 | 10 | |
FluentProviderWithTheme | virtual-rerender | 66 | 61 | 10 | |
FluentProviderWithTheme | virtual-rerender-with-unmount | 62 | 75 | 10 | |
InfoButton | mount | 13 | 11 | 5000 | |
MakeStyles | mount | 866 | 865 | 50000 | |
Persona | mount | 1638 | 1579 | 5000 | |
SpinButton | mount | 1321 | 1307 | 5000 |
Perf Analysis (
|
Scenario | Current PR Ticks | Baseline Ticks | Ratio | Regression Analysis |
---|---|---|---|---|
AccordionMinimalPerf.default | 80 | 86 | 0.93:1 | analysis |
Perf tests with no regressions
Scenario | Current PR Ticks | Baseline Ticks | Ratio |
---|---|---|---|
AttachmentMinimalPerf.default | 84 | 75 | 1.12:1 |
ReactionMinimalPerf.default | 223 | 202 | 1.1:1 |
ListWith60ListItems.default | 383 | 353 | 1.08:1 |
PortalMinimalPerf.default | 82 | 76 | 1.08:1 |
ButtonMinimalPerf.default | 93 | 87 | 1.07:1 |
ChatWithPopoverPerf.default | 194 | 182 | 1.07:1 |
CardMinimalPerf.default | 332 | 312 | 1.06:1 |
HeaderMinimalPerf.default | 213 | 203 | 1.05:1 |
StatusMinimalPerf.default | 412 | 394 | 1.05:1 |
TreeMinimalPerf.default | 487 | 466 | 1.05:1 |
ImageMinimalPerf.default | 223 | 215 | 1.04:1 |
LabelMinimalPerf.default | 224 | 216 | 1.04:1 |
IconMinimalPerf.default | 396 | 382 | 1.04:1 |
TableMinimalPerf.default | 241 | 232 | 1.04:1 |
ToolbarMinimalPerf.default | 539 | 520 | 1.04:1 |
BoxMinimalPerf.default | 198 | 192 | 1.03:1 |
ButtonOverridesMissPerf.default | 652 | 631 | 1.03:1 |
FormMinimalPerf.default | 227 | 220 | 1.03:1 |
TextMinimalPerf.default | 191 | 186 | 1.03:1 |
AnimationMinimalPerf.default | 305 | 298 | 1.02:1 |
AvatarMinimalPerf.default | 108 | 106 | 1.02:1 |
ChatMinimalPerf.default | 440 | 431 | 1.02:1 |
DropdownMinimalPerf.default | 1424 | 1398 | 1.02:1 |
ListMinimalPerf.default | 304 | 299 | 1.02:1 |
MenuButtonMinimalPerf.default | 970 | 950 | 1.02:1 |
RosterPerf.default | 1519 | 1489 | 1.02:1 |
TableManyItemsPerf.default | 1134 | 1115 | 1.02:1 |
TooltipMinimalPerf.default | 1277 | 1253 | 1.02:1 |
CheckboxMinimalPerf.default | 1134 | 1120 | 1.01:1 |
DropdownManyItemsPerf.default | 389 | 386 | 1.01:1 |
PopupMinimalPerf.default | 350 | 347 | 1.01:1 |
ProviderMinimalPerf.default | 204 | 201 | 1.01:1 |
SegmentMinimalPerf.default | 203 | 201 | 1.01:1 |
TreeWith60ListItems.default | 88 | 87 | 1.01:1 |
AttachmentSlotsPerf.default | 645 | 644 | 1:1 |
TextAreaMinimalPerf.default | 290 | 291 | 1:1 |
VideoMinimalPerf.default | 445 | 445 | 1:1 |
DatepickerMinimalPerf.default | 3553 | 3607 | 0.99:1 |
InputMinimalPerf.default | 530 | 534 | 0.99:1 |
ListNestedPerf.default | 311 | 313 | 0.99:1 |
ProviderMergeThemesPerf.default | 667 | 671 | 0.99:1 |
RadioGroupMinimalPerf.default | 259 | 262 | 0.99:1 |
SplitButtonMinimalPerf.default | 2263 | 2294 | 0.99:1 |
CustomToolbarPrototype.default | 1476 | 1491 | 0.99:1 |
DialogMinimalPerf.default | 444 | 455 | 0.98:1 |
EmbedMinimalPerf.default | 1824 | 1869 | 0.98:1 |
ItemLayoutMinimalPerf.default | 714 | 727 | 0.98:1 |
SkeletonMinimalPerf.default | 195 | 200 | 0.98:1 |
SliderMinimalPerf.default | 744 | 761 | 0.98:1 |
LayoutMinimalPerf.default | 197 | 204 | 0.97:1 |
RefMinimalPerf.default | 107 | 110 | 0.97:1 |
ChatDuplicateMessagesPerf.default | 152 | 158 | 0.96:1 |
FlexMinimalPerf.default | 154 | 160 | 0.96:1 |
GridMinimalPerf.default | 186 | 193 | 0.96:1 |
HeaderSlotsPerf.default | 459 | 476 | 0.96:1 |
ListCommonPerf.default | 383 | 399 | 0.96:1 |
AlertMinimalPerf.default | 149 | 157 | 0.95:1 |
LoaderMinimalPerf.default | 184 | 193 | 0.95:1 |
CarouselMinimalPerf.default | 252 | 269 | 0.94:1 |
DividerMinimalPerf.default | 198 | 211 | 0.94:1 |
MenuMinimalPerf.default | 484 | 514 | 0.94:1 |
ButtonSlotsPerf.default | 317 | 345 | 0.92:1 |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 07eae4a:
|
🕵 fluentuiv8 No visual regressions between this PR and main |
📊 Bundle size reportUnchanged fixtures
|
🕵 FluentUI-v0 No visual regressions between this PR and main |
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 1745a0bfdb5ad5a0757fe57e2c698bc170a34cfe (build) |
🕵 fluentuiv9 No visual regressions between this PR and main |
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
BaseButton | mount | 621 | 652 | 5000 | |
Breadcrumb | mount | 1646 | 1672 | 1000 | |
Checkbox | mount | 1671 | 1687 | 5000 | |
CheckboxBase | mount | 1467 | 1478 | 5000 | |
ChoiceGroup | mount | 2917 | 2916 | 5000 | |
ComboBox | mount | 665 | 656 | 1000 | |
CommandBar | mount | 6180 | 6238 | 1000 | |
ContextualMenu | mount | 11884 | 11721 | 1000 | |
DefaultButton | mount | 745 | 740 | 5000 | |
DetailsRow | mount | 2164 | 2148 | 5000 | |
DetailsRowFast | mount | 2163 | 2211 | 5000 | |
DetailsRowNoStyles | mount | 2001 | 2016 | 5000 | |
Dialog | mount | 2620 | 2755 | 1000 | |
DocumentCardTitle | mount | 213 | 213 | 1000 | |
Dropdown | mount | 1965 | 1945 | 5000 | |
FocusTrapZone | mount | 1145 | 1136 | 5000 | |
FocusZone | mount | 1079 | 1070 | 5000 | |
GroupedList | mount | 40959 | 41233 | 2 | |
GroupedList | virtual-rerender | 19622 | 19665 | 2 | |
GroupedList | virtual-rerender-with-unmount | 49863 | 50269 | 2 | |
GroupedListV2 | mount | 220 | 221 | 2 | |
GroupedListV2 | virtual-rerender | 213 | 208 | 2 | |
GroupedListV2 | virtual-rerender-with-unmount | 221 | 221 | 2 | |
IconButton | mount | 1065 | 1078 | 5000 | |
Label | mount | 332 | 327 | 5000 | |
Layer | mount | 2759 | 2735 | 5000 | |
Link | mount | 389 | 389 | 5000 | |
MenuButton | mount | 924 | 922 | 5000 | |
MessageBar | mount | 21334 | 21419 | 5000 | |
Nav | mount | 1945 | 1924 | 1000 | |
OverflowSet | mount | 780 | 777 | 5000 | |
Panel | mount | 1804 | 1781 | 1000 | |
Persona | mount | 744 | 763 | 1000 | |
Pivot | mount | 863 | 888 | 1000 | |
PrimaryButton | mount | 852 | 841 | 5000 | |
Rating | mount | 4621 | 4641 | 5000 | |
SearchBox | mount | 910 | 906 | 5000 | |
Shimmer | mount | 1856 | 1846 | 5000 | |
Slider | mount | 1300 | 1344 | 5000 | |
SpinButton | mount | 2947 | 2844 | 5000 | |
Spinner | mount | 388 | 385 | 5000 | |
SplitButton | mount | 1773 | 1782 | 5000 | |
Stack | mount | 398 | 398 | 5000 | |
StackWithIntrinsicChildren | mount | 865 | 865 | 5000 | |
StackWithTextChildren | mount | 2613 | 2673 | 5000 | |
SwatchColorPicker | mount | 6062 | 6018 | 5000 | |
TagPicker | mount | 1438 | 1442 | 5000 | |
Text | mount | 377 | 376 | 5000 | |
TextField | mount | 944 | 936 | 5000 | |
ThemeProvider | mount | 849 | 835 | 5000 | |
ThemeProvider | virtual-rerender | 596 | 588 | 5000 | |
ThemeProvider | virtual-rerender-with-unmount | 1276 | 1294 | 5000 | |
Toggle | mount | 601 | 614 | 5000 | |
buttonNative | mount | 189 | 187 | 5000 |
Previous Behavior
yarn create-component
doesn't work after migration to nx 15.9 which introducedproject.json
per package instead globalworkspace.json
. This change needed us to monkey patch how nx devkit is used outside nx environment, but we forgot to flush the virtual FS tree to real FS.New Behavior
yarn create-component
does workRelated Issue(s)