Skip to content

osv-scanner: general issues #1416

Closed
Closed

Description

@G-Rath

We've been having on-going problems with Codecov over the last few months - we seemed to have addressed a few of them now that we've gotten the token in place and upgraded to v4, but we've still got at least one immterimate failure that seems to be happening for forks and primarily on macOS runners whereby codecov reports that a token has not been provided:

Run codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be
  with:
    fail_ci_if_error: true
==> macos OS detected
https://cli.codecov.io/latest/macos/codecov.SHA256SUM
==> Running version latest
==> Running version v0.5.2
==> Running git config --global --add safe.directory /Users/runner/work/osv-scanner/osv-scanner
/opt/homebrew/bin/git config --global --add safe.directory /Users/runner/work/osv-scanner/osv-scanner
==> Running command '/Users/runner/work/_actions/codecov/codecov-action/5ecb98a3c6b747ed38dc09f787459979aebb39be/dist/codecov create-commit'
/Users/runner/work/_actions/codecov/codecov-action/5ecb98a3c6b747ed38dc09f787459979aebb39be/dist/codecov create-commit --git-service github -C a11bd38832c6eaac6b74f7201[70](https://github.com/google/osv-scanner/actions/runs/8978083643/job/24657957118#step:5:73)aca0f7386cfa6 -Z
info - 2024-05-07 01:14:43,239 -- ci service found: github-actions
warning - 2024-05-07 01:14:43,255 -- No config file could be found. Ignoring config.
Error: Codecov token not found. Please provide Codecov token with -t flag.
Error: Codecov: Failed to properly create commit: The process '/Users/runner/work/_actions/codecov/codecov-action/5ecb98a3c6b747ed38dc09f787459979aebb39be/dist/codecov' failed with exit code 1

Activity

  1. G-Rath commented on May 8, 2024

    @G-Rath
    Author
  2. G-Rath commented on May 8, 2024

    @G-Rath
    Author

    @thomasrockhu-codecov just fyi I've created this issue - I can dig out some of our comments from other issues later if you like

  3. added
    bug
    on May 8, 2024
  4. G-Rath commented on May 28, 2024

    @G-Rath
    Author

    @thomasrockhu-codecov any update on this? we're still having issues

  5. G-Rath commented on Jun 4, 2024

    @G-Rath
    Author

    We've had to disable this for macOS given how flakey it's been: google/osv-scanner#1020

  6. thomasrockhu-codecov commented on Jun 4, 2024

    @thomasrockhu-codecov
    Contributor

    @G-Rath sorry for the delay here, I'm still trying to debug why this is happening on macos. I have an idea of where to start, but I think I can get a fix out by EOW

  7. thomasrockhu-codecov commented on Jun 4, 2024

    @thomasrockhu-codecov
    Contributor

    This is coming from the CLI when making a request to GitHub. It seems that the call is unauthenticated and hits a rate limiting issue.

    You can see logs here.

    Digging more here how to pass in this data or make an authenticated call from inside the CLI.

  8. thomasrockhu-codecov commented on Aug 2, 2024

    @thomasrockhu-codecov
    Contributor

    @G-Rath we made some changes to our GitHub requests, are you still experiencing this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions