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

Qiskit / qiskit-ibm-runtime / 36590869562
91%

Build:
DEFAULT BRANCH: main
Ran 29 Sep 2026 03:36PM UTC
Jobs 11
Files 333
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

29 Sep 2026 03:23PM UTC coverage: 90.912% (+0.001%) from 90.911%
36590869562

push

github

web-flow
Ensure that `dag.unit` does not emit non-actionable warning. (#3391)

### Summary
Currently, the scheduling transpiler passes get and set the `unit`
attribute of dag circuits, which is deprecated and will be removed in
Qiskit 3.0. Unfortunately, there does not seem to be an obvious solution
to this.

The scheduling passes in qiskit-ibm-runtime are inspired, in large part,
by Qiskit scheduling passes. Last year, Qiskit [PR
#14133](https://github.com/Qiskit/qiskit/pull/14133) replaced the call
to `unit` with a call to `_unit`
([link](https://github.com/Qiskit/qiskit/blame/main/qiskit/transpiler/passes/scheduling/padding/base_padding.py#L132)).
The PR mentions that "these deprecation warnings are raised to the user
as if they were user-actionable (which they are not). [...] flooding
test runs and confusing both users and downstream package devs."

This PR follows a similar strategy. In particular:
- It introduces a helper that's in charge for calling `unit`, so that
every call to `unit` is centralized to a single place.
- It replaces `unit` with `_unit`, adding an inline comment to make sure
there's enough context for the future.

With this change, the tests in `unit/transpiler` go down from 1085 to
153.

### AI/LLM disclosure

- [x] I didn't use LLM tooling, or only used it privately.
- [ ] I used the following tool to help write this PR description:
- [ ] I used the following tool to generate or modify code:

20 of 22 new or added lines in 2 files covered. (90.91%)

8673 of 9540 relevant lines covered (90.91%)

9.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
94.4
-0.25% qiskit_ibm_runtime/transpiler/passes/scheduling/block_base_padder.py
Jobs
ID Job ID Ran Files Coverage
1 unit-tests_python3.10-ubuntu-latest - 36590869562.1 29 Sep 2026 03:37PM UTC 333
90.9
GitHub Action Run
2 unit-tests_python3.11-macos-latest - 36590869562.2 29 Sep 2026 03:37PM UTC 333
90.9
GitHub Action Run
3 unit-tests_python3.11-windows-latest - 36590869562.3 29 Sep 2026 03:40PM UTC 333
89.23
GitHub Action Run
4 unit-tests_python3.12-windows-latest - 36590869562.4 29 Sep 2026 03:39PM UTC 333
89.23
GitHub Action Run
5 unit-tests_python3.13-ubuntu-latest - 36590869562.5 29 Sep 2026 03:37PM UTC 333
90.9
GitHub Action Run
6 unit-tests_python3.11-ubuntu-latest - 36590869562.6 29 Sep 2026 03:37PM UTC 333
90.9
GitHub Action Run
7 unit-tests_python3.13-macos-latest - 36590869562.7 29 Sep 2026 03:38PM UTC 333
90.9
GitHub Action Run
8 unit-tests_python3.10-windows-latest - 36590869562.8 29 Sep 2026 03:38PM UTC 333
89.23
GitHub Action Run
9 unit-tests_python3.13-windows-latest - 36590869562.9 29 Sep 2026 03:39PM UTC 333
89.23
GitHub Action Run
10 unit-tests_python3.12-macos-latest - 36590869562.10 29 Sep 2026 03:38PM UTC 333
90.9
GitHub Action Run
11 unit-tests_python3.12-ubuntu-latest - 36590869562.11 29 Sep 2026 03:36PM UTC 333
90.9
GitHub Action Run
Source Files on build 36590869562
  • Tree
  • List 333
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36590869562
  • 4a5be13c on github
  • Prev Build on gh-readonly-queue/main/pr-3396-415a08aa46f60f834c400ed10f61143418b7a01b (#36588626301)
  • Next Build on main (#36593228192)
  • 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