hpcflow.sdk.monitoring.cache.refresh_actions#

hpcflow.sdk.monitoring.cache.refresh_actions(record, workflow, no_update=False, selection=None)#

Refresh unresolved runs and reuse immutable terminal states from disk.

Query only runs absent from the terminal cache and not covered by fresh queued parent observations or an execution cursor proving they are still in the future. Bootstrap the parent index once using jobscript block arrays and the runs read here. Merge newly terminal states under a lock and write atomically. no_update performs no cache or index writes. A write failure is reported on the summary without losing collected states; store-read failures propagate to the collection layer. Fresh scheduler evidence for an inactive parent marks recorded running runs as interrupted, even while other jobs keep the submission active. This display inference does not alter engine states or enter the terminal cache.

Parameters:
Return type:

ActionSummary