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

Qiskit / qiskit / 34835333759
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: patch-lcov-errors
DEFAULT BRANCH: main
Ran 14 Sep 2026 11:25AM UTC
Jobs 1
Files 966
Run time 3min
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

14 Sep 2026 10:52AM UTC coverage: 87.875% (+0.003%) from 87.872%
34835333759

push

github

web-flow
Handle potential overflows in arithmetic during QPY load (#16967)

There are several places in the QPY load() rust code that could
potentially overflow during arithmetic for specific payloads. This
overflow was in itself not an error but when the overflowed value
were interpreted this would lead to an opaque error. This commit
improves the handling of these overflow cases by returning a descriptive
error. The one exception is the potential overflow in
the `bit_data` field's CircuitInstructionV2Pack, in practice that can't
actually overflow (except on 32 bit platforms which we don't support).
But the way the code was written if the sum of num_qargs and num_cargs
exceeded u32::MAX it would overflow before converting it to a usize for
the vec's length. This instead fixes this so it converts the u32 values
to usize before the addition which will fix any potential overflow on
64 bit platforms.

10 of 17 new or added lines in 2 files covered. (58.82%)

2 existing lines in 2 files now uncovered.

118343 of 134672 relevant lines covered (87.87%)

971905.2 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
73.8
-0.21% crates/qpy/src/circuit_reader.rs
3
80.83
-0.78% crates/qpy/src/interface.rs

Coverage Regressions

Lines Coverage ∆ File
1
90.3
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
92.54
0.51% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 34835333759.1 14 Sep 2026 11:25AM UTC 966
87.87
GitHub Action Run
Source Files on build 34835333759
  • Tree
  • List 966
  • Changed 7
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34835333759
  • 5f8c5725 on github
  • Prev Build on gh-readonly-queue/main/pr-16984-f22eaca69ddd809b6a9ff41dee80d65b805ce4e5 (#34825570675)
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