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

Qiskit / qiskit / 37006716374
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: no-str-parser/1
DEFAULT BRANCH: main
Ran 02 Oct 2026 12:58PM UTC
Jobs 1
Files 987
Run time 8min
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

02 Oct 2026 12:26PM UTC coverage: 87.943% (-0.03%) from 87.976%
37006716374

push

github

web-flow
Add base implementation of `LoweringPassManager` (#17105)

* Add base implementation of `LoweringPassManager`

The `PyIrExposer`/`CIrExposer` system is clearly missing the ability to
attach it to the dynamic-typing system (this isn't new to this commit),
but that seems like a hard problem that we don't have time to solve
right now.

Nevertheless, this system now fulfils the base Python API we were
attempting to implement, within quite a few limitations.

* Fix potential deadlock in malformed Python `__del__`

Running the `Drop` impl on `Py<PyAny>` can run arbitrary Python code if
the refcount drops to 0 and CPython calls the object's `__del__` method.
We should ensure we've dropped the rw-lock before allowing that, to
avoid a (pathological, but possible) deadlock if the `__del__` attempts
to do something with the context handle.

* Use `anyhow` exception chaining now Python global state

This was always going to be a little fragile; if control ever passed to
the Python interpreter between the pass raising the exception and us
taking it again, it would have caused problems.  Fortunately, `anyhow`
has chain tooling that we can re-use.

* Set `pyclass` modules

19 of 87 new or added lines in 3 files covered. (21.84%)

6 existing lines in 2 files now uncovered.

122886 of 139733 relevant lines covered (87.94%)

937834.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
68
2.11
-0.55% crates/pyext/src/passmanager.rs

Coverage Regressions

Lines Coverage ∆ File
5
92.54
-0.26% crates/qasm2/src/lex.rs
1
90.32
0.0% crates/circuit/src/parameter/parameter_expression.rs
Jobs
ID Job ID Ran Files Coverage
1 37006716374.1 02 Oct 2026 12:58PM UTC 987
87.94
GitHub Action Run
Source Files on build 37006716374
  • Tree
  • List 987
  • Changed 8
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37006716374
  • b1f9ae27 on github
  • Prev Build on gh-readonly-queue/main/pr-17104-3dcab5d75891976bbe8596bdd1ed61f74096b5e4 (#37006714324)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc