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

Qiskit / QiskitIBMRuntime.jl / 38293801067
10%

Build:
DEFAULT BRANCH: main
Ran 12 Oct 2026 06:52PM UTC
Jobs 1
Files 1
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

12 Oct 2026 06:52PM UTC coverage: 9.774% (-0.5%) from 10.317%
38293801067

push

github

web-flow
feat: add Base.show() for all classes + tests (#35)

* Document how to run the service tests in the README

* Add Base.show for Service, Job, and Backend

Service, Job, and Backend wrap raw pointers, so Julia's default show leaks an
address that changes between runs.  Define compact show methods so they display
as Service(...), Job(...), and Backend(<name>).  Backend already had a
text/plain method; adding the compact method (used when a Backend is printed
inside a collection) also fixes BackendSearchResults, whose elements
previously leaked their pointers.

Samples and BackendSearchResults are AbstractVectors and already inherit the
standard array printing, so no methods are added for them.

Assert in the pointer constructors (@assert ptr !== C_NULL): NULL instances are
not reachable through the public API, and guarding the constructor protects
every method rather than just display.

* fix: make NULL-pointer guards in constructors actually fire

The @assert ptr !== C_NULL guards were no-ops: !== is identity
comparison, and C_NULL is a Ptr{Nothing} while these fields are
Ptr{QkrtBackend}, Ptr{QkrtJob}, etc. Different pointer types are never
identical, so the assertions passed even for NULL.

Use != (address comparison) so the guards actually catch NULL. This
matters most for Backend: qkrt_backend_search_results_least_busy returns
NULL for an empty result set, so least_busy on an empty search previously
built a Backend around NULL and segfaulted on the first property access.

Also drop the now-redundant Backend text/plain show method (identical to
the compact method, and Base falls back to it) and the redundant
!occursin("Ptr{", ...) test assertion.

0 of 9 new or added lines in 1 file covered. (0.0%)

13 of 133 relevant lines covered (9.77%)

0.47 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
9.77
-0.54% src/QiskitIBMRuntime.jl
Jobs
ID Job ID Ran Files Coverage
1 38293801067.1 12 Oct 2026 06:52PM UTC 1
9.77
GitHub Action Run
Source Files on build 38293801067
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38293801067
  • 018879c8 on github
  • Prev Build on main (#38284577925)
  • Next Build on main (#38294734974)
  • Delete
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