hpcflow.sdk.monitoring.runs.RunRecord#
- class hpcflow.sdk.monitoring.runs.RunRecord(run_id, task_id, task_name, element, iteration, action, action_name, attempt, submission, jobscript, state, exit_code, task_idx=None, host=None, start=None, end=None, duration=None, array_idx=None, end_size_bytes=None)#
Bases:
objectAn individual action attempt and its location in the workflow.
Keep run IDs distinct from per-action attempt indices. Include the action’s short name, submission/jobscript indices, and program exit code so failed attempts can be located. Jobscript indices are local to each submission. Task indices refer to current workflow order; array indices are zero-based scheduler array items. Times and host describe the recorded execution, while running durations are elapsed at the collection instant.
Methods
Attributes
- Parameters:
run_id (int)
task_id (int)
task_name (str)
element (int)
iteration (int)
action (int)
action_name (str)
attempt (int)
submission (int | None)
jobscript (int | None)
state (EARStatus)
exit_code (int | None)
task_idx (int | None)
host (str | None)
start (datetime | None)
end (datetime | None)
duration (timedelta | None)
array_idx (int | None)
end_size_bytes (int | None)