Open jsoref opened 6 months ago
Personally, I'm half guessing codecov made a call to https://api.github.com/ -- I'd really like to know what api call it made (and at least what identity it used -- I obviously don't want the credentials...)
As an end user, from my perspective, the repository is public
So, Repository not found
is misleading/confusing -- what wasn't found?
Hi @jsoref ,
We just merged a fix for the OIDC, can you please try again?
@drazisil-codecov: to which repository? (Do I need to update my fork of the codecov-action repository?)
Hi @jsoref
I believe it was to API so no updates should be needed on your side. I'm confirming with the engineer.
@drazisil-codecov here's a new (failed) run from the same commit: https://github.com/check-spelling-sandbox/eslint-plugin-jest/actions/runs/8986717338/job/24776595047
I have passed the details back to the engineer.
@jsoref it's me again, I think I have found the root cause here, thanks for being patient. We'll work on a fix.
@thomasrockhu-codecov: I appreciate fixing the underlying error, but it'd really be nice if the error message itself were improved.
Anyway, @ me when you want me to try again. I'm usually fairly responsive 🙂 .
@jsoref yeah, I guess the problem is more that you should not have seen that error message to begin with. Definitely a bug on our side
Fwiw, here's a round where the codecov-action is now configured to self-test using oidc: https://github.com/check-spelling-sandbox/codecov-action/actions/runs/9116103249/job/25063948144
on the bright side, it fails pretty fast.
@jsoref I believe we made a fix for this, are you still seeing Repository not found
?
I'm not seeing that error.
https://github.com/check-spelling-sandbox/eslint-plugin-jest/actions/runs/9715692458/job/26817680471 has Not valid tokenless upload
-- that error message is grammatically poor, it should be Not a valid tokenless upload
. I think the error is wrong as I think the workflow should be configured to use oidc...
@jsoref ok, I think we pushed a fix for that, do you mind re-running CI?
I don't see a change? https://github.com/check-spelling-sandbox/eslint-plugin-jest/actions/runs/9715692458
Describe the bug
Some "http server" is yielding
HTTP Error 400
with a message ofRepository not found
. This isn't actionable. Nor is there any content on https://docs.codecov.com/docs/ for this messageEnvironment (please complete the following information):
To Reproduce Steps to reproduce the behavior:
Expected behavior Clear error messages explaining what was done, what was seen, and why that results in a specific error.
Screenshots
log
```sh 2024-05-07T14:00:39.6055923Z ##[group]Run check-spelling-sandbox/codecov-action@my-repo-is-not-a-fork 2024-05-07T14:00:39.6056646Z with: 2024-05-07T14:00:39.6056984Z fail_ci_if_error: true 2024-05-07T14:00:39.6057555Z use_oidc: true 2024-05-07T14:00:39.6057915Z verbose: true 2024-05-07T14:00:39.6058259Z ##[endgroup] 2024-05-07T14:00:39.7598791Z ==> Got an OIDC token 2024-05-07T14:00:39.7730797Z ==> Got an OIDC token 2024-05-07T14:00:39.7987949Z ==> Got an OIDC token 2024-05-07T14:00:39.7990671Z ==> linux OS detected 2024-05-07T14:00:40.1397725Z https://cli.codecov.io/latest/linux/codecov.SHA256SUM 2024-05-07T14:00:40.2276064Z Received SHA256SUM e70beb7c9e3d894678e7d4d0fcb94e59133212dbda5ca7406b625a0167ce4ca8 codecov 2024-05-07T14:00:40.3069008Z Received SHA256SUM signature -----BEGIN PGP SIGNATURE----- 2024-05-07T14:00:40.3069621Z 2024-05-07T14:00:40.3070178Z iQIzBAABCgAdFiEEJwNOf9uFDgu8LGL/gGuyiu13mGkFAmYhSq4ACgkQgGuyiu13 2024-05-07T14:00:40.3071073Z mGkULA/8Dq6mYMCj4DxoHtfQeiQ3FZ/8HrgQmwUICQa5QHatbojQLmsYkruvvWWl 2024-05-07T14:00:40.3071851Z +Q7PywoiEWkFQ6nI1Wb4sTLWAMwdjjCKSECqTs9jlqXklKDKyb1Fv5O0ytwFEe/a 2024-05-07T14:00:40.3072598Z Wc4V4CKvH3LFHWB/ZsFMmjBBLQ3evQqz5rfk+Bih5uV/RtcNoLnWstaIqyeISyb4 2024-05-07T14:00:40.3073364Z NdgLWy9uapyeHfoPoZ6HEdrNhy4LvMrlCbgjwjFLZ445fE0Neq4n3QOlDKZ+RviO 2024-05-07T14:00:40.3074124Z FU/zYlZkWyHxrDavBEotbSWRCNB/ptyTc9uuQXEtemrJKoJYNRAIBx7N60uEEpCO 2024-05-07T14:00:40.3074889Z oDzALNV404Tw7WiULHyUhuxeN4EDiu2mCoa1KiMjFHjOayY6lREtsvt94ubGmAJ1 2024-05-07T14:00:40.3075656Z y29LiEvYIxEzd7nJcC8PzxbZk6AUv3IXA8o9m47KCVqKFMCFCTgc8fEWlrIfRtLN 2024-05-07T14:00:40.3076423Z HupcoOOuV7SWHXfg5vOf0vclnTpw3MVcrj+Z7dMA5OSpqcTlL8ACb9QPsKpAesUR 2024-05-07T14:00:40.3077235Z tth7zorPoU/RHfgEgKNPmKX9vvqB+AZ2n2oCPhlYOBP6/9NFjoIvIfWZPD9FSce7 2024-05-07T14:00:40.3077952Z K4FOEyaBEyypUMXtjPVj8MtoOaLk/X9g03ZKAlDxbnBIqqp0YLbqMW+nZkG8TTKI 2024-05-07T14:00:40.3078578Z e4d6XX447TyQ2750658NX+9Z/0c/oK+jsNCG2uocOkIL3kOHtAw= 2024-05-07T14:00:40.3078999Z =QUC9 2024-05-07T14:00:40.3079320Z -----END PGP SIGNATURE----- 2024-05-07T14:00:40.3079530Z 2024-05-07T14:00:40.3128345Z ==> Running version latest 2024-05-07T14:00:40.3410620Z gpg: directory '/home/runner/.gnupg' created 2024-05-07T14:00:40.3411621Z gpg: keybox '/home/runner/.gnupg/pubring.kbx' created 2024-05-07T14:00:40.3412554Z gpg: /home/runner/.gnupg/trustdb.gpg: trustdb created 2024-05-07T14:00:40.3413993Z gpg: key 806BB28AED779869: public key "Codecov Uploader (Codecov Uploader Verification Key)Additional context