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

Qiskit / qiskit / 23707500226
87%

Build:
DEFAULT BRANCH: main
Ran 29 Mar 2026 11:27AM UTC
Jobs 1
Files 928
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 Mar 2026 10:30AM UTC coverage: 87.463% (+0.01%) from 87.449%
23707500226

push

github

web-flow
Refactor Sabre state into separately mutable components (#14909)

* Refactor Sabre state into separately mutable components

This commit separates out the three logical components of the Sabre
routing tracking into three separate structs, where each struct groups
objects that have the same mutation tendency.

The previous Sabre state stored its problem description, internal
tracking, and output tracking altogether in the same flat structure.
Those three components have different tendencies to mutate: the problem
description never mutates, the internal tracking frequently does, and
the output tracking only occasionally does and has a lifetime validity
tied to that of the problem description.

Putting them together made it impossible to call methods that mutated
the state while passing an object that borrowed from the problem
description, such as when recursing into control-flow operations,
because the borrow checker could not validate it.  This applied
interface pressure to inline more into the same method, which made
code-reuse of separate concerns harder.

* Add more documentation on new structs

* Revert release-valve mechanism

95 of 96 new or added lines in 1 file covered. (98.96%)

10 existing lines in 4 files now uncovered.

104016 of 118926 relevant lines covered (87.46%)

996839.54 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
93.2
-0.06% crates/transpiler/src/passes/sabre/route.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.82
-0.24% crates/qasm2/src/expr.rs
1
93.2
-0.06% crates/transpiler/src/passes/sabre/route.rs
2
92.29
0.51% crates/qasm2/src/lex.rs
6
97.63
0.95% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 23707500226.1 29 Mar 2026 11:27AM UTC 928
87.46
GitHub Action Run
Source Files on build 23707500226
  • Tree
  • List 928
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23707500226
  • 2941838b on github
  • Prev Build on gh-readonly-queue/main/pr-15881-5fce32fa1c4d49849cbfb5353590bc8fc06c7df2 (#23653717152)
  • Next Build on main (#23708755076)
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