-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: better CI support #98
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very well done! A few suggestions. For the the todo, would you mind create an issue or tackling them? Let's fix the CI & remove remove dead/commented code.
Also do not forget to include the flags in the readme. |
Alright, I've resolved a few of the suggestions. They might bloat this PR but I have a few minor ideas for improvements in this direction:
|
@Yohe-Am That makes sense. I would keep this behaviour separated from |
Ah, the test I wrote appear to be flaky. The test asserts that the return code of all the test tasks, simple Looking through manuals and the Any ideas? |
After some investigation, the error was indeed elsewhere. I was led astray by the |
Ayup, that seems to have fixed it. Seems to be working well now and ready to merge. I don't think the solution is a semantic violation, right? |
@Yohe-Am unsure of the last (quite complex :)) commit, I believe ensure_stopped should do the same behaviour. Do you see a diff? |
@zifeo |
@Yohe-Am would use |
I suppose, to simplify the code, I can use the |
yeah, I'm not sure why macOS |
Alright, I've pushed a change that simplify that async bit.
According to this, it might be the time unit. on |
oof, right. Let me add a quick |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Turns out the Aand, after some consideration, seeing that a command as simple as |
4ac0301
to
470ff51
Compare
This PR fixes #83.
I've decided to go with a straight forward solution that, when the program is provided with the
--exit-after
flag, uses anActor
that asks theCommandActor
s to tell it when they're finished. Once it has the go from all its targets, it exits the program.In order to make the tool more CI friendly, I've also introduced a
--no-watch
flag that globally disables reloading triggered by fs watch events. I also recommend adding, in this PR or another, code that disables theConsole
actor when not needed and joins all the child std pipes. The console makes little sense in a CI context.