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

Retain stdout, stderr logs from ProtocolDAGResults; expose access via AlchemiscaleClient #295

Open
dotsdl opened this issue Aug 27, 2024 · 1 comment

Comments

@dotsdl
Copy link
Member

dotsdl commented Aug 27, 2024

Some Protocols execute tools that emit log information to either STDOUT, STDERR, or both. The information in these streams can be critical for users to understand where their Tasks are going wrong in case of persistent failure.

We should capture these streams when compute services execute ProtocolDAGs, then preserve them as additional artifacts when submitting completed or failed ProtocolDAGResults back to the server. These log artifacts can be stored in the object store, with references in the state store.

We can then expose these artifacts via additional AlchemiscaleClient methods, such as:

  • get_task_stdout(task_sk) : return all stdout outputs from all ProtocolDAGResults associated with the given Task
  • get_task_stderr(task_sk) : return all stderr outputs from all ProtocolDAGResults associated with the given Task
@dotsdl
Copy link
Member Author

dotsdl commented Aug 28, 2024

CC: @JenkeScheen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment