Skip to content

task: coverity - #3070

Merged
jharlow-intel merged 11 commits into
masterfrom
task/coverity
Oct 28, 2026
Merged

jharlow-intel merged 11 commits into
masterfrom
task/coverity

Conversation

@jharlow-intel

Copy link
Copy Markdown
Collaborator

@github-actions

github-actions Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@github-actions

github-actions Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Array API standard conformance tests for dpnp=0.21.0dev16=np2py314h8d9cdd5_24 ran successfully.
Passed: 1491
Failed: 0
Skipped: 6

@coveralls

coveralls commented Sep 15, 2026 •

Copy link
Copy Markdown
Collaborator

Coverage Status

Coverage is 82.649% — task/coverity into master. No base build found for master.

@antonwolfy antonwolfy added this to the 0.21.0 release milestone Sep 18, 2026
Comment thread .github/workflows/coverity.yml Outdated
Unpinned `cython` resolves to whatever PyPI has that Monday, and a Cython
upgrade rewrites the generated C, which shuffles Coverity CIDs and loses
their triage. Pin 3.3.0, the version conda-forge currently resolves for
the regular builds, matching the mkl_fft and mkl-service scans. Also
align the upload-artifact pin with master (v7.0.2).
Comment thread .github/workflows/coverity.yml Outdated
Comment thread .github/workflows/coverity.yml Outdated
Comment thread .github/workflows/coverity.yml Outdated
Comment thread .github/workflows/coverity.yml
The generic clangcc/clangcxx templates parse the SYCL headers without
SYCL mode, so most SYCL translation units fail to emit (dpctl's scan
with the same setup captures 46%). Register icx/icpx with Coverity's
Intel oneAPI compiler type instead, as mkl_umath does, and fail the job
when fewer than 85% of C/C++ units are captured so a partial capture
does not use up a scan. Drop the _skbuild removal, which is a no-op on
a fresh checkout.
The native Intel compiler type emits each SYCL source as a host pass and
a spir64 device pass. The Scan build tool cannot parse the device pass,
so the overall emit percentage tops out near 50% even when every source
is captured. Require every project source to have a completed emit
instead, and skip the upload on feature-branch dispatches so they can
validate capture without replacing master's results on the dashboard.
Comment thread .github/workflows/coverity.yml
Comment thread .github/workflows/coverity.yml Outdated
Comment thread .github/workflows/coverity.yml Outdated
jharlow-intel and others added 4 commits October 28, 2026 10:05
pip already installs ninja. The dpctl comment described a conda/DPC++ RT
constraint that does not apply to this job; replace it with the actual
ordering constraint from dpctl_pkg.txt's --index-url.
The reasoning lives in IntelPython/dpctl#2401 and this PR's review threads.

@antonwolfy antonwolfy 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.

Thank you @jharlow-intel, no more comments from me

@jharlow-intel
jharlow-intel merged commit b47748b into master Oct 28, 2026
102 of 109 checks passed
@jharlow-intel
jharlow-intel deleted the task/coverity branch October 28, 2026 18:30
github-actions Bot added a commit that referenced this pull request Oct 28, 2026
https://scan.coverity.com/projects/intelpython-dpnp?tab=overview

---------

Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com> b47748b
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.

4 participants