Skip to content

Add connection-targeted autorouting phases#2318

Merged
ShiboSoftwareDev merged 3 commits into
tscircuit:mainfrom
ShiboSoftwareDev:main
May 21, 2026
Merged

Add connection-targeted autorouting phases#2318
ShiboSoftwareDev merged 3 commits into
tscircuit:mainfrom
ShiboSoftwareDev:main

Conversation

@ShiboSoftwareDev
Copy link
Copy Markdown
Contributor

Adds support for <autoroutingphase connection="..."> and connections={[...]} to assign routing phases and reroute selected traces by endpoint selector.

Covers phase priority with default autorouting, single and multiple connection selectors, and connection-targeted reroute using a zigzag test router.

@ShiboSoftwareDev ShiboSoftwareDev requested a review from seveibar May 21, 2026 17:47
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tscircuit-core-benchmarks Ready Ready Preview, Comment May 21, 2026 7:36pm

Request Review

Comment thread lib/components/primitive-components/Group/Group_phasedAutoroutingUtils.ts Outdated
Comment thread lib/components/primitive-components/Group/Group_phasedAutoroutingUtils.ts Outdated
Comment thread tests/features/autoroutingphase-connection-reroute.test.tsx Outdated
Comment thread tests/features/autoroutingphase-connection-reroute.test.tsx Outdated
Comment thread tests/features/autoroutingphase-connection-reroute.test.tsx Outdated
Comment thread tests/features/autoroutingphase-connection-reroute.test.tsx Outdated
Copy link
Copy Markdown
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the test is confusing, also can you use Mustafa's utility for showing the phases being executed?

@ShiboSoftwareDev ShiboSoftwareDev merged commit 0f4d0c8 into tscircuit:main May 21, 2026
10 checks passed
@tscircuitbot
Copy link
Copy Markdown
Contributor


Thank you for your contribution! 🎉

PR Rating: ⭐⭐⭐
Impact: Major

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants