Skip to content

RDKEMW-17673 : Add info coverage gate to CI#97

Merged
swethasukumarr merged 4 commits into
developfrom
feature/RDKEMW-17673
Jun 26, 2026
Merged

RDKEMW-17673 : Add info coverage gate to CI#97
swethasukumarr merged 4 commits into
developfrom
feature/RDKEMW-17673

Conversation

@swethasukumarr

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 23, 2026 21:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds an informational CI “coverage gate” for firebolt-cpp-transport by generating an lcov report during unit-test runs, comparing current coverage to a stored baseline, and (on pushes to main) updating that baseline in a dedicated build-metadata branch.

Changes:

  • Generate and upload an lcov (coverage.info) artifact in the unit_tests job.
  • Add a new coverage-gate job that compares current lcov line coverage to a baseline JSON (informational; does not block PRs).
  • Add an update-baseline job (push-to-main only) that writes and commits an updated baseline JSON to build-metadata.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
test.sh Adds a local (Docker) gcovr summary step after unit tests.
.github/workflows/ci.yml Produces lcov output, uploads it as an artifact, adds coverage-gate + baseline-update jobs.
.github/scripts/compare_coverage.py New Python utility to parse lcov and print baseline/threshold/regression status.

Comment thread .github/scripts/compare_coverage.py
Comment thread .github/scripts/compare_coverage.py Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Fixed
@rdkcmf-jenkins

Copy link
Copy Markdown
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 1 file pending identification.

  • Protex Server Path: /home/blackduck/github/firebolt-cpp-transport/97/rdkcentral/firebolt-cpp-transport

  • Commit: cfe4e48

Report detail: gist'

@rdkcmf-jenkins

Copy link
Copy Markdown
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 1 file pending identification.

  • Protex Server Path: /home/blackduck/github/firebolt-cpp-transport/97/rdkcentral/firebolt-cpp-transport

  • Commit: eea66d8

Report detail: gist'

@rdkcmf-jenkins

Copy link
Copy Markdown
Contributor

b'## WARNING: A Blackduck scan failure has been waived

A prior failure has been upvoted

  • Upvote reason: OK

  • Commit: eea66d8
    '

brendanobra
brendanobra previously approved these changes Jun 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

Comment thread .github/scripts/compare_coverage.py
Comment thread .github/scripts/compare_coverage.py Outdated
Comment thread .github/scripts/compare_coverage.py
Comment thread .github/workflows/ci.yml
@swethasukumarr swethasukumarr merged commit 451c386 into develop Jun 26, 2026
13 checks passed
@swethasukumarr swethasukumarr deleted the feature/RDKEMW-17673 branch June 26, 2026 18:23
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants