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

Qiskit / qiskit-ibm-runtime / 45814318547
91%

Build:
DEFAULT BRANCH: main
Ran 26 Nov 2026 11:56AM UTC
Jobs 11
Files 344
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

26 Nov 2026 11:42AM UTC coverage: 91.267%. Remained the same
45814318547

push

github

web-flow
Add job tags and auto-cancel in integration tests (#3594)

### Summary

Enhance how submitted jobs from integration tests are handled, via
fixtures:
* cancel jobs that might be left queued or running once a test finishes,
via a new `submitted_jobs()` fixture.
* the functionality was present to some extent in the existing
`submit_bell_job()` fixture
* tag the jobs when submitted (with test case, test, CI run, and CI
commit hash), via an `options()` fixture
* set `max_execution_time` for jobs when run in CI
* revise the tests so they make use of the fixture

The test that submit jobs now follow this pattern as a result:

```python

def test_foo(self, options, submitted_jobs):
    primitive = Primitive(backend, options=options)
    job = primitive.run(...)
    submitted_jobs.append(job)
```

### Details and comments

Part of this could be made transparent via monkeypatching (for example,
injecting the tags prior to the HTTP request in the `api/` layers), or
more streamlined (for example, by auto-using those fixtures, or having
another one that wraps up the "instantiate primitive, submit job with
right tags, add it to the list").

I went with explicitness as the number of integration tests that submit
jobs is relatively manageable, and for better control (for example, some
tests may want to cancel directly, or may want to control tags more
easily) - it cost some more lines, but arguably keeps corner cases under
control.

Fixes #3591

### AI/LLM disclosure

- [x] I used the following tool to generate or modify code: Claude Opus
5

8852 of 9699 relevant lines covered (91.27%)

9.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 unit-tests_python3.12-windows-latest - 45814318547.1 26 Nov 2026 12:02PM UTC 344
89.57
GitHub Action Run
2 unit-tests_python3.11-windows-latest - 45814318547.2 26 Nov 2026 12:03PM UTC 344
89.57
GitHub Action Run
3 unit-tests_python3.10-ubuntu-latest - 45814318547.3 26 Nov 2026 11:57AM UTC 344
90.6
GitHub Action Run
4 unit-tests_python3.13-windows-latest - 45814318547.4 26 Nov 2026 11:59AM UTC 344
89.57
GitHub Action Run
5 unit-tests_python3.12-ubuntu-latest - 45814318547.5 26 Nov 2026 11:56AM UTC 344
91.27
GitHub Action Run
6 unit-tests_python3.10-windows-latest - 45814318547.6 26 Nov 2026 11:57AM UTC 344
88.9
GitHub Action Run
7 unit-tests_python3.13-ubuntu-latest - 45814318547.7 26 Nov 2026 11:56AM UTC 344
91.27
GitHub Action Run
8 unit-tests_python3.12-macos-latest - 45814318547.8 26 Nov 2026 11:58AM UTC 344
91.27
GitHub Action Run
9 unit-tests_python3.13-macos-latest - 45814318547.9 26 Nov 2026 11:56AM UTC 344
91.27
GitHub Action Run
10 unit-tests_python3.11-macos-latest - 45814318547.10 26 Nov 2026 11:58AM UTC 344
91.27
GitHub Action Run
11 unit-tests_python3.11-ubuntu-latest - 45814318547.11 26 Nov 2026 11:57AM UTC 344
91.27
GitHub Action Run
Source Files on build 45814318547
  • Tree
  • List 344
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45814318547
  • 5422d783 on github
  • Prev Build on gh-readonly-queue/main/pr-3438-9132f7d28ce821494603aa8fcdc4a2afb2ab4c09 (#45374291000)
  • 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