8000 Reduce interleaving between actions · Pull Request #4435 · ocaml/dune · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Reduce interleaving between actions #4435

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

Closed
wants to merge 1 commit into from
Closed

Reduce interleaving between actions #4435

wants to merge 1 commit into from

Conversation

ghost
Copy link
@ghost ghost commented Apr 1, 2021

This PR adds a test showing that the output of different actions may be interleaved when they run several programs, and then changes this behavior.

Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
@ghost ghost added this to the 3.0 milestone Apr 6, 2021
@rgrinberg
Copy link
Member

The action looks good to me, but to use it in a robust way, I wonder if we want a timeout mechanism. So either a timeout argument for this action, or something more general like a timeout action (that sounds much harder).

@ghost
Copy link
Author
ghost commented Apr 7, 2021

Where are you thinking to put a timeout?

@rgrinberg
Copy link
Member

Something like (run dune_cmd wait-for-file-to-appear foo -timeout 3.0) with a default timeout being set if -timeout isn't provided.

@ghost
Copy link
Author
ghost commented Apr 7, 2021

Ah, I see. This way, if we accidentally break this test, we get a timeout rather than Dune b 8000 eing stuck forever. That makes sense.

@rgrinberg
Copy link
Member

@jeremiedimino I'm removing the 3.0 milestone. You can add it back if you plan to work on this.

@rgrinberg rgrinberg removed this from the 3.0 milestone Oct 21, 2021
Repository owner closed this by deleting the head repository Aug 22, 2022
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.

3 participants
0