Skip to content
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

feat(netxlite): use *Netx for NewParallelUDPResolver #1257

Merged
merged 1 commit into from
Sep 12, 2023
Merged

Conversation

bassosimone
Copy link
Contributor

The overall idea at this point is that we will have an interface containing the methods we currently have inside *Netx and we will sever the hard dependency between measurexlite and netxlite.

We will probably still need to import some contants from netxlite but, for all effects and purposes, measurexlite would become completely mockable (as it is now) with an explicit dependency on the related behavior.

In turn, this refactoring would clarify which netxlite functionality we use for measuring, which are legacy, and which we use for communicating with the OONI backend. That change would definitely make it obvious to modify netxlite and go in the overall direction defined by ooni/probe#2531.

The overall idea at this point is that we will have an interface
containing the methods we currently have inside *Netx and we will
sever the hard dependency between measurexlite and netxlite.

We will probably still need to import some contants from netxlite
but, for all effects and purposes, measurexlite would become
completely mockable (as it is now) with an explicit dependency
on the related behavior.

In turn, this refactoring would clarify which netxlite functionality
we use for measuring, which are legacy, and which we use for
communicating with the OONI backend. That change would definitely
make it obvious to modify netxlite and go in the overall direction
defined by ooni/probe#2531.
@bassosimone bassosimone merged commit 3fcd5b0 into master Sep 12, 2023
6 checks passed
@bassosimone bassosimone deleted the issue/2531 branch September 12, 2023 10:09
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
The overall idea at this point is that we will have an interface
containing the methods we currently have inside *Netx and we will sever
the hard dependency between measurexlite and netxlite.

We will probably still need to import some contants from netxlite but,
for all effects and purposes, measurexlite would become completely
mockable (as it is now) with an explicit dependency on the related
behavior.

In turn, this refactoring would clarify which netxlite functionality we
use for measuring, which are legacy, and which we use for communicating
with the OONI backend. That change would definitely make it obvious to
modify netxlite and go in the overall direction defined by
ooni/probe#2531.
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.

1 participant