Skip to content

Add field to proxy request body#24564

Merged
ralucapelin merged 1 commit into
masterfrom
send-artifact-info-to-proxy
Aug 29, 2022
Merged

Add field to proxy request body#24564
ralucapelin merged 1 commit into
masterfrom
send-artifact-info-to-proxy

Conversation

@ralucapelin

Copy link
Copy Markdown
Contributor

Current Behavior

In order to check if a screener test should be skipped or not, the proxy sends a GET request to the blob storage address where test apps should be deployed and checks whether the response is 200(test app deployed) or 404(test app not deployed). However, test apps from previous build will still be accessible from the same address for builds that have not uploaded test apps so the response would still be 200 instead of 404.

New Behavior

The proxy receives, besides the payload used for calling the screener API, the status of the test app artifact through another field of the request body: isArtifactPresent, so that the proxy can instantly decide if a screener check should be skipped or not without the need for any additional requests.

Addresses #24466

@codesandbox-ci

Copy link
Copy Markdown

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

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

@size-auditor

size-auditor Bot commented Aug 29, 2022

Copy link
Copy Markdown

Asset size changes

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

Baseline commit: 50ccc512c2c0010b9f330f7cf200427f8fe1317d (build)

@fabricteam

Copy link
Copy Markdown
Collaborator

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1573 1570 5000
Button mount 1138 1115 5000
FluentProvider mount 1931 1890 5000
FluentProviderWithTheme mount 773 747 10
FluentProviderWithTheme virtual-rerender 695 696 10
FluentProviderWithTheme virtual-rerender-with-unmount 759 751 10
MakeStyles mount 2292 2279 50000
SpinButton mount 3014 3018 5000

@fabricteam

Copy link
Copy Markdown
Collaborator

Perf Analysis (@fluentui/react-northstar)

Perf tests with no regressions
Scenario Current PR Ticks Baseline Ticks Ratio
AttachmentMinimalPerf.default 130 102 1.27:1
TreeWith60ListItems.default 139 119 1.17:1
LayoutMinimalPerf.default 296 256 1.16:1
ProviderMinimalPerf.default 340 296 1.15:1
CarouselMinimalPerf.default 394 346 1.14:1
RefMinimalPerf.default 176 156 1.13:1
HeaderMinimalPerf.default 279 249 1.12:1
ListCommonPerf.default 520 466 1.12:1
PopupMinimalPerf.default 510 463 1.1:1
RadioGroupMinimalPerf.default 355 323 1.1:1
ButtonMinimalPerf.default 131 120 1.09:1
PortalMinimalPerf.default 149 137 1.09:1
ButtonOverridesMissPerf.default 1200 1110 1.08:1
MenuMinimalPerf.default 672 624 1.08:1
AccordionMinimalPerf.default 108 101 1.07:1
LoaderMinimalPerf.default 539 502 1.07:1
MenuButtonMinimalPerf.default 1396 1299 1.07:1
IconMinimalPerf.default 488 455 1.07:1
ChatDuplicateMessagesPerf.default 226 213 1.06:1
DatepickerMinimalPerf.default 4662 4402 1.06:1
DropdownManyItemsPerf.default 537 509 1.06:1
DialogMinimalPerf.default 588 568 1.04:1
DividerMinimalPerf.default 266 256 1.04:1
RosterPerf.default 1630 1570 1.04:1
CustomToolbarPrototype.default 2289 2206 1.04:1
ImageMinimalPerf.default 279 272 1.03:1
StatusMinimalPerf.default 543 525 1.03:1
InputMinimalPerf.default 971 951 1.02:1
SplitButtonMinimalPerf.default 3322 3250 1.02:1
TableMinimalPerf.default 299 293 1.02:1
ToolbarMinimalPerf.default 694 678 1.02:1
ChatMinimalPerf.default 534 529 1.01:1
FormMinimalPerf.default 269 266 1.01:1
ItemLayoutMinimalPerf.default 887 878 1.01:1
ReactionMinimalPerf.default 306 304 1.01:1
TableManyItemsPerf.default 1384 1371 1.01:1
CheckboxMinimalPerf.default 1976 1971 1:1
FlexMinimalPerf.default 210 210 1:1
ListNestedPerf.default 411 411 1:1
SegmentMinimalPerf.default 253 253 1:1
SkeletonMinimalPerf.default 249 249 1:1
TextMinimalPerf.default 250 250 1:1
TooltipMinimalPerf.default 1758 1751 1:1
TreeMinimalPerf.default 592 593 1:1
VideoMinimalPerf.default 537 536 1:1
AlertMinimalPerf.default 188 190 0.99:1
ButtonSlotsPerf.default 410 414 0.99:1
CardMinimalPerf.default 382 384 0.99:1
DropdownMinimalPerf.default 2428 2457 0.99:1
ListMinimalPerf.default 373 377 0.99:1
SliderMinimalPerf.default 1256 1265 0.99:1
AttachmentSlotsPerf.default 805 821 0.98:1
ChatWithPopoverPerf.default 284 290 0.98:1
EmbedMinimalPerf.default 3074 3126 0.98:1
ListWith60ListItems.default 443 453 0.98:1
HeaderSlotsPerf.default 583 621 0.94:1
LabelMinimalPerf.default 295 316 0.93:1
ProviderMergeThemesPerf.default 960 1051 0.91:1
TextAreaMinimalPerf.default 343 378 0.91:1
AnimationMinimalPerf.default 397 439 0.9:1
AvatarMinimalPerf.default 138 155 0.89:1
BoxMinimalPerf.default 244 274 0.89:1
GridMinimalPerf.default 240 273 0.88:1

