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

Couldn't create release (Error: Validation Failed) #115

Open
macie opened this issue Nov 1, 2023 · 0 comments
Open

Couldn't create release (Error: Validation Failed) #115

macie opened this issue Nov 1, 2023 · 0 comments

Comments

@macie
Copy link

macie commented Nov 1, 2023

Once I've got: Error: Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"} with matrix strategy (source). I resolved it by rerunning CI job.

I assume that Validation Failed class errors comes directly from GitHub API in form of response with status 422 (in my case from releases endpoint). And I think that this is a race caused by multiple uploading in parallel.

I don't know how to reproduce it, but I think it is possible to ignore 422 responses with already_exists code from any create requests (error messages are standarized).

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

No branches or pull requests

1 participant