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

Qiskit / qiskit / 26462219184
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-15652-3a80c7441d243831d3bb0f7a2479519d4b8474cb
DEFAULT BRANCH: main
Ran 26 May 2026 05:18PM UTC
Jobs 1
Files 945
Run time 3min
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 May 2026 04:48PM UTC coverage: 87.608% (+0.08%) from 87.532%
26462219184

push

github

web-flow
Initialize ConstrainedReschedule.target unconditionally (#16246)

* Initialize ConstrainedReschedule.target unconditionally

`ConstrainedReschedule.__init__` only assigned `self.target` inside the
`if target is not None` branch.  When the pass was constructed without
a `target=` argument (the alignment-only path that the docstring still
advertises), `run()` raised

    AttributeError: 'ConstrainedReschedule' object has no attribute 'target'

at the call to the Rust `constrained_reschedule` helper.  The Rust
function's `target` parameter is `Option<&Target>`, so passing `None`
is supported; `self.target` simply needed to be initialised.

Adds a regression test that exercises the alignment-only path.

Fixes #16245

* Address review feedback: trim reno, strengthen test, add attribution

- Reno: adopt @jakelishman's shorter suggested wording.
- Test: trim the long docstring (git holds the rest).
- Test: replace the implicit "doesn't raise" assertion with a positive
  assertion that the alignment-only path returns the expected
  node_start_time for an already-aligned circuit.  The shifted-alignment
  behaviour is tracked separately in #16186 / #16210, so this PR's test
  exercises the no-shift case.
- Test: add the Claude Opus 4.7 attribution comment per the LLM policy
  discussion.

---------

Co-authored-by: gkneighb <gkneighb@users.noreply.github.com>

1 of 1 new or added line in 1 file covered. (100.0%)

16 existing lines in 4 files now uncovered.

108601 of 123962 relevant lines covered (87.61%)

959034.82 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
97.63
-0.47% crates/qasm2/src/parse.rs
5
92.29
-0.26% crates/qasm2/src/lex.rs
4
74.17
0.0% crates/circuit/src/parameter/symbol_expr.rs
1
91.04
0.0% crates/circuit/src/parameter/parameter_expression.rs
Jobs
ID Job ID Ran Files Coverage
1 26462219184.1 26 May 2026 05:18PM UTC 945
87.61
GitHub Action Run
Source Files on build 26462219184
  • Tree
  • List 945
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26462219184
  • 6412c2f3 on github
  • Prev Build on gh-readonly-queue/main/pr-16261-24734f83ef36a0f06c0b5cf6f920cabf3030a04a (#26458557801)
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