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 356967f:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: a0d25e46c3e8514a2f6a1509412678ce6e8badaa (build) |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1263 | 1271 | 5000 | |
| Button | mount | 878 | 889 | 5000 | |
| FluentProvider | mount | 1484 | 1484 | 5000 | |
| FluentProviderWithTheme | mount | 580 | 567 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 533 | 531 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 576 | 562 | 10 | |
| MakeStyles | mount | 1983 | 2006 | 50000 | |
| SpinButton | mount | 2424 | 2438 | 5000 |
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| AccordionMinimalPerf.default | 127 | 116 | 1.09:1 |
| TreeWith60ListItems.default | 137 | 126 | 1.09:1 |
| CarouselMinimalPerf.default | 409 | 378 | 1.08:1 |
| ChatDuplicateMessagesPerf.default | 249 | 231 | 1.08:1 |
| SkeletonMinimalPerf.default | 291 | 278 | 1.05:1 |
| IconMinimalPerf.default | 517 | 492 | 1.05:1 |
| BoxMinimalPerf.default | 282 | 272 | 1.04:1 |
| ButtonSlotsPerf.default | 465 | 445 | 1.04:1 |
| RefMinimalPerf.default | 197 | 189 | 1.04:1 |
| ChatMinimalPerf.default | 624 | 607 | 1.03:1 |
| GridMinimalPerf.default | 283 | 274 | 1.03:1 |
| ListNestedPerf.default | 458 | 446 | 1.03:1 |
| ListWith60ListItems.default | 509 | 495 | 1.03:1 |
| MenuMinimalPerf.default | 715 | 694 | 1.03:1 |
| RosterPerf.default | 936 | 912 | 1.03:1 |
| ReactionMinimalPerf.default | 311 | 303 | 1.03:1 |
| SegmentMinimalPerf.default | 286 | 279 | 1.03:1 |
| VideoMinimalPerf.default | 548 | 530 | 1.03:1 |
| ButtonMinimalPerf.default | 134 | 131 | 1.02:1 |
| DividerMinimalPerf.default | 291 | 286 | 1.02:1 |
| FlexMinimalPerf.default | 238 | 234 | 1.02:1 |
| HeaderMinimalPerf.default | 302 | 296 | 1.02:1 |
| LayoutMinimalPerf.default | 295 | 288 | 1.02:1 |
| ListMinimalPerf.default | 429 | 422 | 1.02:1 |
| PopupMinimalPerf.default | 529 | 517 | 1.02:1 |
| ToolbarMinimalPerf.default | 803 | 791 | 1.02:1 |
| TooltipMinimalPerf.default | 946 | 927 | 1.02:1 |
| TreeMinimalPerf.default | 672 | 660 | 1.02:1 |
| AttachmentSlotsPerf.default | 915 | 902 | 1.01:1 |
| AvatarMinimalPerf.default | 155 | 153 | 1.01:1 |
| CardMinimalPerf.default | 462 | 457 | 1.01:1 |
| CheckboxMinimalPerf.default | 2244 | 2230 | 1.01:1 |
| DropdownMinimalPerf.default | 2647 | 2618 | 1.01:1 |
| EmbedMinimalPerf.default | 3457 | 3417 | 1.01:1 |
| FormMinimalPerf.default | 332 | 328 | 1.01:1 |
| ImageMinimalPerf.default | 298 | 295 | 1.01:1 |
| InputMinimalPerf.default | 1078 | 1070 | 1.01:1 |
| MenuButtonMinimalPerf.default | 1416 | 1401 | 1.01:1 |
| ProviderMergeThemesPerf.default | 1054 | 1048 | 1.01:1 |
| ProviderMinimalPerf.default | 336 | 333 | 1.01:1 |
| SliderMinimalPerf.default | 1434 | 1426 | 1.01:1 |
| TableMinimalPerf.default | 322 | 320 | 1.01:1 |
| TextMinimalPerf.default | 285 | 283 | 1.01:1 |
| AnimationMinimalPerf.default | 459 | 461 | 1:1 |
| ButtonOverridesMissPerf.default | 1246 | 1243 | 1:1 |
| DialogMinimalPerf.default | 637 | 639 | 1:1 |
| DropdownManyItemsPerf.default | 563 | 561 | 1:1 |
| ItemLayoutMinimalPerf.default | 982 | 986 | 1:1 |
| LoaderMinimalPerf.default | 567 | 566 | 1:1 |
| RadioGroupMinimalPerf.default | 364 | 364 | 1:1 |
| SplitButtonMinimalPerf.default | 3691 | 3679 | 1:1 |
| TableManyItemsPerf.default | 1596 | 1592 | 1:1 |
| LabelMinimalPerf.default | 316 | 319 | 0.99:1 |
| PortalMinimalPerf.default | 141 | 142 | 0.99:1 |
| AttachmentMinimalPerf.default | 121 | 123 | 0.98:1 |
| DatepickerMinimalPerf.default | 4674 | 4754 | 0.98:1 |
| HeaderSlotsPerf.default | 606 | 618 | 0.98:1 |
| ListCommonPerf.default | 520 | 528 | 0.98:1 |
| StatusMinimalPerf.default | 554 | 567 | 0.98:1 |
| TextAreaMinimalPerf.default | 396 | 406 | 0.98:1 |
| CustomToolbarPrototype.default | 2270 | 2307 | 0.98:1 |
| AlertMinimalPerf.default | 218 | 224 | 0.97:1 |
| ChatWithPopoverPerf.default | 305 | 313 | 0.97:1 |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 792 | 809 | 5000 | |
| Breadcrumb | mount | 2332 | 2342 | 1000 | |
| Checkbox | mount | 2224 | 2230 | 5000 | |
| CheckboxBase | mount | 1955 | 1952 | 5000 | |
| ChoiceGroup | mount | 4094 | 4073 | 5000 | |
| ComboBox | mount | 850 | 846 | 1000 | |
| CommandBar | mount | 9183 | 9082 | 1000 | |
| ContextualMenu | mount | 10101 | 10162 | 1000 | |
| DefaultButton | mount | 986 | 997 | 5000 | |
| DetailsRow | mount | 3355 | 3322 | 5000 | |
| DetailsRowFast | mount | 3388 | 3249 | 5000 | |
| DetailsRowNoStyles | mount | 3169 | 3145 | 5000 | |
| Dialog | mount | 2456 | 2451 | 1000 | |
| DocumentCardTitle | mount | 144 | 132 | 1000 | |
| Dropdown | mount | 2877 | 2887 | 5000 | |
| FocusTrapZone | mount | 1634 | 1637 | 5000 | |
| FocusZone | mount | 1551 | 1611 | 5000 | |
| IconButton | mount | 1512 | 1528 | 5000 | |
| Label | mount | 309 | 303 | 5000 | |
| Layer | mount | 2770 | 2719 | 5000 | |
| Link | mount | 418 | 403 | 5000 | |
| MenuButton | mount | 1272 | 1296 | 5000 | |
| MessageBar | mount | 1852 | 1833 | 5000 | |
| Nav | mount | 2865 | 2864 | 1000 | |
| OverflowSet | mount | 960 | 949 | 5000 | |
| Panel | mount | 1901 | 1912 | 1000 | |
| Persona | mount | 875 | 877 | 1000 | |
| Pivot | mount | 1247 | 1240 | 1000 | |
| PrimaryButton | mount | 1124 | 1128 | 5000 | |
| Rating | mount | 6674 | 6680 | 5000 | |
| SearchBox | mount | 1153 | 1117 | 5000 | |
| Shimmer | mount | 2135 | 2162 | 5000 | |
| Slider | mount | 1656 | 1681 | 5000 | |
| SpinButton | mount | 4386 | 4372 | 5000 | |
| Spinner | mount | 374 | 365 | 5000 | |
| SplitButton | mount | 2790 | 2761 | 5000 | |
| Stack | mount | 448 | 443 | 5000 | |
| StackWithIntrinsicChildren | mount | 2014 | 1998 | 5000 | |
| StackWithTextChildren | mount | 4545 | 4517 | 5000 | |
| SwatchColorPicker | mount | 10057 | 10060 | 5000 | |
| TagPicker | mount | 2345 | 2323 | 5000 | |
| TeachingBubble | mount | 80567 | 80675 | 5000 | |
| Text | mount | 368 | 358 | 5000 | |
| TextField | mount | 1222 | 1208 | 5000 | |
| ThemeProvider | mount | 1030 | 1038 | 5000 | |
| ThemeProvider | virtual-rerender | 588 | 578 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 1532 | 1538 | 5000 | |
| Toggle | mount | 695 | 694 | 5000 | |
| buttonNative | mount | 117 | 122 | 5000 |
Co-authored-by: ling1726 <lingfangao@hotmail.com>
Not sure if that;s true as this PR doesn't contain removal of those from |
| echo "SHELLOPTS $SHELLOPTS" ;\ | ||
|
|
||
| - name: yarn | ||
| run: ./yarn-ci.sh |
There was a problem hiding this comment.
can we install dependencies only once ? with this workflows it will happen 3x2=6 times. not sure if it will be cached, if yes disregard.
There was a problem hiding this comment.
Each job is run by a different runner so that the jobs within the same workflow can run in parallel, so dependencies in this case (where jobs do not depend on each other) cannot share dependencies between them.
There was a problem hiding this comment.
gotcha.
additional question: can't we have a job as pre-requirement for all this parallel ones that would install those deps ?
There was a problem hiding this comment.
There are composite actions [1] that allow re-using the same steps for multiple jobs, they would still need to be used as a step in each job and may require some additional approvals since a composite action is not part of the approved actions from the GitHub marketplace as far as I understand.
[1] https://github.blog/changelog/2021-08-25-github-actions-reduce-duplication-with-action-composition/
…ft/fluentui into screenerChecksTransition
That's correct, the jobs removal will be done in a follow-up PR when the workflows will be enabled as well |
let's remove it from PR description then to not confuse folks. ty |
Current Behavior
Screener checks are run automatically through an Azure pipeline when a new PR is opened.
Azure pipelines does not allow manual triggering of pipelines so the screener checks are run even though it may not be the case for them to be run for one specific PR.
More resources are used without the ability run manually trigger screener checks, which are both expensive and time-consuming.
New Behavior
There are two workflows that contribute to running the screener checks:
screener-build.yaml=> exports environment variables and storybooks as artifacts for the second workflow;screener-run.yaml=> uses the artifacts uploaded by the former workflow to upload the screener tests to the Azure blob storage and perform the actual tests.In order to download the up-to-date artifacts, the
screener-run.yamlis triggered by the completion of thescreener-build.yaml, and thescreener-build.yamlwill be triggered by theworkflow_dispatchevent, which allows the workflow to be triggered manually either by using the GitHub UI:or by using the GitHub REST API.[1]
[1] https://docs.github.com/en/rest/actions/workflows#create-a-workflow-dispatch-event
Note: environment variables export is a temporary solution
Related Issue(s)
Addresses #23903