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

Qiskit / qiskit / 35088509584
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: patch-lcov-errors
DEFAULT BRANCH: main
Ran 16 Sep 2026 11:38AM UTC
Jobs 1
Files 966
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

16 Sep 2026 11:05AM UTC coverage: 87.872% (-0.006%) from 87.878%
35088509584

push

github

web-flow
Fix potential panics in QPY deserialization on malformed payloads (#16973)

* Fix potential panics in QPY deserialization on malformed payloads

When reconstructing registers during deserialization the QPY circuit
reader in rust was using Vec indexing to update the circuit's bit
arrays with register bits. However, this assumed the qpy payload was
always correctly formed, but if the payload was malformed or corrupted
the index mapping could refer to a non-existant bit index. This would
cause a panic from Rust. To avoid the panic and return a meaningful
error, this commit switches that indexing syntax to use the get methods
and return an error if the index is not present in the vecs being
accessed.

* Add a helper method to deduplicate code

34 of 40 new or added lines in 1 file covered. (85.0%)

19 existing lines in 4 files now uncovered.

118366 of 134703 relevant lines covered (87.87%)

973606.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
74.01
0.21% crates/qpy/src/circuit_reader.rs

Coverage Regressions

Lines Coverage ∆ File
12
97.19
-0.47% crates/qasm2/src/parse.rs
4
92.03
-0.26% crates/qasm2/src/lex.rs
2
81.77
-0.03% crates/circuit/src/parameter/symbol_expr.rs
1
74.01
0.21% crates/qpy/src/circuit_reader.rs
Jobs
ID Job ID Ran Files Coverage
1 35088509584.1 16 Sep 2026 11:38AM UTC 966
87.87
GitHub Action Run
Source Files on build 35088509584
  • Tree
  • List 966
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35088509584
  • e665ada1 on github
  • Prev Build on gh-readonly-queue/main/pr-16985-5e6aaac0b83538b2fd2be99fc0588a3823e2a98d (#35008035687)
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