ci: make lint task run without need of build#26872
Merged
Hotell merged 5 commits intomicrosoft:masterfrom Feb 24, 2023
Merged
Conversation
Hotell
commented
Feb 16, 2023
Hotell
commented
Feb 16, 2023
Hotell
commented
Feb 16, 2023
Hotell
commented
Feb 16, 2023
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: d858041352851ffdeb5ac8d51e18cd44b46414ab (build) |
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1641 | 1633 | 5000 | |
| Button | mount | 1124 | 1120 | 5000 | |
| Field | mount | 2519 | 2592 | 5000 | |
| FluentProvider | mount | 1998 | 2015 | 5000 | |
| FluentProviderWithTheme | mount | 685 | 714 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 659 | 667 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 723 | 712 | 10 | |
| InfoButton | mount | 631 | 644 | 5000 | |
| MakeStyles | mount | 2260 | 2290 | 50000 | |
| Persona | mount | 3855 | 3823 | 5000 | |
| SpinButton | mount | 3124 | 3013 | 5000 |
|
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 177dcdd:
|
Collaborator
📊 Bundle size reportUnchanged fixtures
|
Collaborator
Perf Analysis (
|
Collaborator
🕵 fluentuiv9 No visual regressions between this PR and main |
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 1067 | 1139 | 5000 | |
| Breadcrumb | mount | 2697 | 2926 | 1000 | |
| Checkbox | mount | 2553 | 2471 | 5000 | |
| CheckboxBase | mount | 2362 | 2236 | 5000 | |
| ChoiceGroup | mount | 4196 | 4316 | 5000 | |
| ComboBox | mount | 1245 | 1260 | 1000 | |
| CommandBar | mount | 9012 | 9023 | 1000 | |
| ContextualMenu | mount | 13055 | 13786 | 1000 | |
| DefaultButton | mount | 1305 | 1364 | 5000 | |
| DetailsRow | mount | 3362 | 3125 | 5000 | |
| DetailsRowFast | mount | 3516 | 3210 | 5000 | |
| DetailsRowNoStyles | mount | 3000 | 3327 | 5000 | |
| Dialog | mount | 3034 | 3050 | 1000 | |
| DocumentCardTitle | mount | 585 | 564 | 1000 | |
| Dropdown | mount | 3120 | 3213 | 5000 | |
| FocusTrapZone | mount | 1995 | 1979 | 5000 | |
| FocusZone | mount | 1883 | 1854 | 5000 | |
| GroupedList | mount | 50872 | 55861 | 2 | |
| GroupedList | virtual-rerender | 23690 | 24125 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 89036 | 89793 | 2 | |
| GroupedListV2 | mount | 541 | 544 | 2 | |
| GroupedListV2 | virtual-rerender | 490 | 512 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 574 | 564 | 2 | |
| IconButton | mount | 1827 | 1803 | 5000 | |
| Label | mount | 736 | 691 | 5000 | |
| Layer | mount | 4155 | 4177 | 5000 | |
| Link | mount | 842 | 756 | 5000 | |
| MenuButton | mount | 1634 | 1663 | 5000 | |
| MessageBar | mount | 2317 | 2296 | 5000 | |
| Nav | mount | 3264 | 3136 | 1000 | |
| OverflowSet | mount | 1359 | 1290 | 5000 | |
| Panel | mount | 2492 | 2455 | 1000 | |
| Persona | mount | 1306 | 1253 | 1000 | |
| Pivot | mount | 1649 | 1707 | 1000 | |
| PrimaryButton | mount | 1492 | 1519 | 5000 | |
| Rating | mount | 6874 | 6576 | 5000 | |
| SearchBox | mount | 1513 | 1532 | 5000 | |
| Shimmer | mount | 2820 | 2859 | 5000 | |
| Slider | mount | 2105 | 2166 | 5000 | |
| SpinButton | mount | 4461 | 4452 | 5000 | |
| Spinner | mount | 800 | 818 | 5000 | |
| SplitButton | mount | 2909 | 3006 | 5000 | |
| Stack | mount | 829 | 802 | 5000 | |
| StackWithIntrinsicChildren | mount | 2291 | 2094 | 5000 | |
| StackWithTextChildren | mount | 4759 | 4677 | 5000 | |
| SwatchColorPicker | mount | 10222 | 10187 | 5000 | |
| TagPicker | mount | 2551 | 2476 | 5000 | |
| TeachingBubble | mount | 81279 | 80823 | 5000 | |
| Text | mount | 744 | 777 | 5000 | |
| TextField | mount | 1579 | 1663 | 5000 | |
| ThemeProvider | mount | 1451 | 1448 | 5000 | |
| ThemeProvider | virtual-rerender | 1048 | 1105 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 2108 | 2108 | 5000 | |
| Toggle | mount | 1046 | 1103 | 5000 | |
| buttonNative | mount | 508 | 552 | 5000 |
3526007 to
d4036cf
Compare
Hotell
commented
Feb 17, 2023
Hotell
commented
Feb 17, 2023
Hotell
commented
Feb 17, 2023
3934146 to
7d2c26a
Compare
fabricteam
reviewed
Feb 17, 2023
Collaborator
🕵 FluentUI-v0 No visual regressions between this PR and main |
layershifter
approved these changes
Feb 20, 2023
ling1726
reviewed
Feb 20, 2023
ling1726
reviewed
Feb 20, 2023
ling1726
approved these changes
Feb 20, 2023
khmakoto
approved these changes
Feb 22, 2023
Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
e0ec596 to
177dcdd
Compare
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Feb 24, 2023
* master: (93 commits) chore: migrate to jest 27 (microsoft#26835) chore: make lint task run without need of build (microsoft#26872) chore(react-table): exports UseTableSelectionOptions (microsoft#26892) applying package updates fix(react-card): allow elements to grow to fill the available space (microsoft#26616) fix: Popover without focus trap should not be aria-hidden (microsoft#26932) applying package updates applying package updates fix(react-combobox): Remove _getAriaActiveDescendantValue, compute aria-activedescendantvalue in state, and update currentPendingValue when the options change (microsoft#26574) fix: v8 Combobox role and accname for non-hidden icon button (microsoft#26905) fix: Removing possible recursive loop in Coachmark (microsoft#26934) Combobox: Fix cursor jumping to the end of input (microsoft#26931) Fix missing icons on website (microsoft#26797) fix: Fix the width of Input's focus border with appearance=underline (microsoft#26881) chore: Clean up Input's interactive styles (microsoft#26865) Remove codeowners from change files (microsoft#26935) chore: add splitbutton error warning to docs, remove button ariaDescription example (microsoft#26904) docs: Remove testing code from MenuList example (microsoft#26929) chore: refactor SpinButton to use makeResetStyles (microsoft#26867) feat: Set overflow on positioned element when `autosize` is applied (microsoft#26868) ...
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Mar 15, 2023
…r-component * feat/drawer-base-component: (141 commits) remove DrawerContainer feat: WIP add initial draft for Drawer and DrawerContainer chore: migrate to jest 27 (microsoft#26835) chore: make lint task run without need of build (microsoft#26872) chore(react-table): exports UseTableSelectionOptions (microsoft#26892) applying package updates fix(react-card): allow elements to grow to fill the available space (microsoft#26616) fix: Popover without focus trap should not be aria-hidden (microsoft#26932) applying package updates applying package updates fix(react-combobox): Remove _getAriaActiveDescendantValue, compute aria-activedescendantvalue in state, and update currentPendingValue when the options change (microsoft#26574) fix: v8 Combobox role and accname for non-hidden icon button (microsoft#26905) fix: Removing possible recursive loop in Coachmark (microsoft#26934) Combobox: Fix cursor jumping to the end of input (microsoft#26931) Fix missing icons on website (microsoft#26797) fix: Fix the width of Input's focus border with appearance=underline (microsoft#26881) chore: Clean up Input's interactive styles (microsoft#26865) Remove codeowners from change files (microsoft#26935) chore: add splitbutton error warning to docs, remove button ariaDescription example (microsoft#26904) docs: Remove testing code from MenuList example (microsoft#26929) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previous Behavior
task graph:
flowchart LR classDef someclass fill:#f96 S((start)) E((X)) L[lint] TC[type-check] B[^build] BU[bundle] BS[bundle-size] T[test] E2E(e2e test) S --> B S --> E2E --> E B --> BU --> E B --> BS --> E B --> T --> E B --> TC --> E B:::someclass --> L:::someclass --> Edetails:
To be able to run
linttask all dependencies needs tobuild. This slows down/mitigates task parallelization on CI and slows it down.This "approach" is used for 2 reasons:
lint-importsscript that is ran as part oflinttask needs to have physically presentjsbuild assets, although necessary for small scope of the repo which is v8 docsite and exampleslintit is required duringjust-scriptscall.New Behavior
task graph:
flowchart LR classDef someclass fill:#f96 S((start)) E((X)) L[lint] TC[type-check] B[^build] BU[bundle] BS[bundle-size] T[test] E2E(e2e test) S --> B S --> E2E --> E S --> L:::someclass --> E B --> BU --> E B --> BS --> E B --> T --> E B --> TC --> Edetails:
linttask runs without any pre-requirement tasks, which enables better parallelization and pipeline speedslint-importshas been refactored to execute as part ofbuildtask with proper project scope:lint-importswill be invoked as previouslylint-importswont be executedlint-importswill be executed only to check AMD violationslint-importswill be executed only to check AMD violationsRelated Issue(s)