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

cleanup(minipipeline): factor code into utility functions #1400

Merged
merged 73 commits into from
Nov 28, 2023

Conversation

bassosimone
Copy link
Member

@bassosimone bassosimone commented Nov 28, 2023

While there, make the code slightly more correct and/or compact:

  1. do not extract the AS org name
  2. only extract the HTTP response if failure is nil
  3. only extract the control HTTP response if failure is nil
  4. do not include the zero ASN in results

Also, write a script that updates all the minipipeline regression tests.

Part of ooni/probe#2634

We're introducing failure modes that do not exist hence it seems
this is not the correct way of moving forward.
I'm doing this mainly to explore whether we could have more
robust webconnectivity v0.5 analysis code
Because I am dropping the requests again, we break again the tests
with the redirects. I could possibly fix it by putting requests back
again but I am not super happy about doing this because that would
cause the DSL to do some strange work and I'd honestly rather not do this.
what remains to be done now is to make sure we make green all the
tests that are currently skipped

we also need to account for differences between the two
then next step is to sort out this mess :-)
(I am thankful there's a ~comprehensive test suite.)
this happens because LTE sucessfully handshakes with the wrong address
@bassosimone bassosimone changed the title Smalltweaks cleanup(minipipeline): factor code into utility functions Nov 28, 2023
@bassosimone bassosimone marked this pull request as ready for review November 28, 2023 19:32
@bassosimone bassosimone merged commit 18c38ee into master Nov 28, 2023
9 checks passed
@bassosimone bassosimone deleted the smalltweaks branch November 28, 2023 19:45
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
While there, make the code slightly more correct and/or compact:

1. do not extract the AS org name
2. only extract the HTTP response if failure is nil
3. only extract the control HTTP response if failure is nil
4. do not include the zero ASN in results

Also, write a script that updates all the minipipeline regression tests.

Part of ooni/probe#2634
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant