-
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
New runtime config item: "priority"? #2289
Comments
Yes, My initial thoughts on the main point:
|
P.S. the solution at point 2 (with no change to our current logic) can already handle point 4 neatly. |
@matthewrmshin - in response to your points:
In summary, I am still keen on this. It doesn't really give us new functionality, but this would be a nicer/cleaner way to do it (and more obvious to users) and also easy to implement, so I think we should do it ... I guess we just need to agree on item name and position (i.e. top level or under events section). I looked up synonyms of priority for a few ideas:
|
[This arises from BoM project discussions].
Consider:
The new item
priority
(or similar) would be provided to event handlers, to allow priority-based alerting. E.g. if some low-priority task suffers a CRITICAL failure, don't bother waking anyone up at three in the morning, just send an email.To bodge this functionality in at the moment you have to repeat the event handler command line in every task (or in families with shared priority values) to add the priority value as a custom argument, e.g.:
but it would be cleaner and more transparent to have the concept built-in. And we could potentially use it for other things too (beyond just passing to event handlers) ...
although nothing occurs to me right now[see my next comment below].@cylc/core - seems a pretty good idea to me, and easy to support - what do you think?
(while we're at it, should
title
be provided to event handlers too?)The text was updated successfully, but these errors were encountered: