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

@actions/artifact Retry on 413 response #540

Merged
merged 1 commit into from
Aug 4, 2020
Merged

Conversation

konradpabjan
Copy link
Contributor

@@ -74,7 +74,8 @@ export function isRetryableStatusCode(statusCode?: number): boolean {
HttpCodes.BadGateway,
HttpCodes.ServiceUnavailable,
HttpCodes.GatewayTimeout,
HttpCodes.TooManyRequests
HttpCodes.TooManyRequests,
413 // Payload Too Large
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hardcoded for now. Will update in the future once a new version of actions/http-client is out: actions/http-client#31

@konradpabjan konradpabjan merged commit b2cba16 into main Aug 4, 2020
@konradpabjan konradpabjan deleted the artifacts/413-retry branch August 4, 2020 14:58
at-wat pushed a commit to at-wat/actions-toolkit that referenced this pull request Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants