On Thu Apr 16 09:29:40 2026 +0000, Rémi Bernon wrote:
It seems to me that it would be better to support it in a more generic way rather than trying to implement only a subset of it with a single optional node. I would expect basically that it would just need a mechanism to ignore connection failures on optional branches, and some to skip already connected branches, for when an optional connection path has made a direct connection unnecessary. This could also be something about dynamic branch discovery -which was probably something I had in mind at some point and related to 18e19a7903cf4c62f83aa1503aa14002a071efc4 removal- where you would only enumerate source branches first, then discover more of the graph either by continuing enumeration from each successfully connected downstream node to each of their outputs, or, in case of optional connection failures by keeping the upstream node and generating new branches from it to the downstream optional node outputs.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10645#note_136472