kkrunner.remote.RemoteEndpointExecutor

class kkrunner.remote.RemoteEndpointExecutor(transport, *, backend='local', backend_options=None, command=None, filesystem_id=None)[source]

Bases: Executor

Reusable remote endpoint with client-owned lifecycle state.

name = 'remote'
submission_directory(spec)[source]
resolve_submission(record, spec)[source]

Resolve the footprint without uploads, mkdir, or opening output files.

acknowledge_submission(run)[source]

Release temporary submission identity after client persistence.

acknowledge(run)[source]

Release a delivered receipt only after durable RunRecord completion.

status(*runs)[source]
recover_submission(run_id, submission, *, submitted_at=None)[source]
create_run(spec, callback=None)[source]
create_managed_run(spec, *, run_id, callback=None)[source]

Create backend execution for a caller-supplied persistent run ID.

RunManager owns the durable record; project membership is optional. Backends can override this hook to provide supervision and receipts.

fetch_result_files(run, files, *, destinations=None)[source]

Retrieve files, optionally staging each canonical local path.

destinations maps requested local paths to alternate local targets; the requested paths still select the remote sources. The caller owns verification and publication of staged downloads.

attach(run, callback=None, output_listener=None, start=True)[source]