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

pkg/repro: accept a cancellable context #5467

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

a-nogikh
Copy link
Collaborator

@a-nogikh a-nogikh commented Nov 5, 2024

Refactor pkg/repro to accept a context.Context object. This will make it look more similar to other package interfaces and will eventually let us abort currently running repro jobs without having to shut down the whole application.

Simplify the code by factoring out the parameters common both to RunSyzRepro() and RunCRepro().

dvyukov
dvyukov previously approved these changes Nov 8, 2024
Refactor pkg/repro to accept a context.Context object. This will make it
look more similar to other package interfaces and will eventually let us
abort currently running repro jobs without having to shut down the whole
application.

Simplify the code by factoring out the parameters common both to RunSyzRepro()
and RunCRepro().
@a-nogikh
Copy link
Collaborator Author

Rebased and resolved a conflict. PTAL.

@a-nogikh a-nogikh added this pull request to the merge queue Nov 13, 2024
Merged via the queue into google:master with commit 5ad1a16 Nov 13, 2024
17 checks passed
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.

2 participants