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

Qiskit / qiskit-ibm-runtime / 27264001633 / 4
87%
main: 87%

Build:
DEFAULT BRANCH: main
Ran 10 Jun 2026 08:44AM UTC
Files 313
Run time 11s
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: 85.277% (+0.007%) from 85.27%
27264001633.4

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.

7779 of 9122 relevant lines covered (85.28%)

0.85 hits per line

Source Files on job unit-tests_python3.12-windows-latest - 27264001633.4
  • Tree
  • List 313
  • Changed 9
  • Source Changed 9
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 27264001633
  • c4361d67 on github
  • Prev Job for on main (#27194711136.1)
  • Next Job for on main (#27267734328.1)
  • 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