[BUG] Tokenless upload rejected for a public fork PR
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Start by comparing the failing codecov-action@v4 GitHub Actions job with the successful authenticated main run, then inspect how the action and CLI handle fork metadata and tokenless uploads. Reproduce against a public fork PR and determine whether the rejection comes from the client workflow or Codecov authentication or repository synchronization; done means the cause is established and a fix or actionable configuration guidance is verified.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
The Codecov upload for public fork PR #189 in jsoizo/kotlin-csv failed with:
HTTP 400: Token required - not valid tokenless upload
The original GitHub Actions job uses codecov/codecov-action@v4 and CLI
11.3.2. It detects the fork and supplies a colon-prefixed branch.
Authenticated main uploads succeed.
The cause is not established. An earlier version of this report emphasized
repository synchronization too strongly; that is only an unconfirmed
possibility based on similar reports.
Observed failure
PR: https://github.com/jsoizo/kotlin-csv/pull/189
Failing job:
https://github.com/jsoizo/kotlin-csv/actions/runs/41361427049/job/128587373730
Metadata in the original job:
- Repository slug:
jsoizo/kotlin-csv - Branch:
Alox1d:bugfix/utf8-surrogate-pairs - Commit:
d0029f4f349c2c00b0272e4a1a105da30a926179 - Pull request:
189 - Git service:
github
Additional investigation and limits
Local CLI 11.3.2 replays with this metadata also returned HTTP 400 for
create-commit and upload-coverage. The latter used a real Kover report
generated from the exact commit after all 258 JVM tests passed.
These were local CLI runs, not a validation of the current v7 Action in a
GitHub fork PR. We have not established whether upgrading the Action fixes
the original workflow.
The Codecov public API reports private: false, active: true,
activated: true, and author jsoizo:
https://api.codecov.io/api/v2/github/jsoizo/repos/kotlin-csv/
Successful authenticated main run:
https://github.com/jsoizo/kotlin-csv/actions/runs/42434464353
The repository was previously doyaaaaaken/kotlin-csv, with GitHub repository
ID 200859123. We do not know whether the ownership change is relevant.
Expected behavior
Coverage uploads from public fork PRs succeed without exposing the upstream
repository token.
Environment
- Git host: GitHub
- CI: GitHub Actions
- Original runner: Ubuntu 24.04
- Action in the failing job:
codecov/codecov-action@v4 - CLI: 11.3.2
What would you recommend checking to distinguish a client/workflow issue
from a Codecov-side authentication or repository synchronization issue?
Repository tracking issue:
https://github.com/jsoizo/kotlin-csv/issues/193
- Lingua principale
- Python
- Stelle
- 1.7k
- Fork
- 260
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di codecov/codecov-action
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
codecov/codecov-action#1952 · 1 commento · 1 reazione ·
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
codecov/codecov-action#1980 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
codecov/codecov-action#1979 · 2 commenti ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
codecov/codecov-action#1977 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
codecov/codecov-action#1974 ·
Tutte le issue di codecov/codecov-action
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
cal-itp/data-infra#5887 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ranacseruet/vaice#139 ·
I maintainer di solito rispondono entro 1 giorno
-
numpy.bytes_ attributes are recorded as a truncated repr instead of their contentForse già presa @JoeyTan21 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
batocera-linux/batocera.linux#17423 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100