Skip to content

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

Open
swethasukumarr wants to merge 2 commits into
developfrom
feature/RDKEMW-17673
Open

RDKEMW-17673 : Add info coverage gate to CI#459
swethasukumarr wants to merge 2 commits into
developfrom
feature/RDKEMW-17673

Conversation

@swethasukumarr

Copy link
Copy Markdown

Description

What does this PR change/fix and why?

If there is a corresponding JIRA ticket, please ensure it is in the title of the PR.

Test Procedure

How to test this PR (if applicable)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other (doesn't fit into the above categories - e.g. documentation updates)

Requires Bitbake Recipe changes?

  • The base Bitbake recipe (meta-rdk-ext/recipes-containers/dobby/dobby.bb) must be modified to support the changes in this PR (beyond updating SRC_REV)

Copilot AI review requested due to automatic review settings June 22, 2026 18:51
@rdkcmf-jenkins

Copy link
Copy Markdown
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 2 files pending identification.

  • Protex Server Path: /home/blackduck/github/Dobby/459/rdkcentral/Dobby

  • Commit: cf2d4e4

Report detail: gist'

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 coverage “gate” to GitHub Actions CI by collecting L1 coverage artifacts, comparing them against a stored baseline on a build-metadata branch, and updating that baseline on successful develop pushes.

Changes:

  • Introduces a new orchestrating workflow (main-workflow.yml) that runs L1 tests, performs an informational coverage comparison, and updates a baseline on develop.
  • Updates the L1 workflow to support workflow_call and to upload filtered_coverage.info under a stable artifact name.
  • Adds a Python script (plus tests) to parse LCOV, compare against baseline JSON, and optionally emit a new baseline payload.

Reviewed changes

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

File Description
.github/workflows/main-workflow.yml New CI workflow orchestrating L1, coverage comparison, and baseline updates.
.github/workflows/L1-tests.yml Adds workflow_call support and uploads LCOV output as an artifact.
.github/scripts/compare_coverage.py Implements LCOV parsing + baseline comparison + report output.
.github/scripts/compare_coverage_test.py Adds unit/integration coverage tests for the comparison script.

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

Comment thread .github/workflows/main-workflow.yml
Comment thread .github/workflows/main-workflow.yml
Comment thread .github/workflows/L1-tests.yml
Comment thread .github/scripts/compare_coverage.py Outdated
Comment thread .github/scripts/compare_coverage.py Outdated
Comment thread .github/scripts/compare_coverage.py Outdated
Comment thread .github/scripts/compare_coverage_test.py Outdated
Comment thread .github/scripts/compare_coverage_test.py Outdated
Comment thread .github/scripts/compare_coverage_test.py
Comment thread .github/scripts/compare_coverage_test.py
@mhughesacn

Copy link
Copy Markdown

Hi @swethasukumarr : Please add this credit to the end of NOTICE and I will clear off the fails:

Copyright 2026 RDK Management
Licensed under the Apache License, Version 2.0

@rdkcmf-jenkins

Copy link
Copy Markdown
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 2 files pending identification.

  • Protex Server Path: /home/blackduck/github/Dobby/459/rdkcentral/Dobby

  • Commit: a8e4b9f

Report detail: gist'

@swethasukumarr swethasukumarr requested a review from ks734 June 23, 2026 17:58
@rdkcmf-jenkins

Copy link
Copy Markdown
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 2 files pending identification.

  • Protex Server Path: /home/blackduck/github/Dobby/459/rdkcentral/Dobby

  • Commit: 36d61ce

Report detail: gist'

@rdkcmf-jenkins

Copy link
Copy Markdown
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 2 files pending identification.

  • Protex Server Path: /home/blackduck/github/Dobby/459/rdkcentral/Dobby

  • Commit: 36d61ce

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 - thank you

  • Commit: 36d61ce
    '

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants