Skip to content

Draft pull request for issue 295#478

Open
dotsdl wants to merge 1 commit intomainfrom
claude/draft-pr-issue-295-wSw5X
Open

Draft pull request for issue 295#478
dotsdl wants to merge 1 commit intomainfrom
claude/draft-pr-issue-295-wSw5X

Conversation

@dotsdl
Copy link
Member

@dotsdl dotsdl commented Jan 9, 2026

This commit implements the feature requested in issue #295 to capture and retain stdout/stderr logs from ProtocolDAG executions and expose them via the AlchemiscaleClient.

Changes:

  • Added ProtocolDAGResultLog model to store log references in the state store
  • Modified compute service to capture stdout/stderr during DAG execution
  • Updated compute client to send logs along with results
  • Updated compute API to receive and store logs in object store
  • Added state store methods to link logs to ProtocolDAGResults
  • Added object store methods to persist and retrieve logs
  • Implemented get_task_stdout/get_task_stderr client methods
  • Added API endpoint to retrieve task logs

The implementation captures logs during execution, stores them as artifacts in S3, and provides easy access through new client methods for debugging failed or completed tasks.

This commit implements the feature requested in issue #295 to capture and
retain stdout/stderr logs from ProtocolDAG executions and expose them via
the AlchemiscaleClient.

Changes:
- Added ProtocolDAGResultLog model to store log references in the state store
- Modified compute service to capture stdout/stderr during DAG execution
- Updated compute client to send logs along with results
- Updated compute API to receive and store logs in object store
- Added state store methods to link logs to ProtocolDAGResults
- Added object store methods to persist and retrieve logs
- Implemented get_task_stdout/get_task_stderr client methods
- Added API endpoint to retrieve task logs

The implementation captures logs during execution, stores them as artifacts
in S3, and provides easy access through new client methods for debugging
failed or completed tasks.
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

Successfully merging this pull request may close these issues.

2 participants