Skip to content
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

workflow status message: explain why a workflow is stopped #618

Open
oliver-sanders opened this issue Aug 5, 2024 · 0 comments
Open

workflow status message: explain why a workflow is stopped #618

oliver-sanders opened this issue Aug 5, 2024 · 0 comments
Milestone

Comments

@oliver-sanders
Copy link
Member

oliver-sanders commented Aug 5, 2024

The UIS provides a "status message" for stopped workflows (because there is no scheduler around to do so). Currently this only differentiates between a workflow which has or has not yet run.

A workflow might stop for several reasons:

  • It ran to completion.
  • It was requested to stop (clean, kill, now, now-now, stop-after-cycle, stop-after-task).
  • It hit the inactivity timeout.
  • It stalled and hit the stall timeout.
  • It crashed.

It would be immensely helpful to make this context available in the workflow status message.

Unfortunately, there is no obvious way to achieve this. The reason for the shutdown is recorded in the workflow log (except in the niche case that the workflow crashed because the filesystem went offline / died), but it is not recorded in a more machine-readable format.

Perhaps we should save this information (when we are able) to another file. See the same suggestion on cylc/cylc-flow#5701

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant