aws-amplify / aws-amplify/amplify-hosting

Parallelization

Open
#469 10 comments 19 reactions 0 assignees View on GitHub
e2e-cypress-tests feature-request
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

The Cypress integration is great and it encourages such tests. However, large applications might have many tests that accumulate long test durations. Currently, our build takes approx. 50 minutes. Most of the time is used by Cypress because parallelization is virtually unachievable. We tried to run multiple docker containers within the build container. That didn't work. We tried to spin up containers in other AWS services. It could work but it comes with a huge amount of complexity. Speeding up our tests is the first thing we did but we have a lot of them. We optimized the tests as far as we could be clicking and typing takes time that we cannot reduce any further. We sped up test runs by running amplify mock inside the build container but the result is almost neglectable.

**Describe the solution you'd like**
What we would love to have is real parallelization of our tests. Other CI tools are well equipped to parallelize tests. We know that Amplify Console is still in its infancy but we consider parallelization to be one of the most important missing features to compete (or at least match) other CI tools.

We would also appreciate any other solution that significantly speeds up our test runs inside the Amplify Console build process.

Contributor guide

Open the contributing guide

Research direction

No repository files, tests, or entry points are named. Start by reviewing the Amplify Console build process and its Cypress integration, then determine how test execution is currently handled. Done would require a defined, validated approach that materially reduces the reported build time through parallelization or another concrete optimization.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, cypress, docker
Domain
ci-cd, cloud, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.