Skip to content

Conversation

@AustinMroz
Copy link
Collaborator

@AustinMroz AustinMroz commented Aug 28, 2025

#4864 added more nuanced handling for links of bypassed nodes. Unfortunately, it introduced an edge case with a bypassed node prior to a legacy reroute. Legacy reroutes report their input type as *. This triggers a short circuit in #getBypassSlotIndex. When the determined bypassed connection does not match the actual type requirements on the other side of the reroute, this results in a type mismatch on execution.

While there is likely merit to further consideration upon the value of the short circuit, this pull request is targeted to minimize unecessary changes in functionality by providing a route for virtual nodes, like reroutes, to pass their actual required input type.

Resolves comfyanonymous/ComfyUI#9567
Likely also related to 4839

┆Issue is synchronized with this Notion page by Unito

@AustinMroz AustinMroz requested a review from a team as a code owner August 28, 2025 05:10
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Aug 28, 2025
@github-actions
Copy link

github-actions bot commented Aug 28, 2025

🎭 Playwright Test Results

All tests passed across all browsers!

⏰ Completed at: 08/28/2025, 05:35:55 AM UTC

📊 Test Reports by Browser


🎉 Your tests are passing across all browsers!

@christian-byrne christian-byrne added the claude-review Add to trigger a PR code review from Claude Code label Aug 30, 2025
Copy link
Contributor

@christian-byrne christian-byrne left a comment

Choose a reason for hiding this comment

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

LGTM!

@christian-byrne christian-byrne merged commit b515ef0 into main Aug 30, 2025
21 checks passed
@christian-byrne christian-byrne deleted the austin/fix-bypass-reroute branch August 30, 2025 04:57
@christian-byrne christian-byrne mentioned this pull request Aug 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:links claude-review Add to trigger a PR code review from Claude Code size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bypassed KSampler with reroute have problems

4 participants