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

Qiskit / qiskit / 26463561201
88%

Build:
DEFAULT BRANCH: main
Ran 26 May 2026 05:45PM 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.604% (+0.07%) from 87.532%
26463561201

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%)

14 existing lines in 3 files now uncovered.

108596 of 123962 relevant lines covered (87.6%)

960205.61 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
73.88
-0.29% crates/circuit/src/parameter/symbol_expr.rs
6
91.52
-1.03% crates/qasm2/src/lex.rs
1
93.82
-0.24% crates/qasm2/src/expr.rs
Jobs
ID Job ID Ran Files Coverage
1 26463561201.1 26 May 2026 05:45PM UTC 945
87.6
GitHub Action Run
Source Files on build 26463561201
  • Tree
  • List 945
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26463561201
  • 6412c2f3 on github
  • Prev Build on gh-readonly-queue/main/pr-16261-24734f83ef36a0f06c0b5cf6f920cabf3030a04a (#26458557801)
  • Next Build on main (#26465314178)
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