hydra.build.syncmatrix module

Pure sync-matrix (package, target) planning core shared by the sync driver.

hydra.build.syncmatrix.cross_host_cells(hosts: Sequence[str], targets: Sequence[str]) Sequence[tuple[str, str]]

Rule 3: (hydra-target, host) for every (host, target) with host /= haskell.

hydra.build.syncmatrix.kernel_cells(lang_union: Sequence[T0]) Sequence[tuple[str, T0]]

Rule 1: (hydra-kernel, L) for every L in (hosts union targets).

hydra.build.syncmatrix.package_for_language(lang: str) str

The distribution package for a language’s coder, read from the registry (data-driven; corrects the former hydra-<lang> rule for the Lisp dialects, which all share hydra-lisp).

hydra.build.syncmatrix.root_coder_cells(lang_union: Sequence[str]) Sequence[tuple[str, str]]

Rule 2: (hydra-L, <rootCoderHost>) for every L in (hosts union targets) — the root coder host is read from the registry, not hardcoded.

hydra.build.syncmatrix.sync_matrix(hosts: Sequence[str], targets: Sequence[str]) Sequence[tuple[str, str]]

The full (package, target) sync matrix for a (hosts, targets) request.