Skip to content
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

Skip screener checks for draft PRs with exception of appropriately labeled PRs #24694

Merged
merged 7 commits into from
Sep 8, 2022

Conversation

ralucapelin
Copy link
Contributor

@ralucapelin ralucapelin commented Sep 7, 2022

Current Behavior

Screener checks are performed for each PR created.

New Behavior

Screener checks are skipped by default for draft PRs but can be run if the PR has the label 'Ready for VR'.

Related Issue(s)

Addresses #23903

@ralucapelin ralucapelin added Area: Build System Ready for VR Used to trigger screener checks for PRs labels Sep 7, 2022
@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 7, 2022

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 7860774:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@size-auditor
Copy link

size-auditor bot commented Sep 7, 2022

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: e4d50f2c501c4a8be23b24373242f650a601fdaf (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 7, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1296 1305 5000
Button mount 964 958 5000
FluentProvider mount 1580 1596 5000
FluentProviderWithTheme mount 560 623 10
FluentProviderWithTheme virtual-rerender 524 584 10
FluentProviderWithTheme virtual-rerender-with-unmount 638 586 10
MakeStyles mount 1912 1760 50000
SpinButton mount 2510 2564 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 7, 2022

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
global-context
createContext
533 B
341 B
global-context
createContextSelector
554 B
348 B
priority-overflow
createOverflowManager
2.936 kB
1.212 kB
react-accordion
Accordion (including children components)
78.914 kB
24.06 kB
react-alert
Alert
83.228 kB
20.889 kB
react-avatar
Avatar
48.381 kB
13.696 kB
react-avatar
AvatarGroup
14.95 kB
5.989 kB
react-avatar
AvatarGroupItem
68.349 kB
19.039 kB
react-badge
Badge
22.6 kB
7.205 kB
react-badge
CounterBadge
23.503 kB
7.497 kB
react-badge
PresenceBadge
24.05 kB
7.067 kB
react-button
Button
35.836 kB
9.59 kB
react-button
CompoundButton
42.862 kB
10.808 kB
react-button
MenuButton
38.454 kB
10.461 kB
react-button
SplitButton
45.87 kB
11.811 kB
react-button
ToggleButton
51.017 kB
11.007 kB
react-card
Card - All
67.002 kB
19.261 kB
react-card
Card
62.684 kB
18.177 kB
react-card
CardFooter
8.561 kB
3.601 kB
react-card
CardHeader
9.604 kB
3.94 kB
react-card
CardPreview
8.662 kB
3.656 kB
react-combobox
Combobox (including child components)
73.863 kB
24.018 kB
react-combobox
Dropdown (including child components)
73.45 kB
23.927 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
187.656 kB
51.96 kB
react-components
react-components: FluentProvider & webLightTheme
33.359 kB
11.004 kB
react-dialog
Dialog (including children components)
80.983 kB
24.186 kB
react-divider
Divider
16.459 kB
5.902 kB
react-image
Image
10.78 kB
4.264 kB
react-input
Input
23.598 kB
7.661 kB
react-label
Label
9.338 kB
3.86 kB
react-link
Link
12.254 kB
4.956 kB
react-menu
Menu (including children components)
115.735 kB
35.419 kB
react-menu
Menu (including selectable components)
118.934 kB
35.916 kB
react-overflow
hooks only
10.685 kB
4.104 kB
react-popover
Popover
102.938 kB
31.542 kB
react-portal
Portal
10.576 kB
3.875 kB
react-positioning
usePositioning
19.7 kB
7.404 kB
react-provider
FluentProvider
15.755 kB
5.883 kB
react-radio
Radio
35.56 kB
11.929 kB
react-radio
RadioGroup
14.248 kB
5.7 kB
react-select
Select
20.846 kB
7.346 kB
react-slider
Slider
31.526 kB
10.046 kB
react-spinbutton
SpinButton
43.943 kB
12.382 kB
react-spinner
Spinner
19.977 kB
6.438 kB
react-switch
Switch
32.097 kB
10.27 kB
react-text
Text - Default
11.782 kB
4.605 kB
react-text
Text - Wrappers
15.092 kB
5.044 kB
react-textarea
Textarea
23.774 kB
7.881 kB
react-theme
Single theme token import
69 B
89 B
react-theme
Teams: all themes
29.548 kB
6.434 kB
react-theme
Teams: Light theme
17.452 kB
5.054 kB
react-tooltip
Tooltip
41.502 kB
14.623 kB
react-utilities
SSRProvider
180 B
159 B
🤖 This report was generated against e4d50f2c501c4a8be23b24373242f650a601fdaf

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 7, 2022

Perf Analysis (@fluentui/react-northstar)

Perf tests with no regressions
Scenario Current PR Ticks Baseline Ticks Ratio
ListWith60ListItems.default 526 481 1.09:1
ChatDuplicateMessagesPerf.default 239 222 1.08:1
ChatWithPopoverPerf.default 299 281 1.06:1
ButtonSlotsPerf.default 437 420 1.04:1
LoaderMinimalPerf.default 526 505 1.04:1
ProviderMinimalPerf.default 324 311 1.04:1
DropdownManyItemsPerf.default 555 540 1.03:1
PopupMinimalPerf.default 567 551 1.03:1
ReactionMinimalPerf.default 339 328 1.03:1
SegmentMinimalPerf.default 311 301 1.03:1
SkeletonMinimalPerf.default 309 299 1.03:1
ToolbarMinimalPerf.default 811 786 1.03:1
BoxMinimalPerf.default 299 292 1.02:1
CarouselMinimalPerf.default 354 348 1.02:1
DividerMinimalPerf.default 315 310 1.02:1
FlexMinimalPerf.default 255 250 1.02:1
GridMinimalPerf.default 300 294 1.02:1
TreeWith60ListItems.default 132 129 1.02:1
AnimationMinimalPerf.default 475 469 1.01:1
AttachmentMinimalPerf.default 129 128 1.01:1
ButtonMinimalPerf.default 139 138 1.01:1
ButtonOverridesMissPerf.default 1013 1002 1.01:1
ChatMinimalPerf.default 633 628 1.01:1
CheckboxMinimalPerf.default 1545 1527 1.01:1
EmbedMinimalPerf.default 2645 2629 1.01:1
ImageMinimalPerf.default 346 343 1.01:1
LabelMinimalPerf.default 336 332 1.01:1
ListNestedPerf.default 472 467 1.01:1
MenuButtonMinimalPerf.default 1362 1347 1.01:1
PortalMinimalPerf.default 140 139 1.01:1
SplitButtonMinimalPerf.default 3300 3272 1.01:1
IconMinimalPerf.default 575 567 1.01:1
TableMinimalPerf.default 352 348 1.01:1
TextMinimalPerf.default 301 299 1.01:1
CustomToolbarPrototype.default 2180 2167 1.01:1
TooltipMinimalPerf.default 1890 1868 1.01:1
DropdownMinimalPerf.default 2163 2171 1:1
HeaderMinimalPerf.default 307 307 1:1
InputMinimalPerf.default 847 846 1:1
ItemLayoutMinimalPerf.default 973 974 1:1
ListMinimalPerf.default 455 455 1:1
MenuMinimalPerf.default 738 738 1:1
ProviderMergeThemesPerf.default 984 980 1:1
RadioGroupMinimalPerf.default 386 385 1:1
StatusMinimalPerf.default 603 605 1:1
VideoMinimalPerf.default 620 618 1:1
AccordionMinimalPerf.default 124 125 0.99:1
AlertMinimalPerf.default 220 223 0.99:1
AttachmentSlotsPerf.default 868 881 0.99:1
CardMinimalPerf.default 457 460 0.99:1
DatepickerMinimalPerf.default 4619 4645 0.99:1
LayoutMinimalPerf.default 314 317 0.99:1
RosterPerf.default 1701 1723 0.99:1
SliderMinimalPerf.default 1224 1238 0.99:1
TableManyItemsPerf.default 1566 1574 0.99:1
TreeMinimalPerf.default 693 698 0.99:1
AvatarMinimalPerf.default 162 166 0.98:1
DialogMinimalPerf.default 683 694 0.98:1
FormMinimalPerf.default 319 324 0.98:1
HeaderSlotsPerf.default 662 676 0.98:1
RefMinimalPerf.default 184 188 0.98:1
TextAreaMinimalPerf.default 400 407 0.98:1
ListCommonPerf.default 503 523 0.96:1

@ralucapelin ralucapelin marked this pull request as ready for review September 7, 2022 15:20
@ralucapelin ralucapelin requested a review from a team as a code owner September 7, 2022 15:20
@fabricteam
Copy link
Collaborator

fabricteam commented Sep 7, 2022

Perf Analysis (@fluentui/react)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
BaseButton mount 775 747 5000
Breadcrumb mount 2421 2434 1000
Checkbox mount 2220 2202 5000
CheckboxBase mount 1919 1933 5000
ChoiceGroup mount 3988 3912 5000
ComboBox mount 823 835 1000
CommandBar mount 9084 9111 1000
ContextualMenu mount 10262 10031 1000
DefaultButton mount 972 962 5000
DetailsRow mount 3269 3270 5000
DetailsRowFast mount 3233 3262 5000
DetailsRowNoStyles mount 3114 3074 5000
Dialog mount 2675 2665 1000
DocumentCardTitle mount 141 154 1000
Dropdown mount 2827 2847 5000
FocusTrapZone mount 1600 1607 5000
FocusZone mount 1542 1524 5000
IconButton mount 1488 1493 5000
Label mount 307 298 5000
Layer mount 3857 3825 5000
Link mount 407 400 5000
MenuButton mount 1226 1262 5000
MessageBar mount 1850 1832 5000
Nav mount 2858 2872 1000
OverflowSet mount 943 925 5000
Panel mount 2110 2133 1000
Persona mount 868 842 1000
Pivot mount 1223 1236 1000
PrimaryButton mount 1121 1099 5000
Rating mount 6577 6505 5000
SearchBox mount 1101 1090 5000
Shimmer mount 2372 2441 5000
Slider mount 1673 1640 5000
SpinButton mount 4255 4227 5000
Spinner mount 370 380 5000
SplitButton mount 2539 2699 5000
Stack mount 388 385 5000
StackWithIntrinsicChildren mount 1870 1834 5000
StackWithTextChildren mount 4406 4384 5000
SwatchColorPicker mount 10062 10031 5000
TagPicker mount 2227 2202 5000
TeachingBubble mount 83506 82206 5000
Text mount 370 367 5000
TextField mount 1183 1154 5000
ThemeProvider mount 1096 1090 5000
ThemeProvider virtual-rerender 660 650 5000
ThemeProvider virtual-rerender-with-unmount 1736 1739 5000
Toggle mount 682 678 5000
buttonNative mount 116 94 5000

@ralucapelin ralucapelin removed the Ready for VR Used to trigger screener checks for PRs label Sep 7, 2022
@ralucapelin ralucapelin marked this pull request as draft September 7, 2022 16:01
@ralucapelin ralucapelin marked this pull request as ready for review September 8, 2022 07:20
@ralucapelin ralucapelin merged commit c8362b3 into master Sep 8, 2022
@ralucapelin ralucapelin mentioned this pull request Sep 8, 2022
@ralucapelin ralucapelin deleted the skip-screener-for-drafts branch September 8, 2022 14:07
@khmakoto khmakoto changed the title Skip screener checks for draft PRs with exception of appropriately la… Skip screener checks for draft PRs with exception of appropriately labeled PRs Sep 8, 2022
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Sep 9, 2022
* master: (63 commits)
  feat: add helper types to assist DOM element handling (microsoft#24722)
  applying package updates
  Textarea/hc bug (microsoft#24701)
  Fix null ref in use slider (microsoft#24728)
  Add Field unit tests, and remove snapshot tests (microsoft#24706)
  Stress Test: add build commands (microsoft#24575)
  Coachmark - useOffsetHeight should cause re-render on each set state to match v7 functionality (microsoft#24702)
  Implement screener tests for Field components (microsoft#24684)
  Update Field types to clean up react-field.api.md (microsoft#24703)
  fix(Popup): remove rotate(360deg) from PopupContent content styles (microsoft#24432)
  fix(FocusZone): should reset tabindex when focus is outside the zone with prop `shouldResetActiveElementWhenTabFromZone` (microsoft#24463)
  Fix greyed out legend key contrast ratio (microsoft#24714)
  fix: Portal compat should apply `focus-visible` ponyfill (microsoft#24712)
  Fix artifact error (microsoft#24717)
  chore(react-dialog): remove localShorthands in favor of griffel shorthands (microsoft#24715)
  Skip screener checks for draft PRs with exception of appropriately la… (microsoft#24694)
  fix: Remove provider classname from focus styles (microsoft#24710)
  feat: autocontrolled `useTable` hook (microsoft#24688)
  feat: add dialog properties to getNativeElementProps (microsoft#24698)
  Using migrate rather than upgrade term (microsoft#24695)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants