-
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
Ensure that UUID is retrieved from database on workflow restart. #5623
Conversation
It's a little more complex than this. The UUID is already being loaded on restart: cylc-flow/cylc/flow/scheduler.py Lines 1330 to 1332 in 6b4055d
But it's not happening at the right time (search for cylc-flow/cylc/flow/scheduler.py Lines 386 to 407 in 6b4055d
To close #5615, we need to remove the UUID which gets set in This is kinda similar to the |
c27ce7b
to
ed0d228
Compare
8f599f8
to
cfa06fe
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.
Looks good, I have some suggestions at wxtim#56
- Set Scheduler UUID at same place regardless of restart or not - Fix references to "uuid_str" -> "uuid" in docs - Tidy
Co-authored-by: Oliver Sanders <oliver.sanders@metoffice.gov.uk>
…lc into fix.get_uuid_from_db_on_restart * 'fix.get_uuid_from_db_on_restart' of github.com:wxtim/cylc: Update tests/integration/test_scheduler.py
It is user-facing in that the contact file is user facing and the UUID is printed to the log. However most users won't care about this so I guess a changelog entry isn't needed? |
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.
👍
Co-authored-by: Oliver Sanders <oliver.sanders@metoffice.gov.uk>
275576e
to
43f6c31
Compare
@MetRonnie - It's three weeks since you approved - want to have a double check? |
Can you get the tests to run? The last commit included |
…db_on_restart * upstream/8.2.x: Update etc/bin/swarm GH Actions: attempt FF merge for sync GH Actions: always create separate sync branch Fix style Tweak swarm configure. Changelog Towncrier: run draft build as part of fast tests Bump dev version (cylc#5637) Prepare release 8.2.0 Use towncrier for changelog generation Fix changelog Tidy CLI help text cylc clean remote re-invocation: don't scan for workflows
43f6c31
to
e1a7440
Compare
Yes, barring CodeCov. |
Closes #5615
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
(andconda-environment.yml
if present).Not currently a user facing change.CHANGES.md
entry included if this is a change that can affect usersCylc-Doc pull request opened if required at cylc/cylc-doc/pull/XXXX.?.?.x
branch.