aws-amplify / amplify-cli

The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development.
Apache License 2.0
2.81k stars 819 forks source link

chore: reduce active polling in code build workflows #13780

Closed sobolk closed 4 months ago

sobolk commented 4 months ago

Description of changes

This PR removes active polling that was in place to mitigate CodeBuild graph evaluation inefficiencies. Please see https://github.com/aws-amplify/amplify-cli/pull/13121 for details about inefficiencies.

These inefficiencies has been adressed and this PR removes most of active polling. The only place with active polling that remains is the job that runs after all e2e tests and needs to await on all job ids. Producing depends-on statement for that job must remain in place for now due to us hitting YML file size limits.

Issue #, if available

Description of how you validated changes

Kicked off PR and E2E workflows.

Observed that jobs are awaiting on only required ones from previous level of nesting.

See

image

image

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.