Skip to content

Main: update develop to latest.#86

Merged
brendanobra merged 21 commits into
developfrom
main
Apr 30, 2026
Merged

Main: update develop to latest.#86
brendanobra merged 21 commits into
developfrom
main

Conversation

@brendanobra
Copy link
Copy Markdown
Contributor

No description provided.

bobra200 and others added 21 commits April 22, 2026 16:20
…DKEMW-14544]

- build_dependencies.sh: install all build deps from source (mirrors
  .github/Dockerfile); idempotent, safe to run in any container
- cov_build.sh: cmake configure + build for Coverity capture
- native_full_build.yml: build verification CI + act local validation target
- coverity_full_scan.yml: thin caller for full scan on push to main/develop
- coverity_incremental_scan.yml: thin caller for incremental scan on PRs
  with on-demand workflow_dispatch support
- coverity_component_full_scan.yml: self-contained reusable full scan engine
  (local copy; no dependency on rdk-e/build_tools_workflows)
- coverity_component_incremental_scan.yml: self-contained reusable incremental
  scan engine; posts defect details as PR review comments
- coverity_local.sh: offline developer scan via Docker (no server required);
  outputs raw text + HTML report to coverity_html/
- .actrc: act convenience defaults for local native build validation

NOTE: For CI to work, the Code Central team must provisision:
  - Coverity Central project 'firebolt-cpp-transport' with streams
    firebolt-cpp-transport_main and firebolt-cpp-transport_develop
  - Org vars: DOCKER_REGISTRY, ARTIFACTORY_USER, COVERITY_URL, COVERITY_USER
  - Org secrets: COVERITY_APIKEY, ARTIFACTORY_USER_APIKEY
  - comcast-ubuntu-latest runner availability in rdkcentral org
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
feat: Add Coverity static analysis workflows [RDKEMW-14544]
Copilot AI review requested due to automatic review settings April 29, 2026 16:44
@brendanobra brendanobra requested a review from dhillomk April 29, 2026 16:45
Copy link
Copy Markdown
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

Adds local and CI automation to build the project in a “native” container and to run Coverity scans (incremental on PRs, full on pushes), aligning with the dependency set pinned in the CI Docker image.

Changes:

  • Added build_dependencies.sh + cov_build.sh to build with tests and install required third-party deps.
  • Added Coverity workflows (incremental PR feedback + full scan) and a local helper script to run Coverity via Docker.
  • Added a native-container build workflow and an .actrc to ease local workflow runs with act.

Reviewed changes

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

Show a summary per file
File Description
coverity_local.sh Local Docker-based Coverity scan wrapper (build + analyze + HTML report).
cov_build.sh Standardized CMake Debug + tests build used by Coverity/CI.
build_dependencies.sh Installs build/test dependencies to match .github/Dockerfile versions.
.github/workflows/native_full_build.yml New containerized “native” build workflow.
.github/workflows/coverity_incremental_scan.yml PR-triggered incremental Coverity scan entry workflow.
.github/workflows/coverity_full_scan.yml Push-triggered full Coverity scan entry workflow.
.github/workflows/coverity_component_incremental_scan.yml Reusable incremental scan implementation + PR commenting.
.github/workflows/coverity_component_full_scan.yml Reusable full scan implementation + commit-defects retry loop.
.actrc Config for running the native build workflow via act.

Comment thread .github/workflows/coverity_component_incremental_scan.yml
Comment thread .github/workflows/coverity_component_incremental_scan.yml
Comment thread .github/workflows/coverity_component_incremental_scan.yml
Comment thread .github/workflows/coverity_component_full_scan.yml
Comment thread .github/workflows/coverity_component_full_scan.yml
Comment thread .github/workflows/native_full_build.yml
Comment thread .github/workflows/native_full_build.yml
@brendanobra brendanobra merged commit cf943dc into develop Apr 30, 2026
17 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 30, 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.

4 participants