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

No more setup toolchain (Github runners) batch 1 #8372

Merged

Conversation

angusbayley
Copy link
Contributor

@angusbayley angusbayley commented Nov 15, 2024

Ticket

Migrates the first batch of workflows to setup-caches from setup-toolchain.

  • test-design-system
  • test-libs-reusable
  • test-web-tools-resusable

To do this, we stay on the GH runners but force the proto download during setup-caches. This costs about 10s but overall doesn't impact run time that much as GH runners outperform ours in several I/O limited steps (e.g. checkout).

workflow testing

#8474 shows this PR with all this branch's workflows forced to run on the CI (I decided to do this in a separate PR this time to prevent a repeat of the issue we had earlier this afternoon). That PR's base is this branch, so the diffs are useful

performance

This is a win runtime-wise. The setup-caches step in Test Docs is just 10s in this PR's run, vs 1m 51s in another workflow run without these changes applied. The switch does add ~20s to the install step that follows, giving a total saving of 1m 21s. This difference seems to be stable - randomly inspecting other jobs shows similar before/after differences for setup-caches (I've looked at about 5 before and 5 after so far).

Copy link

vercel bot commented Nov 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Nov 25, 2024 5:52pm
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Nov 25, 2024 5:52pm
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Nov 25, 2024 5:52pm
web-tools ⬜️ Ignored (Inspect) Visit Preview Nov 25, 2024 5:52pm

@live-github-bot live-github-bot bot added ui Has changes in the design system library automation CI/CD stuff labels Nov 15, 2024
@angusbayley angusbayley force-pushed the support/no-more-setup-toolchain-gh-runners-batch-1 branch from 33af6cc to d5b6e64 Compare November 15, 2024 10:11
@angusbayley angusbayley force-pushed the support/no-more-setup-toolchain-gh-runners-batch-1 branch from 8ea5a8b to 6d973fc Compare November 25, 2024 16:57
apps/web-tools/README.md Outdated Show resolved Hide resolved
libs/ui/README.md Outdated Show resolved Hide resolved
@angusbayley angusbayley force-pushed the support/no-more-setup-toolchain-gh-runners-batch-1 branch 4 times, most recently from 24fe3e7 to 262210c Compare November 25, 2024 17:44
@live-github-bot live-github-bot bot removed the ui Has changes in the design system library label Nov 25, 2024
@angusbayley angusbayley force-pushed the support/no-more-setup-toolchain-gh-runners-batch-1 branch from 262210c to ae1a9fb Compare November 25, 2024 17:51
@angusbayley angusbayley marked this pull request as ready for review November 25, 2024 17:55
@angusbayley angusbayley changed the title [DNM] Support/no more setup toolchain gh runners batch 1 [DNM] No more setup toolchain (Github runners) batch 1 Nov 26, 2024
@angusbayley angusbayley changed the title [DNM] No more setup toolchain (Github runners) batch 1 No more setup toolchain (Github runners) batch 1 Nov 26, 2024
Copy link
Contributor

@themooneer themooneer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@angusbayley angusbayley merged commit e04e175 into develop Nov 26, 2024
41 of 49 checks passed
@angusbayley angusbayley deleted the support/no-more-setup-toolchain-gh-runners-batch-1 branch November 26, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation CI/CD stuff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants