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

Force a staging build/deploy #13712

Merged
merged 1 commit into from
Dec 19, 2022
Merged

Force a staging build/deploy #13712

merged 1 commit into from
Dec 19, 2022

Conversation

stitesExpensify
Copy link
Contributor

Details

This is just an innocuous change to trigger the staging build since we merged directly into the branch.

The actual change just removes a period to match the lines around it

Fixed Issues

https://expensify.slack.com/archives/C07J32337/p1671488790585939?thread_ts=1671488060.210619&cid=C07J32337

Tests

N/A

  • Verify that no errors appear in the JS console

Offline tests

QA Steps

Just make sure the build runs

  • Verify that no errors appear in the JS console

PR Author Checklist

  • I linked the correct issue in the ### Fixed Issues section above
  • I wrote clear testing steps that cover the changes made in this PR
    • I added steps for local testing in the Tests section
    • I added steps for the expected offline behavior in the Offline steps section
    • I added steps for Staging and/or Production testing in the QA steps section
    • I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
    • I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).
  • I included screenshots or videos for tests on all platforms
  • I ran the tests on all platforms & verified they passed on:
    • Android / native
    • Android / Chrome
    • iOS / native
    • iOS / Safari
    • MacOS / Chrome / Safari
    • MacOS / Desktop
  • I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
  • I followed proper code patterns (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I followed the guidelines as stated in the Review Guidelines
  • I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
  • I verified that if a function's arguments changed that all usages have also been updated correctly
  • If a new component is created I verified that:
    • A similar component doesn't exist in the codebase
    • All props are defined accurately and each prop has a /** comment above it */
    • The file is named correctly
    • The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
    • The only data being stored in the state is data necessary for rendering and nothing else
    • For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
    • Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
    • All JSX used for rendering exists in the render method
    • The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android

@stitesExpensify stitesExpensify added CP Staging Internal Requires API changes or must be handled by Expensify staff labels Dec 19, 2022
@stitesExpensify stitesExpensify requested a review from a team as a code owner December 19, 2022 22:54
@stitesExpensify stitesExpensify self-assigned this Dec 19, 2022
@github-actions
Copy link
Contributor

⚠️ ⚠️ Heads up! This pull request has the CP Staging label ⚠️ ⚠️
If you applied the CP Staging label before the PR was merged, the PR will be be immediately deployed to staging even if the open StagingDeployCash deploy checklist is locked.
However if you applied the CP Staging after the PR was merged it's possible it won't be CP'ed automatically. If you need it to be CP'ed to staging, tag a member of @Expensify/mobile-deployers to CP it manually, otherwise you can wait for it to go out with the next deploy.

@melvin-bot melvin-bot bot removed the request for review from a team December 19, 2022 22:55
@melvin-bot
Copy link

melvin-bot bot commented Dec 19, 2022

@techievivek Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@melvin-bot melvin-bot bot requested a review from techievivek December 19, 2022 22:55
@ctkochan22
Copy link
Contributor

ctkochan22 commented Dec 19, 2022

Reviewer Checklist

  • I have verified the author checklist is complete (all boxes are checked off).
  • I verified the correct issue is linked in the ### Fixed Issues section above
  • I verified testing steps are clear and they cover the changes made in this PR
    • I verified the steps for local testing are in the Tests section
    • I verified the steps for Staging and/or Production testing are in the QA steps section
    • I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
  • I checked that screenshots or videos are included for tests on all platforms
  • I included screenshots or videos for tests on all platforms
  • I verified tests pass on all platforms & I tested again on:
    • Android / native
    • Android / Chrome
    • iOS / native
    • iOS / Safari
    • MacOS / Chrome / Safari
    • MacOS / Desktop
  • If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
  • I verified proper code patterns were followed (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I verified that this PR follows the guidelines as stated in the Review Guidelines
  • I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
  • If a new component is created I verified that:
    • A similar component doesn't exist in the codebase
    • All props are defined accurately and each prop has a /** comment above it */
    • The file is named correctly
    • The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
    • The only data being stored in the state is data necessary for rendering and nothing else
    • For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
    • Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
    • All JSX used for rendering exists in the render method
    • The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android

@ctkochan22 ctkochan22 merged commit a73678d into main Dec 19, 2022
@ctkochan22 ctkochan22 deleted the stites-removePeriod branch December 19, 2022 23:02
@github-actions
Copy link
Contributor

Performance Comparison Report 📊

Significant Changes To Duration

There are no entries

Meaningless Changes To Duration

Show entries
Name Duration
TTI 836.931 ms → 848.319 ms (+11.388 ms, +1.4%)
nativeLaunch 9.700 ms → 10.125 ms (+0.425 ms, +4.4%)
regularAppStart 0.017 ms → 0.016 ms (-0.001 ms, -7.4%)
runJsBundle 199.433 ms → 194.419 ms (-5.014 ms, -2.5%)
Show details
Name Duration
TTI Baseline
Mean: 836.931 ms
Stdev: 44.029 ms (5.3%)
Runs: 759.3314750008285 771.1948329992592 772.0375720001757 787.0105239991099 792.5925270002335 794.1329389996827 795.8560899998993 807.3535099998116 810.519156999886 811.4283920004964 812.9671209994704 813.1697099991143 815.2404539994895 821.9795949999243 826.9956960007548 835.8665330000222 838.1612790003419 843.2771840002388 843.4613000005484 854.5580700002611 856.7511700000614 857.050741000101 858.1848980002105 866.0349289998412 877.1667759995908 883.7092010006309 891.4815059993416 893.0970939993858 896.8247590009123 912.1847740001976 945.2375840004534

Current
Mean: 848.319 ms
Stdev: 38.808 ms (4.6%)
Runs: 781.014204999432 784.355970999226 785.9929179996252 803.1133089996874 806.2154019996524 807.144551999867 812.1811299994588 815.0685980003327 819.8501410000026 825.3231569994241 828.5992840006948 831.8445750009269 846.6451740004122 847.8120339997113 847.9034150000662 848.8935930002481 851.4628209993243 855.2531400006264 859.9712250009179 861.6983330007643 866.1760210003704 866.1969859991223 866.8050849996507 867.5474069993943 869.4102459996939 879.9165930002928 900.9008389990777 901.5469439998269 907.7101489994675 925.3447569999844 925.9836589992046
nativeLaunch Baseline
Mean: 9.700 ms
Stdev: 1.320 ms (13.6%)
Runs: 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 10 10 10 10 10 11 11 11 11 11 11 11 12 12 12

Current
Mean: 10.125 ms
Stdev: 1.883 ms (18.6%)
Runs: 7 8 8 8 8 8 8 8 8 9 9 9 9 10 10 10 10 10 11 11 11 11 11 11 11 12 12 12 13 13 14 14
regularAppStart Baseline
Mean: 0.017 ms
Stdev: 0.001 ms (5.4%)
Runs: 0.015096001327037811 0.015380000695586205 0.015422001481056213 0.015461999922990799 0.01615399867296219 0.01619499921798706 0.01631700061261654 0.016397999599575996 0.016397999599575996 0.016519999131560326 0.016560999676585197 0.016600999981164932 0.01660200022161007 0.016805000603199005 0.016846001148223877 0.016927000135183334 0.01700800098478794 0.017048999667167664 0.0172520000487566 0.0174150001257658 0.017496999353170395 0.017578000202775 0.017619000747799873 0.01769999973475933 0.018187999725341797 0.018635999411344528 0.018718000501394272

Current
Mean: 0.016 ms
Stdev: 0.001 ms (6.8%)
Runs: 0.013508999720215797 0.01371300034224987 0.013794001191854477 0.014322999864816666 0.014527000486850739 0.014607001096010208 0.014730000868439674 0.014851000159978867 0.014892000705003738 0.014892000705003738 0.01493300125002861 0.015219001099467278 0.015257999300956726 0.01534000039100647 0.015583999454975128 0.015664998441934586 0.015707001090049744 0.015828000381588936 0.015828998759388924 0.01615399867296219 0.016154000535607338 0.016235001385211945 0.01631699874997139 0.01631700061261654 0.016397999599575996 0.016479000449180603 0.016520000994205475 0.016967998817563057 0.017211999744176865 0.017578000202775 0.017619000747799873
runJsBundle Baseline
Mean: 199.433 ms
Stdev: 22.521 ms (11.3%)
Runs: 166 172 172 178 179 180 181 182 186 186 187 187 189 189 192 194 194 201 202 208 210 211 212 217 217 224 224 235 245 263

Current
Mean: 194.419 ms
Stdev: 15.337 ms (7.9%)
Runs: 172 175 176 176 177 178 179 180 181 182 182 182 189 192 193 195 197 199 200 200 201 202 202 205 207 208 211 215 217 227 227

OSBotify pushed a commit that referenced this pull request Dec 20, 2022
Force a staging build/deploy

(cherry picked from commit a73678d)
OSBotify added a commit that referenced this pull request Dec 20, 2022
@OSBotify
Copy link
Contributor

🚀 Cherry-picked to staging by @ctkochan22 in version: 1.2.41-4 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @yuwenmemon in version: 1.2.41-4 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

@OSBotify
Copy link
Contributor

🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants