-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Fix artifact downloading race condition #24607
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
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 9238a65:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: d1e8f0764fb477271da45f0dd1f4c1b3beb06699 (build) |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1320 | 1303 | 5000 | |
| Button | mount | 941 | 954 | 5000 | |
| FluentProvider | mount | 1568 | 1586 | 5000 | |
| FluentProviderWithTheme | mount | 632 | 634 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 592 | 595 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 636 | 639 | 10 | |
| MakeStyles | mount | 1889 | 1903 | 50000 | |
| SpinButton | mount | 2513 | 2529 | 5000 |
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| AvatarMinimalPerf.default | 163 | 150 | 1.09:1 |
| CarouselMinimalPerf.default | 390 | 359 | 1.09:1 |
| TextMinimalPerf.default | 281 | 266 | 1.06:1 |
| AlertMinimalPerf.default | 220 | 210 | 1.05:1 |
| LayoutMinimalPerf.default | 292 | 277 | 1.05:1 |
| AttachmentSlotsPerf.default | 925 | 890 | 1.04:1 |
| CardMinimalPerf.default | 448 | 430 | 1.04:1 |
| LabelMinimalPerf.default | 318 | 307 | 1.04:1 |
| RefMinimalPerf.default | 189 | 181 | 1.04:1 |
| AccordionMinimalPerf.default | 122 | 119 | 1.03:1 |
| DropdownManyItemsPerf.default | 564 | 548 | 1.03:1 |
| GridMinimalPerf.default | 275 | 268 | 1.03:1 |
| HeaderMinimalPerf.default | 300 | 290 | 1.03:1 |
| AttachmentMinimalPerf.default | 124 | 121 | 1.02:1 |
| ChatMinimalPerf.default | 602 | 592 | 1.02:1 |
| ListWith60ListItems.default | 516 | 507 | 1.02:1 |
| RosterPerf.default | 1784 | 1757 | 1.02:1 |
| ProviderMinimalPerf.default | 335 | 330 | 1.02:1 |
| ReactionMinimalPerf.default | 308 | 301 | 1.02:1 |
| TableMinimalPerf.default | 330 | 325 | 1.02:1 |
| TextAreaMinimalPerf.default | 397 | 390 | 1.02:1 |
| TreeMinimalPerf.default | 663 | 653 | 1.02:1 |
| AnimationMinimalPerf.default | 447 | 442 | 1.01:1 |
| ButtonMinimalPerf.default | 131 | 130 | 1.01:1 |
| ButtonOverridesMissPerf.default | 1246 | 1238 | 1.01:1 |
| DatepickerMinimalPerf.default | 4790 | 4749 | 1.01:1 |
| DialogMinimalPerf.default | 642 | 635 | 1.01:1 |
| ItemLayoutMinimalPerf.default | 977 | 966 | 1.01:1 |
| LoaderMinimalPerf.default | 571 | 568 | 1.01:1 |
| MenuMinimalPerf.default | 694 | 688 | 1.01:1 |
| MenuButtonMinimalPerf.default | 1410 | 1398 | 1.01:1 |
| SplitButtonMinimalPerf.default | 3667 | 3619 | 1.01:1 |
| IconMinimalPerf.default | 557 | 551 | 1.01:1 |
| ToolbarMinimalPerf.default | 769 | 760 | 1.01:1 |
| BoxMinimalPerf.default | 264 | 263 | 1:1 |
| ButtonSlotsPerf.default | 463 | 461 | 1:1 |
| CheckboxMinimalPerf.default | 2226 | 2231 | 1:1 |
| DropdownMinimalPerf.default | 2616 | 2605 | 1:1 |
| EmbedMinimalPerf.default | 3426 | 3420 | 1:1 |
| InputMinimalPerf.default | 1073 | 1078 | 1:1 |
| PopupMinimalPerf.default | 524 | 524 | 1:1 |
| SkeletonMinimalPerf.default | 279 | 278 | 1:1 |
| SliderMinimalPerf.default | 1392 | 1386 | 1:1 |
| TableManyItemsPerf.default | 1564 | 1561 | 1:1 |
| TooltipMinimalPerf.default | 1949 | 1944 | 1:1 |
| DividerMinimalPerf.default | 282 | 286 | 0.99:1 |
| FormMinimalPerf.default | 302 | 305 | 0.99:1 |
| ListMinimalPerf.default | 418 | 421 | 0.99:1 |
| ListNestedPerf.default | 438 | 441 | 0.99:1 |
| PortalMinimalPerf.default | 141 | 143 | 0.99:1 |
| ProviderMergeThemesPerf.default | 1049 | 1055 | 0.99:1 |
| CustomToolbarPrototype.default | 2391 | 2406 | 0.99:1 |
| TreeWith60ListItems.default | 129 | 130 | 0.99:1 |
| ChatWithPopoverPerf.default | 310 | 315 | 0.98:1 |
| HeaderSlotsPerf.default | 606 | 620 | 0.98:1 |
| RadioGroupMinimalPerf.default | 353 | 361 | 0.98:1 |
| SegmentMinimalPerf.default | 277 | 282 | 0.98:1 |
| VideoMinimalPerf.default | 595 | 606 | 0.98:1 |
| FlexMinimalPerf.default | 225 | 233 | 0.97:1 |
| ImageMinimalPerf.default | 305 | 313 | 0.97:1 |
| ListCommonPerf.default | 505 | 520 | 0.97:1 |
| StatusMinimalPerf.default | 532 | 553 | 0.96:1 |
| ChatDuplicateMessagesPerf.default | 228 | 239 | 0.95:1 |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 749 | 755 | 5000 | |
| Breadcrumb | mount | 2437 | 2445 | 1000 | |
| Checkbox | mount | 2234 | 2205 | 5000 | |
| CheckboxBase | mount | 1920 | 1976 | 5000 | |
| ChoiceGroup | mount | 3947 | 3986 | 5000 | |
| ComboBox | mount | 820 | 841 | 1000 | |
| CommandBar | mount | 9053 | 9038 | 1000 | |
| ContextualMenu | mount | 10409 | 10564 | 1000 | |
| DefaultButton | mount | 965 | 973 | 5000 | |
| DetailsRow | mount | 3267 | 3176 | 5000 | |
| DetailsRowFast | mount | 3255 | 3229 | 5000 | |
| DetailsRowNoStyles | mount | 3113 | 3075 | 5000 | |
| Dialog | mount | 2617 | 2660 | 1000 | |
| DocumentCardTitle | mount | 144 | 149 | 1000 | |
| Dropdown | mount | 2838 | 2806 | 5000 | |
| FocusTrapZone | mount | 1587 | 1618 | 5000 | |
| FocusZone | mount | 1550 | 1511 | 5000 | |
| IconButton | mount | 1491 | 1500 | 5000 | |
| Label | mount | 302 | 312 | 5000 | |
| Layer | mount | 3822 | 3855 | 5000 | |
| Link | mount | 397 | 402 | 5000 | |
| MenuButton | mount | 1229 | 1236 | 5000 | |
| MessageBar | mount | 1813 | 1830 | 5000 | |
| Nav | mount | 2856 | 2853 | 1000 | |
| OverflowSet | mount | 927 | 942 | 5000 | |
| Panel | mount | 2116 | 2110 | 1000 | |
| Persona | mount | 851 | 813 | 1000 | |
| Pivot | mount | 1218 | 1232 | 1000 | |
| PrimaryButton | mount | 1107 | 1098 | 5000 | |
| Rating | mount | 6590 | 6509 | 5000 | |
| SearchBox | mount | 1075 | 1082 | 5000 | |
| Shimmer | mount | 2390 | 2450 | 5000 | |
| Slider | mount | 1668 | 1632 | 5000 | |
| SpinButton | mount | 4264 | 4241 | 5000 | |
| Spinner | mount | 384 | 371 | 5000 | |
| SplitButton | mount | 2649 | 2688 | 5000 | |
| Stack | mount | 429 | 427 | 5000 | |
| StackWithIntrinsicChildren | mount | 1953 | 1977 | 5000 | |
| StackWithTextChildren | mount | 4408 | 4393 | 5000 | |
| SwatchColorPicker | mount | 10088 | 10148 | 5000 | |
| TagPicker | mount | 2273 | 2226 | 5000 | |
| TeachingBubble | mount | 84938 | 84092 | 5000 | |
| Text | mount | 359 | 360 | 5000 | |
| TextField | mount | 1183 | 1172 | 5000 | |
| ThemeProvider | mount | 1102 | 1102 | 5000 | |
| ThemeProvider | virtual-rerender | 643 | 652 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 1726 | 1741 | 5000 | |
| Toggle | mount | 677 | 699 | 5000 | |
| buttonNative | mount | 108 | 108 | 5000 |
| uses: dawidd6/action-download-artifact@v2 | ||
| with: | ||
| workflow: screener-build.yml | ||
| workflow_conclusion: success |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q: why workflow_conclusion is removed?
A: Do not specify pr, commit, branch, run_id together or workflow_conclusion and run_id together. Pick just one of each or none. https://github.com/dawidd6/action-download-artifact#usage
* master: (99 commits) applying package updates add coastal to @fluentui/react package and components (microsoft#24599) fix(react-18-tests-v9): extend correct tsconfig.json (microsoft#24626) feat(react-18-tests-v9): Add cypress setup to enable writing cypress tests (microsoft#24619) chore: Removing CompoundButtonAsToggleButton story since it was importing non-exported functions (microsoft#24620) Update PeoplePicker focus styles for the close button - Add borderRadius to getFocusStyle (microsoft#24596) fix(react-theme): Rename colorNeutralForegroundInvertedStatic token to colorNeutralForegroundStaticInverted (microsoft#24611) Website fabric core (microsoft#24613) fix(react-theme) update react theme colors mapping (microsoft#24608) Remove downloaded artifact file after using it (microsoft#24606) Fix artifact downloading race condition (microsoft#24607) chore(deps): bump moment-timezone from 0.5.34 to 0.5.37 (microsoft#24604) Remove check for commit existence and make it optional (microsoft#24587) Update "screener-build.yml" to include lage's output (microsoft#24586) fix(react-theme): Change colorBrandForeground2 mapping in teamsDark theme (microsoft#24579) Add scoping for workflow (microsoft#24466) fix(react-theme): Swap Background1 and Foreground1 in HC color palette (microsoft#24498) applying package updates Add support for javascript date localization (microsoft#24577) fix: Combobox and Dropdown hover/active borders and padding style fixes (microsoft#24362) ...
Current Behavior
If multiple PRs are pushed at the same time,
screener-run.ymlfor all of them is likely to download the last artifact that was uploaded, the other ones being ignored. This race condition may cause build failures for the involved PRs.New Behavior
The action used to download artifacts uses the run ID of the
screener-build.ymlworkflow in order to download the artifact associated with the current build.