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(netemx): redesign to simplify usage #1168

Merged
merged 6 commits into from
Jul 4, 2023
Merged

Conversation

bassosimone
Copy link
Contributor

@bassosimone bassosimone commented Jul 4, 2023

This commit shuffles around the netemx implementation to simplify construction and usage. Here are some design goals that underpin this set of changes:

  1. construction using optional functions and sane defaults, so one needs to write much less;

  2. we always want an HTTP server listening 80/tcp, 443/tcp, and 443/udp, so we can simplify the code a lot.

I worked on this change while trying to wrap up with ooni/probe#2493. My main aim was to add netem based smoke testing to Web Connectivity LTE such that we can start increasing the amount of users using it with some extra confidence compared to the current situation where code coverage is very low.

@bassosimone bassosimone requested a review from hellais as a code owner July 4, 2023 09:54
@bassosimone bassosimone merged commit 2f183bb into master Jul 4, 2023
7 checks passed
@bassosimone bassosimone deleted the issue/2493redesign branch July 4, 2023 10:09
bassosimone added a commit to ooni/2023-05-richer-input that referenced this pull request Jul 4, 2023
This diff deals the fallback from ooni/probe-cli#1168
and is related to ooni/probe#2493.

After updating netemx, I noticed I lost confidence about the code being WAI,
so I implemented metrics to count the number of events.
bassosimone added a commit to ooni/2023-05-richer-input that referenced this pull request Jul 4, 2023
This diff deals the fallback from
ooni/probe-cli#1168 and is related to
ooni/probe#2493.

After updating netemx, I noticed I lost confidence about the code being
WAI, so I implemented metrics to count the number of events.
cyBerta pushed a commit to cyBerta/probe-cli that referenced this pull request Aug 4, 2023
This commit shuffles around the `netemx` implementation to simplify
construction and usage. Here are some design goals that underpin this
set of changes:

1. construction using optional functions and sane defaults, so one needs
to write much less;

2. we always want an HTTP server listening 80/tcp, 443/tcp, and 443/udp,
so we can simplify the code *a lot*.
 
I worked on this change while trying to wrap up with
ooni/probe#2493. My main aim was to add netem
based smoke testing to Web Connectivity LTE such that we can start
increasing the amount of users using it with some extra confidence
compared to the current situation where code coverage is very low.
cyBerta pushed a commit to cyBerta/probe-cli that referenced this pull request Aug 4, 2023
This commit shuffles around the `netemx` implementation to simplify
construction and usage. Here are some design goals that underpin this
set of changes:

1. construction using optional functions and sane defaults, so one needs
to write much less;

2. we always want an HTTP server listening 80/tcp, 443/tcp, and 443/udp,
so we can simplify the code *a lot*.
 
I worked on this change while trying to wrap up with
ooni/probe#2493. My main aim was to add netem
based smoke testing to Web Connectivity LTE such that we can start
increasing the amount of users using it with some extra confidence
compared to the current situation where code coverage is very low.
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
This commit shuffles around the `netemx` implementation to simplify
construction and usage. Here are some design goals that underpin this
set of changes:

1. construction using optional functions and sane defaults, so one needs
to write much less;

2. we always want an HTTP server listening 80/tcp, 443/tcp, and 443/udp,
so we can simplify the code *a lot*.
 
I worked on this change while trying to wrap up with
ooni/probe#2493. My main aim was to add netem
based smoke testing to Web Connectivity LTE such that we can start
increasing the amount of users using it with some extra confidence
compared to the current situation where code coverage is very low.
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