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

Qiskit / qiskit / 31534073715
88%

Build:
DEFAULT BRANCH: main
Ran 11 Aug 2026 09:12PM UTC
Jobs 1
Files 954
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

11 Aug 2026 08:14PM UTC coverage: 87.775% (+0.03%) from 87.745%
31534073715

push

github

web-flow
dagcircuit: transfer DAG-level variables in `substitute_node_with_dag` (#15542)

* dagcircuit: transfer DAG-level variables in substitute_node_with_dag (fixes #15509)\n\n- Add input/captured/declared vars and stretches from replacement DAG\n- Add tests verifying input vars and captured/declared vars transfer\n- Add release note entry

* Apply Black formatting to test file

* Update test_dagcircuit.py

* Fix variable transfer to skip already-present variables

Previously, substitute_node_with_dag() would try to add all variables
from the replacement DAG, including those already present in the target
DAG. This violated the constraint that a DAG cannot have both input and
captured variables simultaneously when the same variable object appears
in both contexts.

Now check if each variable is already present before adding it, matching
the behavior of compose() with inline_captures=False.

* addressing review comments

* fixing failing check for node variable substitution in dagcircuit. The check was failing because the node variable substitution was not being applied correctly in the dagcircuit code. This commit fixes that issue by ensuring that the node variable substitution is applied correctly when checking for node variables in the dagcircuit code.

* adressing review comments

* reno

16 of 20 new or added lines in 1 file covered. (80.0%)

5 existing lines in 2 files now uncovered.

113573 of 129391 relevant lines covered (87.78%)

994635.14 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
85.98
0.19% crates/circuit/src/dag_circuit.rs

Coverage Regressions

Lines Coverage ∆ File
4
92.03
0.26% crates/qasm2/src/lex.rs
1
90.32
0.0% crates/circuit/src/parameter/parameter_expression.rs
Jobs
ID Job ID Ran Files Coverage
1 31534073715.1 11 Aug 2026 09:12PM UTC 954
87.78
GitHub Action Run
Source Files on build 31534073715
  • Tree
  • List 954
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31534073715
  • f671c03b on github
  • Prev Build on gh-readonly-queue/main/pr-16687-9499a6a217fd7faa0893dc582193c1a177d25418 (#31506098344)
  • Next Build on main (#31541310144)
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