-
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
Fix clock trigger execution retry delay bug #5286
Conversation
09a16f3
to
e534e0d
Compare
This comment was marked as outdated.
This comment was marked as outdated.
d8d6650
to
da73dc1
Compare
if ( | ||
itask.tdef.run_mode + ' mode' in rtconfig and | ||
'disable retries' in rtconfig[itask.tdef.run_mode + ' mode'] | ||
): | ||
retry = False |
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 think this is left behind from an old configuration we removed at Cylc 8?
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.
according to the Cylc 7 code these were obseleted at 7.2.2
da73dc1
to
46c7bae
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.
I see you've now removed __slots__
declarations from the Interval subclasses. Python docs seems to say this means instances will get an attributes dict as well:
The action of a slots declaration is not limited to the class where it is defined. slots declared in parents are available in child classes. However, child subclasses will get a dict and weakref unless they also define slots (which should only contain names of any additional slots).
I guess that means subclasses with no additional attributes should declare an empty slots tuple?
46c7bae
to
5f6dac5
Compare
Could you bump |
5f6dac5
to
dd1ceaa
Compare
Done |
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.
LGTM.
Should try to get rid of the sleep in the test as sleeps are a major cause of test flakyness. If the sleep is functional the test could be run in no-detach mode to avoid the issue.
dd1ceaa
to
21e97a6
Compare
They are apparently looking into the upload failure issue. |
I'll be happy to merge once the tests have passed. |
Closes #5217
Fix bug where old-style clock triggered tasks would skip execution retry delays and just retry immediately.
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.CHANGES.md
entry included if this is a change that can affect users