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

fix(enginenetx): pass context to tactics callbacks #1286

Merged
merged 1 commit into from
Sep 20, 2023
Merged

Conversation

bassosimone
Copy link
Contributor

@bassosimone bassosimone commented Sep 20, 2023

This diff modifies the tactics callbacks to take in input a context.

We need the context to know whether the operation failed in itself or was canceled externally through the context.

With this information, we can store better statistics about which tactics are working and which tactics are not working.

While there, fix a couple of typos (thanks @robertodauria!)

Part of ooni/probe#2531

This diff modifies the tactics callbacks to take in input a context.

We need the context to know whether the operation failed in itself or
was canceled externally through the context.

With this information, we can store better statistics about which
tactics are working and which tactics are not working.

Part of ooni/probe#2531
@bassosimone bassosimone merged commit 492976f into master Sep 20, 2023
8 checks passed
@bassosimone bassosimone deleted the issue/2531 branch September 20, 2023 14:14
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
This diff modifies the tactics callbacks to take in input a context.

We need the context to know whether the operation failed in itself or
was canceled externally through the context.

With this information, we can store better statistics about which
tactics are working and which tactics are not working.

While there, fix a couple of typos (thanks @robertodauria!)

Part of 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