-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
422 Client Error: Unprocessable Entity for url: https://coveralls.io/api/v1/jobs
for coveralls==4.0.0
#434
Comments
Seems to work on (See comparison of builds: https://cirrus-ci.com/build/5998598171656192 fails for |
Thank you for the detailed bug report! Very much appreciated. I'm thinking this relates to us removing the "retry on 422" code (#427), which had previously been added to help specifically with Github Actions, but also ran for other services with some hackish ID incrementing logic. Basically, for your use-case, it would have caught the 422, then manually re-set the
It seems like perhaps my docs are incorrect and this value is not optional, but we may have never noticed based on the retry logic. |
Thank you very much @TheKevJames for having a look on this.
I believe that
There we go: https://github.com/abravalheri/validate-pyproject/pull/171/files 1. Still failing though: https://cirrus-ci.com/task/5660226890760192 with This seems to be what the coveralls docs have to say about
So I guess their API should also consider the job id optional? Footnotes
|
Describe the Bug
The last builds of
validate-pyproject
started failing when runningcoveralls --submit
with the following error:Things to notice: the build runs on Cirrus CI, so I am using the configuration as described in https://coveralls-python.readthedocs.io/en/latest/usage/configuration.html#other-ci-systems (and it has been working so far until recently).
To Reproduce
This is a script that tries to reproduce locally what we verify in https://cirrus-ci.com/task/6209238735781888:
Expected Behavior
There should be no HTTP/API errors when submitting coverage reports.
Package Versions
Pytest plugins:
Packages inside of the
tox
environment:Trace Logs
Provide coverage logs w/ DEBUG logging enabled (run
coverage debug ...
)I am running
pytest-cov
instead ofcoverage
.The text was updated successfully, but these errors were encountered: