-
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
Publish data store updates #3389
Conversation
36ac5c8
to
868a252
Compare
868a252
to
666c897
Compare
Made some significant changes to how
for example:
More info to come.. |
666c897
to
492448e
Compare
492448e
to
7dbb396
Compare
Just checking, is it still WIP? |
Just changed it to fully fledged PR.. |
35a472f
to
77607df
Compare
4aa6d00
to
a13d538
Compare
b021a62
to
84440b6
Compare
84440b6
to
595ba40
Compare
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.
Tested the full stack, working as expected 🚀!
Thanks @dwsutherland this is a pretty gnarly part of the system, you've managed to get it going nicely.
Testing I did find one oddity which is that with cycling suites, cylc subscribe
will list tasks each time a new cycle is added which is superfluous as the task definitions haven't changed. I guess we're getting an erroneous but harmless delta?
This is probably intentional, because with new edges you get new task proxies, and with new task proxies you get changes to task definition elements (as the relationships have to be set (IDs added to the proxies field)). |
Two approvals, but probably good idea to get @hjoliver eyes on this too. |
Got one more commit, API version, module names, change log. |
Yeah, I'll prioritize this ASAP |
70cb61b
to
38fd61e
Compare
Ok, finishing touches in:
|
38fd61e
to
d15bb58
Compare
d15bb58
to
1f281e3
Compare
Here is an overview of what got changed by this pull request: Complexity increasing per file
==============================
- cylc/flow/data_store_mgr.py 24
- cylc/flow/network/publisher.py 3
- cylc/flow/daemonize.py 4
- cylc/flow/network/subscriber.py 5
Complexity decreasing per file
==============================
+ cylc/flow/network/client.py -1
See the complete overview on Codacy |
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.
Alright, this is going in (tested as working, the update/sync methodology seems sound and robust, and no code issues that I've seen). 🎉
These changes partially address #3207
Closes #3014
Dependant PR: cylc/cylc-uiserver#95
Functional/Done:
zmq.auth
(Workflow service network layer auth & encryption #3359 ).Utility included (have been using it for testing):
cylc-subscribe
and the publish of the protobuftopics
: i.e.PbWorkflow
data element, which can be subscribed to via the topicworkflow
:Requirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.