WORKER_READY_MARKER_PREFIX

Constant WORKER_READY_MARKER_PREFIX 

Source
pub const WORKER_READY_MARKER_PREFIX: &str = "/tmp/ktstr-worker-ready-";
Expand description

Prefix for the pid-scoped ready-marker path. The final segment is the worker’s pid rendered as a decimal ASCII integer.

Exported as a pub const for symmetry with the other items in this module (WORKER_READY_MARKER_OVERRIDE_ENV, worker_ready_marker_path, WORKER_STDERR_PREFIX) — every symbol that represents a piece of the worker-ready / worker- stderr wire contract is pub so host-side integration tests in tests/ can assert on the exact literal the worker and the probe depend on, without the test file having to duplicate the string. Downstream callers (the worker binary’s ready-path write, the host-side poll in wait_for_worker_ready) normally route through worker_ready_marker_path rather than concatenating this prefix themselves; the prefix is exposed for assertion use, not as the preferred construction path.