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

(chore) Cache install dependencies step in e2e workflow #1235

Merged
merged 2 commits into from
Dec 13, 2024

Conversation

denniskigen
Copy link
Member

Requirements

  • This PR has a title that briefly describes the work done including the ticket number. Ensure your PR title includes a conventional commit label (such as feat, fix, or chore, among others). See existing PR titles for inspiration.

For changes to apps

If applicable

  • My work includes tests or is validated by existing tests.
  • I have updated the esm-framework mock to reflect any API changes I have made.

Summary

Makes it so that the Install dependencies step in the run-e2e-on-other-repos job is cached. Without caching, this step takes a full 2 minutes to run for Patient Chart. The commit also adds working-directory directives to keep the cache keys specific to the active repo. Additionally, these changes makes artifact names and steps more explicit by adding the repo name to both the artifact name and step name.

Screenshots

Related Issue

Other

@denniskigen denniskigen requested a review from ibacher December 11, 2024 20:15
Copy link
Contributor

github-actions bot commented Dec 11, 2024

Size Change: 0 B

Total Size: 6.16 MB

ℹ️ View Unchanged
Filename Size
packages/apps/esm-devtools-app/dist/593.js 149 kB
packages/apps/esm-devtools-app/dist/642.js 21.1 kB
packages/apps/esm-devtools-app/dist/657.js 7.02 kB
packages/apps/esm-devtools-app/dist/735.js 2.63 kB
packages/apps/esm-devtools-app/dist/762.js 4.1 kB
packages/apps/esm-devtools-app/dist/788.js 42.9 kB
packages/apps/esm-devtools-app/dist/875.js 11.6 kB
packages/apps/esm-devtools-app/dist/889.js 375 kB
packages/apps/esm-devtools-app/dist/988.js 326 B
packages/apps/esm-devtools-app/dist/main.js 3.22 kB
packages/apps/esm-devtools-app/dist/openmrs-esm-devtools-app.js 3.28 kB
packages/apps/esm-help-menu-app/dist/167.js 1.07 kB
packages/apps/esm-help-menu-app/dist/248.js 9.89 kB
packages/apps/esm-help-menu-app/dist/611.js 2.45 kB
packages/apps/esm-help-menu-app/dist/642.js 21.1 kB
packages/apps/esm-help-menu-app/dist/657.js 7.02 kB
packages/apps/esm-help-menu-app/dist/662.js 147 kB
packages/apps/esm-help-menu-app/dist/735.js 2.63 kB
packages/apps/esm-help-menu-app/dist/788.js 42.9 kB
packages/apps/esm-help-menu-app/dist/889.js 375 kB
packages/apps/esm-help-menu-app/dist/958.js 3.74 kB
packages/apps/esm-help-menu-app/dist/main.js 8.56 kB
packages/apps/esm-help-menu-app/dist/openmrs-esm-help-menu-app.js 3.23 kB
packages/apps/esm-implementer-tools-app/dist/152.js 594 B
packages/apps/esm-implementer-tools-app/dist/236.js 592 B
packages/apps/esm-implementer-tools-app/dist/240.js 593 B
packages/apps/esm-implementer-tools-app/dist/261.js 594 B
packages/apps/esm-implementer-tools-app/dist/271.js 755 B
packages/apps/esm-implementer-tools-app/dist/272.js 594 B
packages/apps/esm-implementer-tools-app/dist/289.js 14.2 kB
packages/apps/esm-implementer-tools-app/dist/319.js 687 B
packages/apps/esm-implementer-tools-app/dist/336.js 137 kB
packages/apps/esm-implementer-tools-app/dist/36.js 2.49 kB
packages/apps/esm-implementer-tools-app/dist/378.js 698 B
packages/apps/esm-implementer-tools-app/dist/426.js 27.8 kB
packages/apps/esm-implementer-tools-app/dist/441.js 4.38 kB
packages/apps/esm-implementer-tools-app/dist/448.js 4.66 kB
packages/apps/esm-implementer-tools-app/dist/460.js 789 B
packages/apps/esm-implementer-tools-app/dist/491.js 134 kB
packages/apps/esm-implementer-tools-app/dist/539.js 592 B
packages/apps/esm-implementer-tools-app/dist/574.js 593 B
packages/apps/esm-implementer-tools-app/dist/587.js 2.93 kB
packages/apps/esm-implementer-tools-app/dist/625.js 594 B
packages/apps/esm-implementer-tools-app/dist/642.js 21.1 kB
packages/apps/esm-implementer-tools-app/dist/644.js 751 B
packages/apps/esm-implementer-tools-app/dist/652.js 594 B
packages/apps/esm-implementer-tools-app/dist/657.js 7.03 kB
packages/apps/esm-implementer-tools-app/dist/667.js 121 kB
packages/apps/esm-implementer-tools-app/dist/673.js 593 B
packages/apps/esm-implementer-tools-app/dist/705.js 594 B
packages/apps/esm-implementer-tools-app/dist/711.js 594 B
packages/apps/esm-implementer-tools-app/dist/727.js 593 B
packages/apps/esm-implementer-tools-app/dist/735.js 2.63 kB
packages/apps/esm-implementer-tools-app/dist/737.js 593 B
packages/apps/esm-implementer-tools-app/dist/744.js 722 B
packages/apps/esm-implementer-tools-app/dist/757.js 703 B
packages/apps/esm-implementer-tools-app/dist/788.js 42.9 kB
packages/apps/esm-implementer-tools-app/dist/807.js 592 B
packages/apps/esm-implementer-tools-app/dist/833.js 729 B
packages/apps/esm-implementer-tools-app/dist/845.js 6.43 kB
packages/apps/esm-implementer-tools-app/dist/859.js 3.09 kB
packages/apps/esm-implementer-tools-app/dist/873.js 3.67 kB
packages/apps/esm-implementer-tools-app/dist/889.js 375 kB
packages/apps/esm-implementer-tools-app/dist/899.js 590 B
packages/apps/esm-implementer-tools-app/dist/main.js 21 kB
packages/apps/esm-implementer-tools-app/dist/openmrs-esm-implementer-tools-app.js 3.39 kB
packages/apps/esm-login-app/dist/202.js 2.57 kB
packages/apps/esm-login-app/dist/236.js 721 B
packages/apps/esm-login-app/dist/240.js 803 B
packages/apps/esm-login-app/dist/261.js 698 B
packages/apps/esm-login-app/dist/271.js 883 B
packages/apps/esm-login-app/dist/272.js 707 B
packages/apps/esm-login-app/dist/319.js 823 B
packages/apps/esm-login-app/dist/336.js 782 B
packages/apps/esm-login-app/dist/378.js 828 B
packages/apps/esm-login-app/dist/415.js 26.7 kB
packages/apps/esm-login-app/dist/460.js 941 B
packages/apps/esm-login-app/dist/539.js 729 B
packages/apps/esm-login-app/dist/574.js 698 B
packages/apps/esm-login-app/dist/593.js 149 kB
packages/apps/esm-login-app/dist/625.js 698 B
packages/apps/esm-login-app/dist/63.js 16.5 kB
packages/apps/esm-login-app/dist/638.js 31.2 kB
packages/apps/esm-login-app/dist/642.js 21.1 kB
packages/apps/esm-login-app/dist/644.js 883 B
packages/apps/esm-login-app/dist/652.js 698 B
packages/apps/esm-login-app/dist/657.js 7.02 kB
packages/apps/esm-login-app/dist/673.js 737 B
packages/apps/esm-login-app/dist/676.js 2.23 kB
packages/apps/esm-login-app/dist/7.js 3.03 kB
packages/apps/esm-login-app/dist/705.js 698 B
packages/apps/esm-login-app/dist/711.js 697 B
packages/apps/esm-login-app/dist/727.js 698 B
packages/apps/esm-login-app/dist/735.js 2.62 kB
packages/apps/esm-login-app/dist/737.js 697 B
packages/apps/esm-login-app/dist/744.js 964 B
packages/apps/esm-login-app/dist/755.js 3.36 kB
packages/apps/esm-login-app/dist/757.js 860 B
packages/apps/esm-login-app/dist/788.js 42.9 kB
packages/apps/esm-login-app/dist/807.js 1.01 kB
packages/apps/esm-login-app/dist/833.js 846 B
packages/apps/esm-login-app/dist/859.js 3.08 kB
packages/apps/esm-login-app/dist/889.js 375 kB
packages/apps/esm-login-app/dist/899.js 694 B
packages/apps/esm-login-app/dist/93.js 2.16 kB
packages/apps/esm-login-app/dist/main.js 59.4 kB
packages/apps/esm-login-app/dist/openmrs-esm-login-app.js 3.46 kB
packages/apps/esm-offline-tools-app/dist/236.js 1.03 kB
packages/apps/esm-offline-tools-app/dist/240.js 1.03 kB
packages/apps/esm-offline-tools-app/dist/261.js 1.03 kB
packages/apps/esm-offline-tools-app/dist/271.js 1.19 kB
packages/apps/esm-offline-tools-app/dist/272.js 1.03 kB
packages/apps/esm-offline-tools-app/dist/319.js 1.16 kB
packages/apps/esm-offline-tools-app/dist/336.js 1.03 kB
packages/apps/esm-offline-tools-app/dist/378.js 1.17 kB
packages/apps/esm-offline-tools-app/dist/460.js 1.3 kB
packages/apps/esm-offline-tools-app/dist/539.js 1.03 kB
packages/apps/esm-offline-tools-app/dist/574.js 1.03 kB
packages/apps/esm-offline-tools-app/dist/601.js 142 kB
packages/apps/esm-offline-tools-app/dist/625.js 1.03 kB
packages/apps/esm-offline-tools-app/dist/63.js 16.5 kB
packages/apps/esm-offline-tools-app/dist/642.js 21.1 kB
packages/apps/esm-offline-tools-app/dist/644.js 1.19 kB
packages/apps/esm-offline-tools-app/dist/645.js 91.5 kB
packages/apps/esm-offline-tools-app/dist/652.js 1.03 kB
packages/apps/esm-offline-tools-app/dist/657.js 7.02 kB
packages/apps/esm-offline-tools-app/dist/673.js 1.03 kB
packages/apps/esm-offline-tools-app/dist/703.js 6.32 kB
packages/apps/esm-offline-tools-app/dist/705.js 1.03 kB
packages/apps/esm-offline-tools-app/dist/711.js 1.03 kB
packages/apps/esm-offline-tools-app/dist/727.js 1.03 kB
packages/apps/esm-offline-tools-app/dist/735.js 2.63 kB
packages/apps/esm-offline-tools-app/dist/737.js 1.03 kB
packages/apps/esm-offline-tools-app/dist/744.js 1.28 kB
packages/apps/esm-offline-tools-app/dist/757.js 1.19 kB
packages/apps/esm-offline-tools-app/dist/788.js 42.9 kB
packages/apps/esm-offline-tools-app/dist/807.js 1.1 kB
packages/apps/esm-offline-tools-app/dist/833.js 1.21 kB
packages/apps/esm-offline-tools-app/dist/859.js 3.09 kB
packages/apps/esm-offline-tools-app/dist/889.js 375 kB
packages/apps/esm-offline-tools-app/dist/899.js 1.02 kB
packages/apps/esm-offline-tools-app/dist/947.js 8.66 kB
packages/apps/esm-offline-tools-app/dist/main.js 107 kB
packages/apps/esm-offline-tools-app/dist/openmrs-esm-offline-tools-app.js 3.38 kB
packages/apps/esm-primary-navigation-app/dist/236.js 239 B
packages/apps/esm-primary-navigation-app/dist/240.js 240 B
packages/apps/esm-primary-navigation-app/dist/261.js 241 B
packages/apps/esm-primary-navigation-app/dist/271.js 282 B
packages/apps/esm-primary-navigation-app/dist/272.js 240 B
packages/apps/esm-primary-navigation-app/dist/319.js 246 B
packages/apps/esm-primary-navigation-app/dist/336.js 240 B
packages/apps/esm-primary-navigation-app/dist/378.js 267 B
packages/apps/esm-primary-navigation-app/dist/460.js 277 B
packages/apps/esm-primary-navigation-app/dist/482.js 15.2 kB
packages/apps/esm-primary-navigation-app/dist/513.js 146 kB
packages/apps/esm-primary-navigation-app/dist/539.js 239 B
packages/apps/esm-primary-navigation-app/dist/574.js 240 B
packages/apps/esm-primary-navigation-app/dist/577.js 7.64 kB
packages/apps/esm-primary-navigation-app/dist/619.js 6.45 kB
packages/apps/esm-primary-navigation-app/dist/625.js 241 B
packages/apps/esm-primary-navigation-app/dist/63.js 16.5 kB
packages/apps/esm-primary-navigation-app/dist/644.js 281 B
packages/apps/esm-primary-navigation-app/dist/652.js 241 B
packages/apps/esm-primary-navigation-app/dist/657.js 7.03 kB
packages/apps/esm-primary-navigation-app/dist/673.js 240 B
packages/apps/esm-primary-navigation-app/dist/705.js 241 B
packages/apps/esm-primary-navigation-app/dist/711.js 240 B
packages/apps/esm-primary-navigation-app/dist/727.js 240 B
packages/apps/esm-primary-navigation-app/dist/735.js 2.63 kB
packages/apps/esm-primary-navigation-app/dist/737.js 240 B
packages/apps/esm-primary-navigation-app/dist/744.js 288 B
packages/apps/esm-primary-navigation-app/dist/757.js 244 B
packages/apps/esm-primary-navigation-app/dist/788.js 42.9 kB
packages/apps/esm-primary-navigation-app/dist/807.js 301 B
packages/apps/esm-primary-navigation-app/dist/833.js 282 B
packages/apps/esm-primary-navigation-app/dist/888.js 24.7 kB
packages/apps/esm-primary-navigation-app/dist/889.js 375 kB
packages/apps/esm-primary-navigation-app/dist/899.js 237 B
packages/apps/esm-primary-navigation-app/dist/933.js 3.63 kB
packages/apps/esm-primary-navigation-app/dist/main.js 30.1 kB
packages/apps/esm-primary-navigation-app/dist/openmrs-esm-primary-navigation-app.js 3.38 kB
packages/framework/esm-api/dist/openmrs-esm-api.js 16.9 kB
packages/framework/esm-config/dist/openmrs-esm-module-config.js 8.42 kB
packages/framework/esm-context/dist/openmrs-esm-context.js 1.16 kB
packages/framework/esm-dynamic-loading/dist/openmrs-esm-dynamic-loading.js 2.89 kB
packages/framework/esm-error-handling/dist/openmrs-esm-error-handling.js 891 B
packages/framework/esm-expression-evaluator/dist/openmrs-esm-expression-evaluator.js 9.02 kB
packages/framework/esm-extensions/dist/openmrs-esm-extensions.js 25.3 kB
packages/framework/esm-feature-flags/dist/openmrs-esm-feature-flags.js 1.66 kB
packages/framework/esm-framework/dist/278.openmrs-esm-framework.js 14.5 kB
packages/framework/esm-framework/dist/530.openmrs-esm-framework.js 2.93 kB
packages/framework/esm-framework/dist/588.openmrs-esm-framework.js 2.15 kB
packages/framework/esm-framework/dist/619.openmrs-esm-framework.js 6.49 kB
packages/framework/esm-framework/dist/645.openmrs-esm-framework.js 9.3 kB
packages/framework/esm-framework/dist/735.openmrs-esm-framework.js 2.65 kB
packages/framework/esm-framework/dist/746.openmrs-esm-framework.js 6.14 kB
packages/framework/esm-framework/dist/788.openmrs-esm-framework.js 42.9 kB
packages/framework/esm-framework/dist/openmrs-esm-framework.js 459 kB
packages/framework/esm-globals/dist/openmrs-esm-globals.js 791 B
packages/framework/esm-navigation/dist/openmrs-esm-navigation.js 9.34 kB
packages/framework/esm-offline/dist/openmrs-esm-offline.js 34.4 kB
packages/framework/esm-react-utils/dist/openmrs-esm-react-utils.js 22 kB
packages/framework/esm-routes/dist/openmrs-esm-utils.js 4.68 kB
packages/framework/esm-state/dist/openmrs-esm-state.js 1.59 kB
packages/framework/esm-styleguide/dist/openmrs-esm-styleguide.js 194 kB
packages/framework/esm-translations/dist/openmrs-esm-core-translations.js 1.89 kB
packages/framework/esm-utils/dist/openmrs-esm-utils.js 45.5 kB
packages/shell/esm-app-shell/dist/0030f1956e452721.js 46.7 kB
packages/shell/esm-app-shell/dist/02af6181aebfc3a3.js 172 kB
packages/shell/esm-app-shell/dist/08ea2556198c3cc4.js 1.28 kB
packages/shell/esm-app-shell/dist/0cc265fb6bd38e85.js 1.01 kB
packages/shell/esm-app-shell/dist/1347daab66baf860.js 1.06 kB
packages/shell/esm-app-shell/dist/2464185114a2d3d0.js 1.01 kB
packages/shell/esm-app-shell/dist/38d4b8fb75f8850c.js 18.3 kB
packages/shell/esm-app-shell/dist/3b01402cd7292844.js 2.85 kB
packages/shell/esm-app-shell/dist/417374b674636e58.js 1.29 kB
packages/shell/esm-app-shell/dist/48f90114f3481db0.js 1.01 kB
packages/shell/esm-app-shell/dist/53baea24a93b42fc.js 7.12 kB
packages/shell/esm-app-shell/dist/5632dfc52256aec6.js 1.01 kB
packages/shell/esm-app-shell/dist/572e81f004cc10c5.js 15.1 kB
packages/shell/esm-app-shell/dist/5f0c5677fa573f65.js 1.01 kB
packages/shell/esm-app-shell/dist/67cea7270046f293.js 1.01 kB
packages/shell/esm-app-shell/dist/6f47008d9c93c1cb.js 3.33 kB
packages/shell/esm-app-shell/dist/71ab27e0b8d1949e.js 2.58 kB
packages/shell/esm-app-shell/dist/79e0fe636d1ed41c.js 1.59 kB
packages/shell/esm-app-shell/dist/7a500e8de0a9283e.js 1.01 kB
packages/shell/esm-app-shell/dist/7b204450699b0daf.js 2.6 kB
packages/shell/esm-app-shell/dist/8e0d11f862dfbba6.js 626 B
packages/shell/esm-app-shell/dist/8fff711f6800a4d3.js 1.3 kB
packages/shell/esm-app-shell/dist/90c9a6a8b268b4a3.js 1.01 kB
packages/shell/esm-app-shell/dist/932785417ef383b8.js 6.99 kB
packages/shell/esm-app-shell/dist/a7792d6252d85b20.js 43 kB
packages/shell/esm-app-shell/dist/a7efa2596cd2be4f.js 168 kB
packages/shell/esm-app-shell/dist/b407f548b6fadfa3.js 3.08 kB
packages/shell/esm-app-shell/dist/b84549c6f6e14c16.js 1.01 kB
packages/shell/esm-app-shell/dist/b87a5878f8961d1a.js 2.23 kB
packages/shell/esm-app-shell/dist/b88532bde74b513a.js 9.41 kB
packages/shell/esm-app-shell/dist/bb04bb60f8aa150f.js 3.04 kB
packages/shell/esm-app-shell/dist/c8c6807fe4119742.js 1.01 kB
packages/shell/esm-app-shell/dist/cc0d293bb9b870d9.js 3.38 kB
packages/shell/esm-app-shell/dist/d5b7ae80834013a3.js 1.05 kB
packages/shell/esm-app-shell/dist/d79c587e59dee595.js 1.01 kB
packages/shell/esm-app-shell/dist/d80464c66e5d20d7.js 3.23 kB
packages/shell/esm-app-shell/dist/d94ae646e56f98a5.js 1.01 kB
packages/shell/esm-app-shell/dist/db3fd1cf941c9e90.js 5.89 kB
packages/shell/esm-app-shell/dist/e39badf41d01af52.js 1.19 kB
packages/shell/esm-app-shell/dist/e419a658f4742c3e.js 9.36 kB
packages/shell/esm-app-shell/dist/e49c127ca058e379.js 1.3 kB
packages/shell/esm-app-shell/dist/e50c284908cadda5.js 1.01 kB
packages/shell/esm-app-shell/dist/e733f4ca112cf3e1.js 1.01 kB
packages/shell/esm-app-shell/dist/ec5d3f5f76832d62.js 1.34 kB
packages/shell/esm-app-shell/dist/ee4f4f0282833255.js 1.18 kB
packages/shell/esm-app-shell/dist/f368b00f4e1695a5.js 1.02 kB
packages/shell/esm-app-shell/dist/f5c65190072bb3f7.js 626 B
packages/shell/esm-app-shell/dist/f6f5a1551012e781.js 66.2 kB
packages/shell/esm-app-shell/dist/fcb385df17a82210.js 6.77 kB
packages/shell/esm-app-shell/dist/ff8fd36f7a9ca50a.js 3.91 kB
packages/shell/esm-app-shell/dist/openmrs.1a4d99ac44d7bd74.js 21.7 kB
packages/shell/esm-app-shell/dist/service-worker.js 46.6 kB
packages/tooling/openmrs/dist/cli.js 3 kB
packages/tooling/openmrs/dist/commands/assemble.js 3.31 kB
packages/tooling/openmrs/dist/commands/build.js 1.34 kB
packages/tooling/openmrs/dist/commands/debug.js 543 B
packages/tooling/openmrs/dist/commands/develop.js 2.71 kB
packages/tooling/openmrs/dist/commands/index.js 437 B
packages/tooling/openmrs/dist/commands/start.js 850 B
packages/tooling/openmrs/dist/index.js 517 B
packages/tooling/openmrs/dist/runner.js 640 B
packages/tooling/openmrs/dist/utils/config.js 726 B
packages/tooling/openmrs/dist/utils/debugger.js 575 B
packages/tooling/openmrs/dist/utils/dependencies.js 643 B
packages/tooling/openmrs/dist/utils/helpers.js 397 B
packages/tooling/openmrs/dist/utils/importmap.js 3.07 kB
packages/tooling/openmrs/dist/utils/index.js 443 B
packages/tooling/openmrs/dist/utils/logger.js 368 B
packages/tooling/openmrs/dist/utils/npmConfig.js 831 B
packages/tooling/openmrs/dist/utils/untar.js 725 B
packages/tooling/openmrs/dist/utils/variables.js 192 B
packages/tooling/openmrs/dist/utils/webpack.js 278 B
packages/tooling/webpack-config/dist/index.js 3.61 kB

compressed-size-action

Makes it so that the `Install dependencies` step in the `run-e2e-on-other-repos` job is cached. Without caching, this step takes a full 2 minutes to run for Patient Chart. The commit also adds working-directory directives to keep the cache keys specific to the active repo. Additionally, these changes makes artifact names and steps more explicit by adding the repo name to both the artifact name and step name.
@ibacher ibacher merged commit ab7e093 into main Dec 13, 2024
14 checks passed
@ibacher ibacher deleted the chore/e2e-caching branch December 13, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants