chore: migrate to nx 13.8.1#21751
Conversation
|
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 f1463f5:
|
Asset size changes
Baseline commit: 498292bcf77d1198f79440e8fbdb7e3277b1d08e (build) |
📊 Bundle size reportUnchanged fixtures
|
c3356d3 to
a61f63a
Compare
a61f63a to
d189ae6
Compare
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 740 | 699 | 5000 | |
| BaseButton | mount | 767 | 781 | 5000 | |
| Breadcrumb | mount | 2002 | 2034 | 1000 | |
| ButtonNext | mount | 370 | 361 | 5000 | |
| Checkbox | mount | 1198 | 1152 | 5000 | |
| CheckboxBase | mount | 1111 | 1122 | 5000 | |
| ChoiceGroup | mount | 3668 | 3777 | 5000 | |
| ComboBox | mount | 849 | 796 | 1000 | |
| CommandBar | mount | 8129 | 8108 | 1000 | |
| ContextualMenu | mount | 15107 | 14585 | 1000 | |
| DefaultButton | mount | 931 | 937 | 5000 | |
| DetailsRow | mount | 3237 | 2894 | 5000 | |
| DetailsRowFast | mount | 2932 | 3068 | 5000 | |
| DetailsRowNoStyles | mount | 2825 | 2891 | 5000 | |
| Dialog | mount | 1923 | 1913 | 1000 | |
| DocumentCardTitle | mount | 154 | 173 | 1000 | |
| Dropdown | mount | 2732 | 2662 | 5000 | |
| FluentProviderNext | mount | 1593 | 1676 | 5000 | |
| FluentProviderWithTheme | mount | 142 | 133 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 111 | 90 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 153 | 174 | 10 | |
| FocusTrapZone | mount | 1659 | 1522 | 5000 | |
| FocusZone | mount | 1515 | 1407 | 5000 | |
| IconButton | mount | 1396 | 1354 | 5000 | |
| Label | mount | 299 | 337 | 5000 | |
| Layer | mount | 2388 | 2380 | 5000 | |
| Link | mount | 390 | 383 | 5000 | |
| MakeStyles | mount | 1415 | 1403 | 50000 | |
| MenuButton | mount | 1269 | 1162 | 5000 | |
| MessageBar | mount | 1510 | 1738 | 5000 | |
| Nav | mount | 2512 | 2862 | 1000 | |
| OverflowSet | mount | 938 | 965 | 5000 | |
| Panel | mount | 1863 | 1719 | 1000 | |
| Persona | mount | 748 | 745 | 1000 | |
| Pivot | mount | 1190 | 1253 | 1000 | |
| PrimaryButton | mount | 1034 | 1082 | 5000 | |
| Rating | mount | 6148 | 6171 | 5000 | |
| SearchBox | mount | 1061 | 1058 | 5000 | |
| Shimmer | mount | 2101 | 1956 | 5000 | |
| Slider | mount | 1725 | 1708 | 5000 | |
| SpinButton | mount | 4067 | 4314 | 5000 | |
| Spinner | mount | 388 | 358 | 5000 | |
| SplitButton | mount | 2592 | 2664 | 5000 | |
| Stack | mount | 477 | 474 | 5000 | |
| StackWithIntrinsicChildren | mount | 1975 | 2007 | 5000 | |
| StackWithTextChildren | mount | 4386 | 4345 | 5000 | |
| SwatchColorPicker | mount | 9329 | 9314 | 5000 | |
| TagPicker | mount | 2109 | 2062 | 5000 | |
| TeachingBubble | mount | 10873 | 10905 | 5000 | |
| Text | mount | 355 | 388 | 5000 | |
| TextField | mount | 1239 | 1239 | 5000 | |
| ThemeProvider | mount | 1012 | 1039 | 5000 | |
| ThemeProvider | virtual-rerender | 477 | 555 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 1615 | 1659 | 5000 | |
| Toggle | mount | 711 | 626 | 5000 | |
| buttonNative | mount | 127 | 128 | 5000 |
Perf Analysis (@fluentui/react-northstar)
Perf tests with no regressions
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| FlexMinimalPerf.default | 253 | 215 | 1.18:1 |
| MenuMinimalPerf.default | 724 | 622 | 1.16:1 |
| CardMinimalPerf.default | 492 | 433 | 1.14:1 |
| HeaderMinimalPerf.default | 316 | 280 | 1.13:1 |
| ProviderMergeThemesPerf.default | 1474 | 1306 | 1.13:1 |
| CarouselMinimalPerf.default | 400 | 357 | 1.12:1 |
| PopupMinimalPerf.default | 527 | 479 | 1.1:1 |
| ButtonSlotsPerf.default | 467 | 427 | 1.09:1 |
| RadioGroupMinimalPerf.default | 374 | 342 | 1.09:1 |
| PortalMinimalPerf.default | 162 | 152 | 1.07:1 |
| SliderMinimalPerf.default | 1439 | 1347 | 1.07:1 |
| SegmentMinimalPerf.default | 302 | 286 | 1.06:1 |
| AvatarMinimalPerf.default | 155 | 148 | 1.05:1 |
| BoxMinimalPerf.default | 295 | 281 | 1.05:1 |
| HeaderSlotsPerf.default | 641 | 611 | 1.05:1 |
| LayoutMinimalPerf.default | 296 | 281 | 1.05:1 |
| MenuButtonMinimalPerf.default | 1317 | 1260 | 1.05:1 |
| LoaderMinimalPerf.default | 597 | 576 | 1.04:1 |
| ToolbarMinimalPerf.default | 803 | 770 | 1.04:1 |
| TreeWith60ListItems.default | 137 | 132 | 1.04:1 |
| AttachmentMinimalPerf.default | 123 | 119 | 1.03:1 |
| ChatDuplicateMessagesPerf.default | 241 | 233 | 1.03:1 |
| ImageMinimalPerf.default | 321 | 311 | 1.03:1 |
| ListNestedPerf.default | 477 | 464 | 1.03:1 |
| TextMinimalPerf.default | 308 | 298 | 1.03:1 |
| DropdownMinimalPerf.default | 2443 | 2394 | 1.02:1 |
| TableMinimalPerf.default | 359 | 352 | 1.02:1 |
| AnimationMinimalPerf.default | 426 | 422 | 1.01:1 |
| InputMinimalPerf.default | 1027 | 1018 | 1.01:1 |
| ListMinimalPerf.default | 411 | 407 | 1.01:1 |
| ListWith60ListItems.default | 504 | 499 | 1.01:1 |
| SkeletonMinimalPerf.default | 305 | 303 | 1.01:1 |
| TableManyItemsPerf.default | 1526 | 1510 | 1.01:1 |
| DialogMinimalPerf.default | 577 | 576 | 1:1 |
| DropdownManyItemsPerf.default | 516 | 514 | 1:1 |
| ProviderMinimalPerf.default | 923 | 925 | 1:1 |
| RefMinimalPerf.default | 203 | 204 | 1:1 |
| CustomToolbarPrototype.default | 3274 | 3266 | 1:1 |
| VideoMinimalPerf.default | 523 | 522 | 1:1 |
| CheckboxMinimalPerf.default | 2160 | 2185 | 0.99:1 |
| ListCommonPerf.default | 485 | 492 | 0.99:1 |
| TextAreaMinimalPerf.default | 424 | 429 | 0.99:1 |
| TooltipMinimalPerf.default | 884 | 895 | 0.99:1 |
| ItemLayoutMinimalPerf.default | 914 | 935 | 0.98:1 |
| SplitButtonMinimalPerf.default | 3508 | 3567 | 0.98:1 |
| AlertMinimalPerf.default | 231 | 237 | 0.97:1 |
| LabelMinimalPerf.default | 306 | 316 | 0.97:1 |
| FormMinimalPerf.default | 300 | 311 | 0.96:1 |
| RosterPerf.default | 1001 | 1044 | 0.96:1 |
| ChatMinimalPerf.default | 593 | 625 | 0.95:1 |
| DatepickerMinimalPerf.default | 4324 | 4581 | 0.94:1 |
| EmbedMinimalPerf.default | 3137 | 3355 | 0.94:1 |
| TreeMinimalPerf.default | 628 | 665 | 0.94:1 |
| ButtonOverridesMissPerf.default | 1301 | 1421 | 0.92:1 |
| StatusMinimalPerf.default | 509 | 553 | 0.92:1 |
| AccordionMinimalPerf.default | 119 | 131 | 0.91:1 |
| IconMinimalPerf.default | 461 | 514 | 0.9:1 |
| ChatWithPopoverPerf.default | 291 | 328 | 0.89:1 |
| ButtonMinimalPerf.default | 127 | 144 | 0.88:1 |
| DividerMinimalPerf.default | 270 | 308 | 0.88:1 |
| GridMinimalPerf.default | 260 | 294 | 0.88:1 |
| ReactionMinimalPerf.default | 281 | 320 | 0.88:1 |
| AttachmentSlotsPerf.default | 794 | 909 | 0.87:1 |
6368253 to
db719dd
Compare
| "lint": "just-scripts lint", | ||
| "start": "yarn storybook", | ||
| "test": "jest", | ||
| "test": "jest --passWithNoTests", |
There was a problem hiding this comment.
is this already configured in the migration generator ?
There was a problem hiding this comment.
ofc - I didnt do anything by hand for react-combobox
yarn.lock
Outdated
| source-map "~0.6.1" | ||
| source-map-support "~0.5.12" | ||
|
|
||
| terser@^5.7.2: |
There was a problem hiding this comment.
is it possible to dedupe terser version ? it's being duped because of pinned 5.7.1 version
| version "3.5.1" | ||
| resolved "https://registry.yarnpkg.com/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-3.5.1.tgz#e4dbf492a20dca9caab60086ddacb703afc2b726" | ||
| integrity sha512-n5CMlUUj+N5pjBhBACLq4jdr9cPTitySCjIosoQm0zwK99gmrcTGAfY9CwxRFT9+9OleNWXPRUcxsKP4AYExxQ== | ||
| tsconfig-paths-webpack-plugin@3.5.2: |
There was a problem hiding this comment.
we should just bump the tsconfig-paths-webpack-plugin to dedupe
| version "0.5.16" | ||
| resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042" | ||
| integrity sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ== | ||
| source-map-support@^0.5.16, source-map-support@^0.5.17, source-map-support@^0.5.5, source-map-support@^0.5.6, source-map-support@~0.5.12, source-map-support@~0.5.20: |
| version "8.2.1" | ||
| resolved "https://registry.yarnpkg.com/open/-/open-8.2.1.tgz#82de42da0ccbf429bc12d099dad2e0975e14e8af" | ||
| integrity sha512-rXILpcQlkF/QuFez2BJDf3GsqpjGKbkUUToAIGo9A0Q6ZkoSGogZJulrUdwRkrAsoQvoZsrjCYt8+zblOk7JQQ== | ||
| open@^8.0.9, open@^8.4.0: |
| version "27.4.6" | ||
| resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.4.6.tgz#5d2d93db419566cb680752ca0792780e71b3273e" | ||
| integrity sha512-gHWJF/6Xi5CTG5QCvROr6GcmpIqNYpDJyc8A1h/DyXqH1tD6SnRCM0d3U5msV31D2LB/U+E0M+W4oyvKV44oNw== | ||
| jest-worker@^27.2.2, jest-worker@^27.4.5, jest-worker@^27.4.6: |
| version "8.2.1" | ||
| resolved "https://registry.yarnpkg.com/open/-/open-8.2.1.tgz#82de42da0ccbf429bc12d099dad2e0975e14e8af" | ||
| integrity sha512-rXILpcQlkF/QuFez2BJDf3GsqpjGKbkUUToAIGo9A0Q6ZkoSGogZJulrUdwRkrAsoQvoZsrjCYt8+zblOk7JQQ== | ||
| open@^8.0.9, open@^8.4.0: |
| version "0.5.16" | ||
| resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042" | ||
| integrity sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ== | ||
| source-map-support@^0.5.16, source-map-support@^0.5.17, source-map-support@^0.5.5, source-map-support@^0.5.6, source-map-support@~0.5.12, source-map-support@~0.5.20: |
| version "5.1.4" | ||
| resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.1.4.tgz#c369cf8a47aa9922bd0d8a94fe3d3da11a7678a1" | ||
| integrity sha512-C2WkFwstHDhVEmsmlCxrXUtVklS+Ir1A7twrYzrDrQQOIMOaVAYykaoo/Aq1K0QRkMoY2hhvDQY1cm4jnIMFwA== | ||
| terser-webpack-plugin@5.3.1, terser-webpack-plugin@^5.0.3, terser-webpack-plugin@^5.1.3, terser-webpack-plugin@^5.3.0: |
| version "5.7.1" | ||
| resolved "https://registry.yarnpkg.com/terser/-/terser-5.7.1.tgz#2dc7a61009b66bb638305cb2a824763b116bf784" | ||
| integrity sha512-b3e+d5JbHAe/JSjwsC3Zn55wsBIM7AsHLjKxT31kGCldgbpFePaFo+PiddtO6uwRZWRw7sPXmAN8dTW61xmnSg== | ||
| terser@5.10.0, terser@^5.3.4, terser@^5.5.1, terser@^5.7.2: |
… dep graph resolution
…stic on local and ci
…orkspace violations
4d2e54e to
f1463f5
Compare
Current Behavior
New Behavior
Related Issue(s)
nrwl/nx#8938
Fixes #21811
NOTE 🚨 (Solved):
the TypeScript parsing issue underneath is even more tricky as the behaviour between CI and Local is non deterministic ( I was getting different AST parsing results between CI and Local 💣 - but in the end it looks like CI was correct )Update:
I turned offnx daemonon local machine as I thought that might be the root cause of different results between local and CI. Unfortunately the non deterministic behaviour is still present even after turning deamon off.Update 2: I was able to correctly reproduce it on local, so now we can be assured it is deterministic on both CI and Local. Issue was in the end with daemon being turned on and myself running into weird state of cache graph during consecutive test runs. As an extended check, the node script that I added to CI will always remove the cache so one can have consistent repro on Local machine.
Update 3: So after additional debugging it turns out the root cause was
yarn workspace🍿.node tools/check-dep-graph.jsthe output will be consistent with CIyarn workspace @fluentui/nx-workspace-tools check-graphI will get inconsistent output ( no errors with repro 😶🌫️)yarn workspaces changes cwd, I did that with nx executor as well - with nx changing cwd works as expected, not with yarn workspace
⬇⬇⬇
for reasons described I moved the check to nx workspace.json target so we have deterministic check