Queue duplicate congested port route solves#121
Open
0hmX wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Benchmark This PRRun benchmarks by commenting on this PR: Everything after Examples:
Any PR whose title contains |
17fad56 to
5faa4e0
Compare
Make DuplicateCongestedPortSolver step one TinyHyperGraphSolver child at a time instead of synchronously solving all single-route checks during setup. Expose child progress, propagate child/setup errors through normal solver failure state, and delegate active route visualization with a stable graphics step for snapshot/debug views. Add tests for queued progress and setup-error reporting.
5faa4e0 to
0fd5485
Compare
seveibar
approved these changes
Jun 24, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR changes
DuplicateCongestedPortSolverfrom a synchronous setup-time helper into a normal step-driven solver.The solver's job is to find ports that multiple independently routed connections all want to use, then duplicate those congested ports so the full route has more local choices. Before this change, it did that detection by solving every single-route problem synchronously during setup. That worked as a utility, but it made the solver hard to compose inside a larger pipeline: there was no useful progress, no active child solver to visualize, and failures could happen outside the usual solver state.
This PR keeps the same high-level behavior, but makes the work observable and schedulable.
What Changed
TinyHyperGraphSolverchild per route.activeSubSolver.failed,error, andfailedSubSolversstate.