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

v5 Error: Got unexpected extra argument #1659

Open
MetRonnie opened this issue Nov 15, 2024 · 4 comments
Open

v5 Error: Got unexpected extra argument #1659

MetRonnie opened this issue Nov 15, 2024 · 4 comments
Assignees
Labels
Area: Report Upload Issues with pre-ingest report uploading Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months

Comments

@MetRonnie
Copy link

MetRonnie commented Nov 15, 2024

v5 of the action does not appear to quote the workflow name when calling ./codecov do-upload so fails if there are spaces in the workflow name: https://github.com/cylc/cylc-flow/actions/runs/11853961703/job/33053084597?pr=6479#step:4:182

@MetRonnie MetRonnie changed the title Error: Got unexpected extra argument v5 Error: Got unexpected extra argument Nov 15, 2024
@MetRonnie
Copy link
Author

Tagging @codecov/report-upload as mentioned in #1645

@thomasrockhu-codecov
Copy link
Contributor

On it @MetRonnie, thanks for the catch

@thomasrockhu-codecov thomasrockhu-codecov self-assigned this Nov 15, 2024
@thomasrockhu-codecov thomasrockhu-codecov added bug Something isn't working Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months Area: Report Upload Issues with pre-ingest report uploading and removed bug Something isn't working labels Nov 15, 2024
@hugovk
Copy link

hugovk commented Nov 15, 2024

Similarly: https://github.com/hugovk/pepotron/actions/runs/11860034700/job/33054377932?pr=65#step:8:230

Error: Got unexpected extra arguments (Python 3.10)

Called like:

      - name: Upload coverage
        uses: codecov/codecov-action@v5
        with:
          flags: ${{ matrix.os }}
          name: ${{ matrix.os }} Python ${{ matrix.python-version }}

@njzjz
Copy link

njzjz commented Nov 15, 2024

For me, I got this error with my OIDC token (which is hidden by the GitHub):

 -> Token of length 1909 detected
==> Running create-commit
      ./codecov  create-commit -t <redacted> --git-service github --sha 7e5912295d0e5036241178cbc769db454d2df1b0
info - 2024-11-15 19:22:45,290 -- ci service found: github-actions
warning - 2024-11-15 19:22:45,299 -- No config file could be found. Ignoring config.
Usage: codecov create-commit [OPTIONS]
Try 'codecov create-commit -h' for help.

Error: Got unexpected extra argument (value:***
==> Failed to create-commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Report Upload Issues with pre-ingest report uploading Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months
Projects
None yet
Development

No branches or pull requests

4 participants