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

Qiskit / qiskit-ibm-runtime / 27263638941
87%
main: 87%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-2902-de3f7fc90bdece5cdc395d0712365843364d7e2d
DEFAULT BRANCH: main
Ran 10 Jun 2026 08:35AM UTC
Jobs 11
Files 313
Run time 1min
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

10 Jun 2026 08:30AM UTC coverage: 86.944% (+0.008%) from 86.936%
27263638941

push

github

web-flow
Reintroduce support for multiple result decoders (#2899)

<!--
⚠️ The pull request title should be short detailed and understandable
for all.
⚠️ Also, please add a release note file using reno if the change needs
to be
  documented in the release notes.
⚠️ If your pull request fixes an open issue, please link to the issue.

✅ I have added the tests to cover my changes.
✅ I have updated the documentation accordingly.
✅ I have read the CONTRIBUTING document.
-->

### Summary

Revise the methods that accept `result_decoder` to ensure they also
support sequences of decoders (ie. `type[ResultDecoder] |
Sequence[type[ResultDecoder]] | None = None`) consistently, and update
the logic so the decoders are called in chain in that case.

In practice, it re-introduces the ability of using multiple decoders,
with provides for some degree of easy customizability by end users. It
was introduced around #1450 for dealing with the websocket mechanism,
and some remains remained at the interface level although in practice
[it was restricted to one
decoder](https://github.com/Qiskit/qiskit-ibm-runtime/blob/0.47.0/qiskit_ibm_runtime/base_runtime_job.py#L110-L113)
out of two.

Additionally, it avoids passing the decoder explicitly from the
Primitive classes, as `DEFAULT_DECODERS` is used under the hood for
selecting a default (making declaring and passing them from Primitives
unneeded, and saving some import pressure).

### Details and comments

Related #2852 - not marking as fixed as this does not revise existing
decoders.

### AI/LLM disclosure

- [x] I didn't use LLM tooling, or only used it privately.

10 of 10 new or added lines in 3 files covered. (100.0%)

7931 of 9122 relevant lines covered (86.94%)

9.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 unit-tests_python3.13-ubuntu-latest - 27263638941.1 10 Jun 2026 08:35AM UTC 313
86.94
GitHub Action Run
2 unit-tests_python3.10-ubuntu-latest - 27263638941.2 10 Jun 2026 08:36AM UTC 313
86.94
GitHub Action Run
3 unit-tests_python3.10-windows-latest - 27263638941.3 10 Jun 2026 08:37AM UTC 313
85.28
GitHub Action Run
4 unit-tests_python3.11-macos-latest - 27263638941.4 10 Jun 2026 08:35AM UTC 313
86.94
GitHub Action Run
5 unit-tests_python3.11-ubuntu-latest - 27263638941.5 10 Jun 2026 08:36AM UTC 313
86.94
GitHub Action Run
6 unit-tests_python3.12-ubuntu-latest - 27263638941.6 10 Jun 2026 08:35AM UTC 313
86.94
GitHub Action Run
7 unit-tests_python3.13-windows-latest - 27263638941.7 10 Jun 2026 08:36AM UTC 313
85.28
GitHub Action Run
8 unit-tests_python3.11-windows-latest - 27263638941.8 10 Jun 2026 08:37AM UTC 313
85.28
GitHub Action Run
9 unit-tests_python3.13-macos-latest - 27263638941.9 10 Jun 2026 08:35AM UTC 313
86.94
GitHub Action Run
10 unit-tests_python3.12-windows-latest - 27263638941.10 10 Jun 2026 08:37AM UTC 313
85.28
GitHub Action Run
11 unit-tests_python3.12-macos-latest - 27263638941.11 10 Jun 2026 08:36AM UTC 313
86.94
GitHub Action Run
Source Files on build 27263638941
  • Tree
  • List 313
  • Changed 9
  • Source Changed 9
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27263638941
  • c4361d67 on github
  • Prev Build on gh-readonly-queue/main/pr-2894-9bff2d07183916800126a5bc0198748e380ff18d (#27194711136)
  • Delete
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