-
-
Notifications
You must be signed in to change notification settings - Fork 41
Decrease fragility/xcpqc #2277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Decrease fragility/xcpqc #2277
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit 36e7562.
[don't cross the streams](https://tenor.com/baIhQ.gif)
This reverts commit 1a4c8d9.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #2277 +/- ##
=========================================
+ Coverage 34.3% 34.6% +0.4%
=========================================
Files 233 233
Lines 26472 26610 +138
Branches 4133 4181 +48
=========================================
+ Hits 9076 9220 +144
+ Misses 16667 16651 -16
- Partials 729 739 +10
🚀 New features to boost your workflow:
|
birajstha
approved these changes
Sep 5, 2025
Member
Author
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3 - Critical
bug
develop
issue on `develop` branch
engine
Internal implementation changes that may not be visible to users.
performance
resource usage
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to
Related to #2140 by @birajstha
Related to #2183 by @birajstha
Related to #2204 by @shnizzedy
Related to #2225 by @shnizzedy
Related to #2230 by @shnizzedy
Related to #2267 by @birajstha
Description
It seems like we finally got our graph big enough that the Cartesian product of all strategies is too large.
This PR updates the graph-building so C-PAC filters as it builds (so if we get conflicting resources in a fork, that fork is immediately pruned, instead of waiting until the end and then pruning).
Even though this approach involves more computation up front, the reduced size of the graph quickly outweighs that overhead:
--- title: Example --- graph RL subgraph A1[**before**] direction TB A@{ shape: sm-circ, label: "Small start" } --> B1[/strat_pool1 ✓/] A <--> B2[/strat_pool2 ✗ pruned/]:::prunedNode B1 --> C1[/strat_pool3 ✓/] B1 <--> C2[/strat_pool4 ✗ pruned/]:::prunedNode B2 <--> C3[/strat_pool9 ✗ pruned/]:::prunedNode B2 <--> C4[/strat_pool12 ✗ pruned/]:::prunedNode C1 --> D1[/strat_pool5 ✓/] C1 --> D2[/strat_pool6 ✓/] C2 <--> D3[/strat_pool7 ✗ pruned/]:::prunedNode C2 <--> D4[/strat_pool8 ✗ pruned/]:::prunedNode C3 <--> D5[/strat_pool10 ✗ pruned/]:::prunedNode C3 <--> D6[/strat_pool11 ✗ pruned/]:::prunedNode C4 <--> D7[/strat_pool13 ✗ pruned/]:::prunedNode C4 <--> D8[/strat_pool14 ✗ pruned/]:::prunedNode end subgraph A2[**after**] direction TB A_@{ shape: sm-circ, label: "Small start" } --> B1_[/strat_pool1 ✓/] A_ --> B2_[/strat_pool2 ✗ pruned/]:::prunedNode B1_ --> C1_[/strat_pool3 ✓/] B1_ --> C2_[/strat_pool4 ✗ pruned/]:::prunedNode C1_ --> D1_[/strat_pool5 ✓/] C1_ --> D2_[/strat_pool6 ✓/] end classDef prunedNode color:red; linkStyle 1,3,4,5,8,9,10,11,12,13,15,17 stroke:red,stroke-width:2px;Technical details
Tests
Screenshots
Checklist
Update index.md).developbranch of the repository.Developer Certificate of Origin
Developer Certificate of Origin