Skip to content

[rocprofiler-sdk] Enable codecov and Improve CI stablity#3279

Open
venkat1361 wants to merge 21 commits intodevelopfrom
users/venkat1361/codecov-enable
Open

[rocprofiler-sdk] Enable codecov and Improve CI stablity#3279
venkat1361 wants to merge 21 commits intodevelopfrom
users/venkat1361/codecov-enable

Conversation

@venkat1361
Copy link
Contributor

@venkat1361 venkat1361 commented Feb 16, 2026

Motivation

  • Enable code coverage CI check.
  • remove hard coded rocm version in ci workflow.

Technical Details

  • Change code coverage runner.
  • set ROCM_VERSION in bash env for github actions.

JIRA ID

Test Plan

  • Code coverage CI check.

Test Result

  • code coverage displays results as a comment in PR

Submission Checklist

@venkat1361 venkat1361 added the WIP label Feb 16, 2026
@venkat1361 venkat1361 changed the title [rocprofiler-sdk] Enable codecov and Improve CI stablity [WIP][rocprofiler-sdk] Enable codecov and Improve CI stablity Feb 16, 2026
@github-actions github-actions bot added the github actions Pull requests that update GitHub Actions code label Feb 16, 2026
@venkat1361 venkat1361 force-pushed the users/venkat1361/codecov-enable branch from 50a9a2b to b73960a Compare February 17, 2026 23:07
@venkat1361
Copy link
Contributor Author

venkat1361 commented Feb 17, 2026

Code Coverage Report

Code Coverage Report

Tests Only

code coverage tests.png

Samples Only

code coverage samples.png

Tests + Samples

code coverage all.png

vlaindic and others added 2 commits February 24, 2026 13:55
The pc-sampling-integration-test-client uses disassembly.hpp header
which calls amd_comgr functions (e.g., amd_comgr_create_data) but was
not linking against the amd_comgr library, causing undefined symbol
errors at runtime.
@venkat1361 venkat1361 removed the WIP label Feb 26, 2026
@venkat1361 venkat1361 changed the title [WIP][rocprofiler-sdk] Enable codecov and Improve CI stablity [rocprofiler-sdk] Enable codecov and Improve CI stablity Feb 26, 2026
@venkat1361 venkat1361 marked this pull request as ready for review February 26, 2026 16:02
@venkat1361 venkat1361 requested a review from a team as a code owner February 26, 2026 16:02
Copilot AI review requested due to automatic review settings February 26, 2026 16:02
@venkat1361 venkat1361 requested review from a team as code owners February 26, 2026 16:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves CI stability and enables code coverage for rocprofiler-sdk by dynamically sourcing the ROCm version from installed metadata instead of hardcoding it, re-enabling the code coverage workflow, and adding a missing dependency.

Changes:

  • Dynamically source ROCM_VERSION from /opt/rocm/.info/version via BASH_ENV in Docker containers instead of hardcoding in workflow files
  • Re-enable code coverage workflow with updated runner (mi325 instead of mi300a) and aligned CMAKE options
  • Add amd_comgr dependency to pc_sampling integration test

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
projects/rocprofiler-sdk/docker/Dockerfile.ci Added validation and dynamic export of ROCM_VERSION from installed ROCm metadata via BASH_ENV
.github/workflows/rocprofiler-sdk-docs.yml Removed hardcoded ROCM_VERSION env variable; now uses dynamically sourced version
.github/workflows/rocprofiler-sdk-continuous_integration.yml Removed hardcoded ROCM_VERSION env variable; now uses dynamically sourced version
.github/workflows/rocprofiler-sdk-code_coverage.yml Re-enabled workflow, removed hardcoded ROCM_VERSION, changed runner to mi325, added CMAKE options
.github/workflows/aqlprofile-continuous_integration.yml Removed hardcoded ROCM_VERSION env variable; now uses dynamically sourced version
projects/rocprofiler-sdk/tests/pc_sampling/CMakeLists.txt Added amd_comgr package dependency required for the test

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

4 participants