Skip to content

task: coverity - #244

Open
jharlow-intel wants to merge 1 commit into
masterfrom
task/coverity
Open

jharlow-intel wants to merge 1 commit into
masterfrom
task/coverity

Conversation

@jharlow-intel

Copy link
Copy Markdown
Collaborator

https://scan.coverity.com/projects/intelpython-mkl-service?tab=overview

adding mkl-service to open-source coverity scanning w/ a github action workflow

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Critical build-tool and Coverity project configuration issues remain unresolved.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds scheduled/manual Coverity Scan integration for the C/Cython build and a README status badge.

Changes:

  • Adds a GitHub Actions workflow for Coverity setup, build capture, and submission.
  • Adds a Coverity Scan badge to README.md.
File summaries
File Summary Review findings
README.md Adds the Coverity Scan status badge. No findings.
.github/workflows/coverity.yml Configures oneMKL installation, Coverity capture, and result submission. Critical: Install meson-python, ninja, and cmake before the non-isolated build. Critical: Correct COVERITY_PROJECT to the registered project identifier (also on line 151). Nit: Update the outdated setup.py diagnostic comment.
Review details

Suppressed comments (1)

.github/workflows/coverity.yml:152

  • The Coverity upload API selects the project from the project query parameter; passing it only as a multipart form field does not target the registered project. As written, this submission will not be associated with IntelPython/mkl-service; put COVERITY_PROJECT in the upload URL instead.
               --form project="${COVERITY_PROJECT}" \
               https://scan.coverity.com/builds
  • Files reviewed: 2/2 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

cancel-in-progress: true

env:
COVERITY_PROJECT: IntelPython/mkl-service
- name: Install build dependencies
# Cython is pinned here only (not in pyproject.toml) to keep the generated
# code stable between scans, so Coverity CIDs and their triage survive
run: pip install "setuptools>=77" "cython==3.3.0" "wheel>=0.45.1"
Comment on lines +122 to +124
# setup.py hard-requires MKLROOT and only raises a bare ValueError if
# it is unset, so surface what setvars.sh resolved it to.
echo "MKLROOT=${MKLROOT}"
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.

2 participants