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

webconnectivitylte: address remaining TODOs in the codebase #2669

Closed
bassosimone opened this issue Feb 7, 2024 · 0 comments · Fixed by ooni/probe-cli#1500
Closed

webconnectivitylte: address remaining TODOs in the codebase #2669

bassosimone opened this issue Feb 7, 2024 · 0 comments · Fixed by ooni/probe-cli#1500

Comments

@bassosimone
Copy link
Contributor

No description provided.

@bassosimone bassosimone self-assigned this Feb 7, 2024
bassosimone added a commit to ooni/probe-cli that referenced this issue Feb 8, 2024
There's no need to use the older NewHTTPTransport factory for creating
a new HTTP transport, because this codebase doesn't need to use any quirk
implemented by such a transport.

While there, move TODOs around the codebase.

Part of ooni/probe#2669.
bassosimone added a commit to ooni/probe-cli that referenced this issue Feb 8, 2024
There's no need to use the older NewHTTPTransport factory for creating a
new HTTP transport, because this codebase doesn't need to use any quirk
implemented by such a transport.

While there, move TODOs around the codebase.

Part of ooni/probe#2669.
bassosimone added a commit to ooni/probe-cli that referenced this issue Feb 8, 2024
bassosimone added a commit to ooni/probe-cli that referenced this issue Feb 8, 2024
This diff refactors webconnectivitylte by moving some algorithms inside
the new webconnectivityalgo package.

In subsequent commits, we'll seize the opportunity of adding tests for
these algorithms, refactor the code, and add specific tests.

Part of ooni/probe#2669.

While there, recognize that the webconnectivityqa package does not
belong to internal/experiment but to internal.
bassosimone added a commit to ooni/probe-cli that referenced this issue Feb 8, 2024
This diff refactors webconnectivitylte by moving some algorithms inside
the new webconnectivityalgo package.

In subsequent commits, we'll seize the opportunity of adding tests for
these algorithms, refactor the code, and add specific tests.

Part of ooni/probe#2669.

While there, recognize that the webconnectivityqa package does not
belong to internal/experiment but to internal.
bassosimone added a commit to ooni/netem that referenced this issue Feb 8, 2024
bassosimone added a commit to ooni/netem that referenced this issue Feb 8, 2024
bassosimone added a commit to ooni/probe-cli that referenced this issue Feb 8, 2024
bassosimone added a commit to ooni/probe-cli that referenced this issue Feb 8, 2024
bassosimone added a commit to ooni/probe-cli that referenced this issue Feb 8, 2024
Because the singleton is always active, we need to expire the cache
otherwise we don't catch changes in the client network.

Part of ooni/probe#2669
bassosimone added a commit to ooni/probe-cli that referenced this issue Feb 8, 2024
Because the singleton is always active, we need to expire the cache
otherwise we don't catch changes in the client network.

Part of ooni/probe#2669

Closes ooni/probe#2671
bassosimone added a commit to ooni/probe-cli that referenced this issue Feb 8, 2024
Cycling through resolvers has been requested by some users recently.

While there address all the remaining TODOs.

Closes ooni/probe#2669.
bassosimone added a commit to ooni/probe-cli that referenced this issue Feb 8, 2024
Using one resolver at random from a pool of some has been requested by
users.

While there link all the remaining TODOs to existing open issues.

Closes ooni/probe#2669.

Here are three measurements showcasing this new feature:

1. [using
1.0.0.1:53](https://explorer.ooni.org/m/20240208153440.990674_IT_webconnectivity_646b76338342a1a8)
2. [using
1.1.1.1:53](https://explorer.ooni.org/m/20240208154552.863516_IT_webconnectivity_97c3ed1a6bbebd5e)
3. [using
9.9.9.9:53](https://explorer.ooni.org/m/20240208154616.549959_IT_webconnectivity_2515d794df2ebd34)
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this issue Feb 13, 2024
)

There's no need to use the older NewHTTPTransport factory for creating a
new HTTP transport, because this codebase doesn't need to use any quirk
implemented by such a transport.

While there, move TODOs around the codebase.

Part of ooni/probe#2669.
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this issue Feb 13, 2024
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this issue Feb 13, 2024
…1496)

This diff refactors webconnectivitylte by moving some algorithms inside
the new webconnectivityalgo package.

In subsequent commits, we'll seize the opportunity of adding tests for
these algorithms, refactor the code, and add specific tests.

Part of ooni/probe#2669.

While there, recognize that the webconnectivityqa package does not
belong to internal/experiment but to internal.
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this issue Feb 13, 2024
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this issue Feb 13, 2024
Because the singleton is always active, we need to expire the cache
otherwise we don't catch changes in the client network.

Part of ooni/probe#2669

Closes ooni/probe#2671
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this issue Feb 13, 2024
Using one resolver at random from a pool of some has been requested by
users.

While there link all the remaining TODOs to existing open issues.

Closes ooni/probe#2669.

Here are three measurements showcasing this new feature:

1. [using
1.0.0.1:53](https://explorer.ooni.org/m/20240208153440.990674_IT_webconnectivity_646b76338342a1a8)
2. [using
1.1.1.1:53](https://explorer.ooni.org/m/20240208154552.863516_IT_webconnectivity_97c3ed1a6bbebd5e)
3. [using
9.9.9.9:53](https://explorer.ooni.org/m/20240208154616.549959_IT_webconnectivity_2515d794df2ebd34)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant