Skip to content

"Rate exceed" triggering for frequent builds #28

@nesta219

Description

@nesta219

Hi there,

My company uses a monorepo to build/deploy multiple projects at once. As such, we run 10+ checks using this action simultaneously, and if there are multiple PRs building at one time, we often seen failures along the lines of:

Run aws-actions/[email protected]
*****STARTING CODEBUILD*****
##[error]Rate exceeded
*****CODEBUILD COMPLETE*****

My suspicion is that this is actually the AWS api rate-limiting us on the backend as it makes repeated, simultaneous API calls from the same access key. This issue could probably be solved by either increasing the sleep time during waitForBuildEndTime or simply adding a try/catch block to avoid the process dying if the api call returns a rate limit error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions