-
Notifications
You must be signed in to change notification settings - Fork 94
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
Prevent cylc-run of creating directories for invalid suites #3409
Conversation
090f944
to
ddcdcb0
Compare
cylc/flow/scheduler_cli.py
Outdated
|
||
if not os.path.exists(suite_srv_dir): | ||
sys.stderr.write(f'suite service directory not found ' | ||
f'at: {suite_srv_dir}\n') |
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.
Shamelessly copied this approach from cylc-cat-log
.
New behaviour: $ cylc run mp3
suite service directory not found at: /home/kinow/cylc-run/mp3/.service Tested |
One test failed, probably real, or else a huge coincidence!
|
Kicked Travis as it was one of the flakytests 🤞 |
I predict it'll fail again 😬 :
|
Was re-creating my virtual env to run it, but you beat me to it. Let me take a look at the code. Thanks! |
ddcdcb0
to
25103ca
Compare
25103ca
to
425d49d
Compare
Take 2. The code was checking for Wondering if this is good enough, or if we must prevent the
|
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.
Seems to have the desired behaviour, for normal run and on-the-fly reg. 👍
These changes close #3097
Requirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.