@fabricteam

Copy link
Copy Markdown
Collaborator

📊 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)
79.349 kB
24.053 kB
react-alert
Alert
83.79 kB
20.841 kB
react-avatar
Avatar
48.283 kB
13.644 kB
react-avatar
AvatarGroup
14.85 kB
5.942 kB
react-avatar
AvatarGroupItem
68.251 kB
18.987 kB
react-badge
Badge
22.503 kB
7.153 kB
react-badge
CounterBadge
23.406 kB
7.449 kB
react-badge
PresenceBadge
23.947 kB
7.022 kB
react-button
Button
36.396 kB
9.579 kB
react-button
CompoundButton
43.469 kB
10.812 kB
react-button
MenuButton
39.014 kB
10.456 kB
react-button
SplitButton
46.544 kB
11.84 kB
react-button
ToggleButton
51.91 kB
11.003 kB
react-card
Card - All
67.458 kB
19.264 kB
react-card
Card
63.14 kB
18.176 kB
react-card
CardFooter
8.461 kB
3.555 kB
react-card
CardHeader
9.504 kB
3.896 kB
react-card
CardPreview
8.562 kB
3.61 kB
react-combobox
Combobox (including child components)
72.549 kB
23.686 kB
react-combobox
Dropdown (including child components)
71.741 kB
23.559 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
188.818 kB
51.901 kB
react-components
react-components: FluentProvider & webLightTheme
33.19 kB
10.921 kB
react-dialog
Dialog (including children components)
85.361 kB
25.458 kB
react-divider
Divider
16.359 kB
5.853 kB
react-image
Image
10.68 kB
4.215 kB
react-input
Input
23.498 kB
7.617 kB
react-label
Label
9.238 kB
3.815 kB
react-link
Link
12.231 kB
4.925 kB
react-menu
Menu (including children components)
115.697 kB
35.316 kB
react-menu
Menu (including selectable components)
118.896 kB
35.806 kB
react-overflow
hooks only
10.685 kB
4.104 kB
react-popover
Popover
102.837 kB
31.496 kB
react-portal
Portal
10.576 kB
3.875 kB
react-positioning
usePositioning
19.7 kB
7.404 kB
react-provider
FluentProvider
15.655 kB
5.835 kB
react-radio
Radio
36.025 kB
11.914 kB
react-radio
RadioGroup
14.148 kB
5.654 kB
react-select
Select
20.746 kB
7.299 kB
react-slider
Slider
32.07 kB
10.033 kB
react-spinbutton
SpinButton
43.843 kB
12.336 kB
react-spinner
Spinner
19.855 kB
6.384 kB
react-switch
Switch
32.562 kB
10.253 kB
react-text
Text - Default
11.682 kB
4.561 kB
react-text
Text - Wrappers
14.992 kB
4.995 kB
react-textarea
Textarea
23.674 kB
7.83 kB
react-theme
Single theme token import
69 B
89 B
react-theme
Teams: all themes
29.479 kB
6.396 kB
react-theme
Teams: Light theme
17.385 kB
5.024 kB
react-tooltip
Tooltip
41.504 kB
14.622 kB
react-utilities
SSRProvider
180 B
159 B
🤖 This report was generated against 50ccc512c2c0010b9f330f7cf200427f8fe1317d

@fabricteam

Copy link
Copy Markdown
Collaborator

Perf Analysis (@fluentui/react)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
BaseButton mount 889 885 5000
Breadcrumb mount 2983 2855 1000
Checkbox mount 2622 2589 5000
CheckboxBase mount 2317 2334 5000
ChoiceGroup mount 4684 4734 5000
ComboBox mount 981 973 1000
CommandBar mount 10780 10765 1000
ContextualMenu mount 12373 12424 1000
DefaultButton mount 1149 1158 5000
DetailsRow mount 3859 3838 5000
DetailsRowFast mount 3958 3965 5000
DetailsRowNoStyles mount 3781 3679 5000
Dialog mount 3150 3125 1000
DocumentCardTitle mount 176 185 1000
Dropdown mount 3394 3447 5000
FocusTrapZone mount 1910 1986 5000
FocusZone mount 1822 1882 5000
IconButton mount 1833 1752 5000
Label mount 354 354 5000
Layer mount 4663 4584 5000
Link mount 477 485 5000
MenuButton mount 1520 1515 5000
MessageBar mount 2279 2168 5000
Nav mount 3400 3434 1000
OverflowSet mount 1103 1171 5000
Panel mount 2541 2561 1000
Persona mount 1010 1009 1000
Pivot mount 1443 1450 1000
PrimaryButton mount 1306 1344 5000
Rating mount 7877 7784 5000
SearchBox mount 1304 1308 5000
Shimmer mount 2916 2877 5000
Slider mount 1951 1988 5000
SpinButton mount 5079 5084 5000
Spinner mount 434 432 5000
SplitButton mount 3241 3217 5000
Stack mount 506 490 5000
StackWithIntrinsicChildren mount 2348 2275 5000
StackWithTextChildren mount 5263 5234 5000
SwatchColorPicker mount 11929 11909 5000
TagPicker mount 2677 2650 5000
TeachingBubble mount 96489 96836 5000
Text mount 436 417 5000
TextField mount 1384 1401 5000
ThemeProvider mount 1323 1335 5000
ThemeProvider virtual-rerender 776 792 5000
ThemeProvider virtual-rerender-with-unmount 2064 2078 5000
Toggle mount 818 827 5000
buttonNative mount 133 132 5000

@ralucapelin
ralucapelin marked this pull request as ready for review August 29, 2022 12:04
@ralucapelin
ralucapelin requested a review from a team as a code owner August 29, 2022 12:04
Comment thread scripts/screener/screener.runner.ts
Comment thread scripts/screener/screener.runner.ts
Comment thread scripts/screener/screener.runner.ts
@ralucapelin
ralucapelin merged commit 137c32d into master Aug 29, 2022
@ralucapelin
ralucapelin deleted the send-artifact-info-to-proxy branch August 29, 2022 12:36
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.

6 participants