hpcflow.sdk.monitoring.registry#

Independent, versioned submission history used by show and cancellation.

Functions

atomic_bytes

Atomically replace a binary cache using a flushed temporary sibling.

atomic_json

Write JSON through a temporary sibling and atomically replace the destination.

file_lock

An OS-managed lock, released even if its owner exits unexpectedly.

job_record

Snapshot scheduler settings and references without retaining a live jobscript.

new_record

Build an unregistered submission-part record with optional saved names.

recent_key

Prefer finish, inactivity, start, then submit time when ordering inactive history.

sort_timestamp

Convert ISO or legacy naive UTC timestamps to sortable seconds, using zero on error.

timestamp

Return the current aware UTC timestamp in the registry's ISO string format.

Classes

SubmissionRegistry

Persist submission history independently of workflow-store readability.