hpcflow.sdk.monitoring.run_index#

Persistent run coordinates and parent jobscript elements for scheduler-only reads.

Functions

index_path

Return the sibling of terminal_states.json.zst without creating directories.

parent_elements

Read block ID arrays once, without constructing any EAR objects.

read_index

Read an index from disk or ZIP; invalid or foreign data forces normal reads.

scheduler_entries

Use queued states and runtime markers to avoid inspecting future actions.

write_index

Merge new metadata under a lock and atomically write compressed JSON.

Classes

RunIndex

Submission-scoped metadata, shared safely by different submission parts.

RunMetadata

Stable display coordinates and the zero-based parent scheduler array element.