-
Notifications
You must be signed in to change notification settings - Fork 90
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
Feature.skip mode #6039
base: master
Are you sure you want to change the base?
Feature.skip mode #6039
Conversation
b43d296
to
d26c315
Compare
d378e3a
to
e9c2e25
Compare
3d002ee
to
dd0a9fc
Compare
0d42eab
to
c37ef72
Compare
3839a8a
to
d7ee653
Compare
# blacklist Run Modes: | ||
not_equals(*RunMode.MODES), |
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.
Shouldn't this just be RunMode.SKIP
?
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.
I'm really not sure that it's a good idea to have any of the RunMode strings as custom outputs. But you are right, it might concievably break someone's existing practice.
* Add `[runtime][<namespace>]run mode` and `[runtime][<namespace>][skip]`. * Spin run mode functionality into separate modules. * Run sim mode check with every main loop - we don't know if any tasks are in sim mode from the scheduler, but it doesn't cost much to check if none are. * Implemented separate job "submission" pathway switching. * Implemented skip mode, including output control logic. * Add a linter and a validation check for tasks in nonlive modes, and for combinations of outputs * Enabled setting outputs as if task ran in skip mode using `cylc set --out skip`. * Testing for the above.
remove ghost mode terminology added run_mode as a field to be used in the gui Response to review: Remove unwanted args to skip mode
Co-authored-by: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com>
Closes #5641
Skip Mode Proposal Doc
This branch includes (marked against skip mode proposal):
[runtime][<namespace>]run mode
.a. Broadcast can change
run mode
for future task job submissions.b. Cylc Validate and lint will warn about the setting not being live.
run mode = skip
respectsis_held
flag.There are two extensions, which I haven't dealt with yet, because I want to ensure that the basic functionality works, and move to the substantial documentation PR which need follow this.
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
(andconda-environment.yml
if present).CHANGES.md
entry included if this is a change that can affect users