-
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
Task proxy spawn on demand. #3515
Conversation
05ca046
to
5d134a5
Compare
Restart now implemented, and |
1add368
to
98c7ec3
Compare
9150a0d
to
92c293e
Compare
Latest Travis-CI results on this branch:
|
ee7fb4c
to
578107b
Compare
@hjoliver - Got
Ran it 3 times to check consistency (but haven't run it on a different/faster machine). |
Thanks @dwsutherland - if you're happy that's the correct expected result, I'll make your change and leave the test like that for now. I see my latest change has caused the unit tests to fail 😬 (I know why though, easy to fix though). |
3e84f45
to
873b537
Compare
Unit tests fixed, 3 or 4 "absolute offset" tests broken now, as a result of previous change. Damn it, almost there. |
9bf6097
to
7535e12
Compare
All tests passing 💥 |
7535e12
to
db3e0b1
Compare
Done in latest commit. Other issues raised all addressed except for the "absolute triggers + sequential tasks" one. (I'll comment on that soon...) |
Update tests/functional/api-suite-info/01-get-graph-raw-2/suite.rc Update tests/functional/api-suite-info/02-get-graph-raw-3/suite.rc Update tests/functional/api-suite-info/03-get-graph-raw-4/suite.rc Co-authored-by: Melanie Hall <[email protected]>
04e1b61
to
e24780f
Compare
@dwsutherland - feedback addressed. Your examples above work, just need to |
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.
@hjoliver - Great, when trying to run the suite:
[scheduling]
initial cycle point = 20200101T00
[[special tasks]]
sequential = foo
[[dependencies]]
#R1 = wiz
P1M = """
#foo[-P1M] => foo
wiz[^] => foo
"""
I get the following:
(flow) sutherlander@cortex-vbox:wiz$ cylc validate wiz
TaskDefError: No cycling sequences defined for wiz
2020-07-29T12:34:40+12:00 INFO - Cold Start 20200101T0000+12
2020-07-29T12:34:40+12:00 INFO - Suite server: url=tcp://cortex-vbox:43093/ pid=10184
2020-07-29T12:34:40+12:00 INFO - Suite publisher: url=tcp://cortex-vbox:43064
2020-07-29T12:34:40+12:00 INFO - Run: (re)start=0 log=1
2020-07-29T12:34:40+12:00 INFO - Cylc version: 8.0a2
2020-07-29T12:34:40+12:00 INFO - Run mode: live
2020-07-29T12:34:40+12:00 INFO - Initial point: 20200101T0000+12
2020-07-29T12:34:40+12:00 INFO - Final point: None
2020-07-29T12:34:40+12:00 INFO - Suite shutting down - AUTOMATIC
2020-07-29T12:34:41+12:00 INFO - [client-command] identify sutherlander@cortex-vbox:cylc-uiserver
2020-07-29T12:34:41+12:00 INFO - DONE
(branch needs de-conflicted again)
Nice work! 🥇
Impressive work @hjoliver !!! 🍾 🍻 |
This one's big! I'm really happy to see this happening already for Cylc 8 🎉 🍾 🚀 |
(name, offset, output, | ||
offset_is_from_icp, offset_is_irregular, offset_is_absolute) | ||
|
||
TODO: offset_is_from_icp is '^' or None - should be boolean? |
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.
@hjoliver - does this need addressing still?
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.
Good spotting. The variable name suggests we thought the value is boolean. It's actually of no consequence as (I checked) the variable is only used in if
tests (where '^' vs None
behaves just like True
vs `False). However, I'll follow-up with a small change to make the code less obtuse.
Spawn on Demand implementation as per proposal https://cylc.github.io/cylc-admin/proposal-spawn-on-d.html
See #3474 (superseded) for earlier discussion and some proof of efficiency.
This branch:
What's still to do:
refine the cycle point based housekeeping to account for inter-cycle dependence(no longer needed)cylc spawn
for specific individual outputsRequirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.