Spike: Investigate using parallel GitHub actions to speed up PR builds#13563
Draft
Spike: Investigate using parallel GitHub actions to speed up PR builds#13563
Conversation
…hub-actions-to-speed-up-pr-builds
…hub-actions-to-speed-up-pr-builds
…hub-actions-to-speed-up-pr-builds
…hub-actions-to-speed-up-pr-builds
Contributor
Isabella-Mitchell
left a comment
There was a problem hiding this comment.
Thanks for doing this, your write up is really helpful and thorough.
It seems like something we could do since we're not at 20 cap yet. But perhaps we'd have to remove one day if another test takes precedent.
I also would be interested to know the timeline for full NextJS migration (if I'm right in thinking we could remove the 'Pages' test after this). Simply because if that's slow running, we may not see the benefit from sharding (though we will have failing faster).
…hub-actions-to-speed-up-pr-builds
…hub-actions-to-speed-up-pr-builds
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.
Resolves JIRA: https://bbc.atlassian.net/browse/WS-55
Spike paper doc: https://paper.dropbox.com/doc/Spike-Investigate-using-parallel-GitHub-actions-to-speed-up-PR-builds--CzZ7YvmMmRwR4JvHRJN~SZVeAg-FV8xmJTgsQnCZgs9RPaNK
Now that we've integrated the Next.JS app into the Github action pipeline, we should look into what what can do with parallelisation to help speed up the PR build and test process:
It may also be worth looking into Jest sharding which makes use of GitHub matrices
Work to do: separate out these two commands into different workflows: PART 1 and PART 2
This pull request updates the GitHub Actions workflows for Cypress end-to-end (E2E) testing to improve parallelization and test sharding for both the Application and NextJS projects. It introduces a new workflow for the Application E2Es and refactors the NextJS workflow to match, enabling both to run E2E tests in parallel shards for faster feedback and more efficient CI usage.
Developer Checklist
Testing
Ready-For-Test, Local)Ready-For-Test, Test)Ready-For-Test, Preview)Ready-For-Test, Live)Additional Testing Steps
Useful Links