-
Notifications
You must be signed in to change notification settings - Fork 43
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
fix(versions): disable webrtc tests #160
Conversation
This commit disables the WebRTC tests for rust-libp2p v0.50.0 and v0.51.0 and chromium-js v0.41.0 and v0.42.0. Neither of these support the new `/webrtc-direct` (see multiformats/multiaddr#150 for context on rename). The missing support is blocking libp2p/rust-libp2p#3688 namely to upgrade to using `/webrtc-direct`. (Note that this is only blocking CI. Users can already use `/webrtc-direct` with the latest released rust-libp2p.) We will backport `/webrtc-direct` support to the rust-libp2p `v0.51.0` interop binary and then re-enable it here. I assume we can do the same for js-libp2p v0.42.0. Instead of disabling the versions with missing support for `/webrtc-direct` we could as well patch our interoperability test logic. For the sake of simplicity, I am proposing simply disabling the versions for now.
Is this because we are sending the address as a string and not as a binary? Because I thought that we didn't change the binary representation. |
This would first need a patch to all repos to actually try multiple addresses right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. I’ll update the js tests once the rust impls are in
Documenting out-of-band discussion here. Yes, due to us using string representation. Long term I would be in favor of moving to binary representation. We agree that simply disabling is the best way forward. |
See multiformats/multiaddr#150 (comment) for context on discussion. - Renames the `webrtc` transport identifier to `webrtc-direct`. - Re-enables `webrtc-direct` support for rust-libp2p v0.51. Previously disabled in libp2p#160. See libp2p/rust-libp2p#3781 for corresponding change on the rust-libp2p side. - Leaves JS v0.41 and v0.42 untouched. To be done in a follow-up alongside JS dependency updates.
This commit disables the WebRTC tests for rust-libp2p v0.50.0 and v0.51.0 and chromium-js v0.41.0 and v0.42.0. Neither of these support the new `/webrtc-direct` (see multiformats/multiaddr#150 for context on rename). The missing support is blocking libp2p/rust-libp2p#3688 namely to upgrade to using `/webrtc-direct`. (Note that this is only blocking CI. Users can already use `/webrtc-direct` with the latest released rust-libp2p.) We will backport `/webrtc-direct` support to the rust-libp2p `v0.51.0` interop binary and then re-enable it here. Instead of disabling the versions with missing support for `/webrtc-direct` we could as well patch our interoperability test logic. For the sake of simplicity, I am proposing simply disabling the versions for now.
See multiformats/multiaddr#150 (comment) for context on discussion. - Renames the `webrtc` transport identifier to `webrtc-direct`. - Re-enables `webrtc-direct` support for rust-libp2p v0.51. Previously disabled in #160. See libp2p/rust-libp2p#3781 for corresponding change on the rust-libp2p side. - Leaves JS v0.41 and v0.42 untouched. To be done in a follow-up alongside JS dependency updates.
Copy of `multidim-interop/impl/js/v0.42` plus version adjustments + reenable WebRTC (see libp2p#160).
Copy of `multidim-interop/impl/js/v0.42` plus version adjustments + reenable WebRTC (see #160).
This commit disables the WebRTC tests for rust-libp2p v0.50.0 and v0.51.0 and chromium-js v0.41.0 and v0.42.0. Neither of these support the new
/webrtc-direct
(see multiformats/multiaddr#150 for context on rename).The missing support is blocking libp2p/rust-libp2p#3688 namely to upgrade to using
/webrtc-direct
. (Note that this is only blocking CI. Users can already use/webrtc-direct
with the latest released rust-libp2p.) More concretely the latest rust-libp2pmaster
sends a/webrtc-direct
address as the listener to the dialer. The dialer (i.e. the versions listed above) do not support/webrtc-direct
and thus fail.We will backport
/webrtc-direct
support to the rust-libp2pv0.51.0
interop binary and then re-enable it here. I assume we can not do the same in js-libp2p as it is released as a breaking change. @achingbrain is that correct?Instead of disabling the versions with missing support for
/webrtc-direct
we could as well patch our interoperability test logic, e.g. send both/webrtc
and/webrtc-direct
addresses. For the sake of simplicity, I am proposing simply disabling the versions for now.@achingbrain @MarcoPolo @thomaseizinger do you have thoughts on this? Would you prefer a patch to the interop test binary logic?
Pull request updating js-libp2p-webrtc to support
/webrtc-direct
: libp2p/js-libp2p-webrtc#100