phenotypic.sdk_.pipeline_publication_lock_path#

phenotypic.sdk_.pipeline_publication_lock_path(config_path: Path) Path[source]#

Return the shared interprocess lock path for pipeline publication.

Every production writer of a canonical output pipeline must acquire this lock before checking a source generation or replacing the file. The lock is intentionally about publication, not one particular migration, so CLI, QC, Analysis, and compatibility writers serialize against each other.

Legacy pipeline.json and canonical pipeline.json.pht-pipe paths intentionally map to the same output-level identity. This prevents a V1 reader/writer and a V2 writer from bypassing one another merely because they selected different compatibility filenames.

Parameters:

config_path (Path)

Return type:

Path