Skip to content

[BUG] Scheduled runs (attempt to) upload to the wrong repository/user #1953

Description

@evelikov

Describe the bug

For a little while now, we've enabled codecov in kmod although it never quite worked to the fullest.

Namely, continuous data (for the master branch) is not uploaded and/or presented in the UI. Yet data for PRs is uploaded and presented - see (for example)

This could be due to our unusual approach of merging patches manually. In a few odd instances, patches were merged through Github UI and seemingly those have been uploaded/presented in the UI.

To handle the manual merges (+ cases where compiler/coverage tools/etc are updated leading to different results), we have scheduled codecov runs. Those runs should, in theory:

  • upload the results to the correct place repository
  • allow continuous results are presented in the UI

Tl:Dr:

PR uploads correctly end up in "https://app.codecov.io/github/kmod-project/kmod/..."
Schedule runs incorrectly upload to "https://app.codecov.io/github/lucasdemarchi/kmod/..."

To Reproduce
Steps to reproduce the behavior:

  1. Go to a scheduled job
  2. Click on "Upload coverage"
  3. Scroll down to "Your upload is now queued for processing. When finished, results will be available at: "
  4. Observe the incorrect project/user "https://app.codecov.io/github/lucasdemarchi/kmod/commit/..."

Expected behavior

  1. Scheduled jobs behave like the PR ones uploading to the correct project/user.
  2. The UI picks those results and displays them

Regression
This behaviour is observed since we started using codecov in Nov 2024.

Screenshots
Should be self explanatory. Happy to provide some, if you need any.

Product Area
Not sure to be honest...

Versions

  • OS: linux (we're not using macos/windows so not sure if those are affected)
  • Git Host: GitHub
  • CI/CD: GitHub Actions
  • Uploader: codecov-action@v6.0.0

Commit and CI link
See links in description and reproducer sections

Additional context
It's possible that something isn't setup quite right in the kmod repo. The maintainer @lucasdemarchi has access and help assist on that front.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions