-
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 jobs are created if task is in waiting state #6176
Ensure jobs are created if task is in waiting state #6176
Conversation
b3b003c
to
c6a52e6
Compare
@@ -1536,10 +1536,11 @@ def _insert_task_job( | |||
job_conf = itask.jobs[-1] | |||
|
|||
# insert job into data store | |||
job_status = 'submitted' if submit_status == 0 else 'submit-failed' | |||
self.data_store_mgr.insert_job( |
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.
This method takes a job status, not a task status. If the task status is 'waiting' it returns None and doesn't register the job with the data store.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
a4b96c6
to
0667309
Compare
529429d
to
5b406d8
Compare
tests/integration/tui/screenshots/test_auto_expansion.later-time.html
Outdated
Show resolved
Hide resolved
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.
Makes sense, tested as working 👍
(rebase to pick up flake8 fixes on upstream/8.3.x) |
7aef19a
to
98620f1
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.
LGTM
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 manually
c584830
to
a8d39eb
Compare
Update tui test KGO added a test Apply suggestions from code review Co-authored-by: Oliver Sanders <[email protected]>
a8d39eb
to
c0ae6b8
Compare
Closes #6172
Repro:
With
global.cylc
:Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
(andconda-environment.yml
if present).CHANGES.md
entry included if this is a change that can affect users?.?.x
branch.