Skip to content

Commit

Permalink
Include severity in delta for task message
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Sep 1, 2023
1 parent 801c1be commit 04a5f07
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cylc/flow/task_events_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,11 +591,10 @@ def process_message(
itask, severity, message, event_time, flag, submit_num):
return None

new_msg = f'{severity}:{message}'
# always update the workflow state summary for latest message
if flag == self.FLAG_POLLED:
new_msg = f'{message} {self.FLAG_POLLED}'
else:
new_msg = message
new_msg = f'{new_msg} {self.FLAG_POLLED}'

Check warning on line 597 in cylc/flow/task_events_mgr.py

View check run for this annotation

Codecov / codecov/patch

cylc/flow/task_events_mgr.py#L597

Added line #L597 was not covered by tests
self.data_store_mgr.delta_job_msg(
itask.tokens.duplicate(job=str(submit_num)),
new_msg
Expand Down

0 comments on commit 04a5f07

Please sign in to comment.