-
Notifications
You must be signed in to change notification settings - Fork 142
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
oonimkall: investigate using richer input #2752
Comments
This diff, which is part of ooni/probe#2752, prints the event occurring when testing, which is useful for me to better understand what is going on while changing the package. Extracted from #1620.
This diff, which is part of ooni/probe#2752, prints the event occurring when testing, which is useful for me to better understand what is going on while changing the package. Extracted from #1620.
I discussed this topic extensively with @DecFox. Here's a summary of the conversation:
Because the change seems safe on paper, I propose we implement and evaluate it. Then, we should definitely document as technical debt that the mobile app uses a different pattern than the CLI and that the mobile app does not allow to pass options from OONI Run v2 to experiments. I see both problems as being linked, even though they are different problems, because they break the following narrative, which I think is very good to reason about OONI:
Instead, mobile is kind of different and does not really follow this code organization. However, it is also true that the issues I am describing are not impacting OONI operationally right now. Hence, my suggestion that, for now, we should just focus on unlocking using richer input for dnscheck et al., and document the rest as technical debt. |
So, after #2752 (comment), we were left with the reckoning that there are two richer-input and/or OONI-Run-v2 lingering issues in the Issue 1: It's not possible to pass structured options inside an OONI Run v2 descriptor to an experiment through the Issue 2: that the pattern for executing experiments used by the mobile apps is not the same used by the CLI or miniooni and we end up not being able to obtain richer input for Web Connectivity easily. This happens because richer input is an interface inside the Issue 1 can be easily solved by introducing a Issue 2 is more complex to solve. While discussing this topic, @aanorbel proposed what I consider a very good solution of this problem that we should definitely explore. Without changing much in the mobile app, we can just take advantage of the fact that the |
I also need to remember to add a custom timeout for fetching targets in oonimkall when I modify it. |
So, wrapping up and preparing for closing this issue. Here's what should happen next:
We can close this issue when all these three issues have been created. Luckily all three activities seem ~simple. 💥 |
This PoC should show that we can save measurements in the status.measurement_started callback. Obviously, a complete diff for probe-android should be more comprehensive and TBH my aim here is just to show it is *possible*. Related to ooni/probe#2752.
This diff contains a trivial rename of fakeSuccessfulRun back to fakeSuccessfulDeps. I made the rename from Deps to Run in a previous commit, but now I realize it was a mistake. Because this is a trivial patch, I am going to self merge it. Part of ooni/probe#2752.
This diff contains a trivial rename of fakeSuccessfulRun back to fakeSuccessfulDeps. I made the rename from Deps to Run in a previous commit, but now I realize it was a mistake. Because this is a trivial patch generated with a tool, I am going to self merge it w/o review. Part of ooni/probe#2752.
All follow-up issues created. We can close this issue now. |
This issue is about investigating what it would take for
oonimkall
to use richer input.The text was updated successfully, but these errors were encountered: