Skip to content

ci(coverage): Codecov integration (codecov.yml + upload tooling) - #9288

Closed
jainprad wants to merge 86 commits into
developfrom
users/jainprad/codecoverage_codecov_tool
Closed

jainprad wants to merge 86 commits into
developfrom
users/jainprad/codecoverage_codecov_tool

Conversation

@jainprad

Copy link
Copy Markdown

Summary

Dedicated PR for the Codecov integration, split out from the coverage-generation work per review feedback (reboss: keep codecov config + upload tooling separate).

This PR owns:

  • codecov.yml — the per-component flag/target configuration.
  • The "Upload coverage to Codecov" step in therock-ci-coverage.yml — installs codecovcli and uploads the LCOV report (token for non-fork/postsubmit; tokenless owner:branch path for fork PRs). Adds the required --git-service github so the tokenless upload completes (without a token codecovcli cannot infer the git provider → "Upload service is missing").

Branched from the coverage infrastructure (following #9221's users/<user>/… → develop convention), so it runs standalone.

Relationship to the other coverage PRs

Follow-up (separate, reboss #470)

Baking codecov-cli into the build container (instead of pip install at runtime) is a TheRock container change and will be handled separately (cc @geomin12).

Test plan

  • Coverage jobs upload LCOV to Codecov under the correct flags
  • Tokenless upload succeeds for fork PRs; token used for same-repo/postsubmit

Made with Cursor

Made with Cursor

reboss added 30 commits May 22, 2026 15:32
The current therock_configure_ci.py doesn't have a clean way to only
configure the project that has changed, and not other components that
the changed component has been grouped together with.  For code coverage
reports, it does not make sense to even test downstream components.
@therock-pr-bot

Copy link
Copy Markdown

🎉 All checks passed! This PR is ready for review.

@reboss reboss left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please reduce the scope of this PR to just the changes needed for adding codecov.io upload tools to the docker container.

@geomin12 geomin12 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree with @reboss , we should wait till other PR lands so we know the new changes

jainprad added a commit to jainprad/rocm-libraries that referenced this pull request Jul 21, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, ROCm#9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Jul 21, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
jainprad added a commit to jainprad/rocm-libraries that referenced this pull request Jul 21, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, ROCm#9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
@malcolmroberts

Copy link
Copy Markdown
Contributor

Closing because there are 10 of these open.

reboss pushed a commit that referenced this pull request Jul 23, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Jul 23, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Jul 24, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Jul 27, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Jul 27, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Jul 29, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Jul 29, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Jul 29, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Jul 29, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Jul 29, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Aug 6, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Aug 10, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Aug 10, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Aug 12, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Aug 13, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Aug 14, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Aug 14, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
reboss pushed a commit that referenced this pull request Aug 14, 2026
Per review, the Codecov config + upload tooling now live in a dedicated PR
(users/jainprad/codecoverage_codecov_tool, #9288). Remove the "Upload coverage
to Codecov" step here; this PR builds, tests, and produces the coverage report
artifact only. The job summary points to the Codecov PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants