-
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
Double-reload if command in job script #5865
Comments
This new block is the cause, but I haven't figured out exactly what's going on: cylc-flow/cylc/flow/scheduler.py Lines 1089 to 1112 in a965b91
|
Ah, some progress. It's because the same job gets submitted twice! (Not double-handling of queued commands during reload as I initially thought). It only happens if the task state hasn't updated yet, after job submission. So not a very serious bug after all, but still a bug. Workaround: script = """
cylc__job__wait_cylc_message_started
cylc reload $CYLC_WORKFLOW_ID
""" |
hmm, fishy. What state was the task in at this point? preparing or submitted? |
I can't reproduce with your original example
|
Bug introduced by this change: #5592
This results in two calls to the reload mutation, instead of one, and repeats the task status messages as well.
The text was updated successfully, but these errors were encountered: