• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 17085112291
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: lightcone-fix
DEFAULT BRANCH: main
Ran 20 Aug 2025 01:07AM UTC
Jobs 1
Files 842
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Aug 2025 12:28AM UTC coverage: 88.286% (-0.008%) from 88.294%
17085112291

push

github

web-flow
Cleanup Rust interface for Target::get_non_global_operation_names() (#14921)

* Cleanup Rust interface for Target::get_non_global_operation_names()

This commit cleans up the rust interface for the
Target::get_non_global_operation_names() method. The function was
requiring a mutable reference to the target for querying the data from
rust which is a mismatch from expectations. This was because the
function was trying to cache the result which was a Python-ism that was
faithfully ported when the Target moved from Python to Rust, but this
doesn't really fit in a rust interface because a rust user takes more
care around mutability. The caching is a construct for Python and
doesn't really fit with a rust interface. This commit updates the rust
interface to not cache this data and move it to Python. It's arguable
whether a cache is actually needed for this or not, but just out of an
abundance of caution this leaves it in place. However, the cache is
moved out of the Rust struct to avoid carrying the deadweight around in
a standalone C/Rust context.

* Fix Target python object construction

This commit fixes the object creation path of the Target so there isn't
a path for the target to be created without it's Python space caches
getting created.

* Fix subclassing

* Simplify rust interface

29 of 29 new or added lines in 2 files covered. (100.0%)

14 existing lines in 5 files now uncovered.

88350 of 100072 relevant lines covered (88.29%)

503963.29 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.39
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
74.54
0.16% crates/circuit/src/parameter/symbol_expr.rs
1
92.24
-0.1% crates/transpiler/src/passes/unitary_synthesis.rs
5
91.49
-1.03% crates/qasm2/src/lex.rs
6
97.09
-0.47% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 17085112291.1 20 Aug 2025 01:07AM UTC 842
88.29
GitHub Action Run
Source Files on build 17085112291
  • Tree
  • List 842
  • Changed 8
  • Source Changed 2
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17085112291
  • d1c8cac7 on github
  • Prev Build on gh-readonly-queue/main/pr-14928-1c04c19ccc2c58063d892dc8cb0f3f1c5a6e0fc8 (#17078914774)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc