lemurheavy / coveralls-public

The public issue tracker for coveralls.io
http://coveralls.io
124 stars 7 forks source link

How to handle 422 errors (fork PRs coverage?) #1695

Closed skrdgraph closed 1 year ago

skrdgraph commented 1 year ago

Hey Coveralls team,

We are having an issue on our OSS projects Badger & Dgraph with coveralls. The error message is as follows:

Run goveralls -coverprofile=cover.out
bad response status from coveralls: 422
{"message":"Couldn't find a repository matching this job.","error":true}
Error: Process completed with exit code 1.

We have noticed that this happens at random. We have mostly seen this happening on contributions from outside authors from their forks. Internal author contributions via branch/PR seems to work fine. Would it be possible to get a little help here?

Our workflows use GitHub Actions, and are available here & here

Some sample errors include (mostly from outside authors' PRs):

The failed jobs in those links all have the same error message as above. Looking forward to your help & guidance here.

What we have tried:

cc: @joshua-goldstein

skrdgraph commented 1 year ago

Closing this. Dropped reasons in the referenced issue.