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

better cylc set --output logging #6018

Open
hjoliver opened this issue Mar 11, 2024 · 0 comments
Open

better cylc set --output logging #6018

hjoliver opened this issue Mar 11, 2024 · 0 comments
Labels
could be better Not exactly a bug, but not ideal.
Milestone

Comments

@hjoliver
Copy link
Member

hjoliver#47 (comment)

From @oliver-sanders:

If you set multiple outputs on a task, then they will be set one by one. After each output is set, tasks may spawn, have their runahead status changed or be queued. This makes the logs a bit hard to read as log entries relating to the outputs being set are dispersed amongst log entries from other activities.
@hjoliver, would it be possible (follow-on work) to do all the output setting first, and delay the downstream consequences until the end of the routine to avoid this?

The problem stems from the fact that output completion follows the same code paths (from the task events manager) for both natural and manual completion. That's partly historical (the set-outputs command has been around for a while) and partly because we want most of the same consequences to follow from natural and manual output completion: task events, task completion, state change, and spawning of children.

It might be better to more clearly separate the handling of natural and manual output completion.

@hjoliver hjoliver added the could be better Not exactly a bug, but not ideal. label Mar 11, 2024
@hjoliver hjoliver added this to the cylc-8.x milestone Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
could be better Not exactly a bug, but not ideal.
Projects
None yet
Development

No branches or pull requests

1 participant