Host-owned, synchronous fsynced pre-admission Kernel attempts.
RouteAttemptJournal(path: str | Path, *, release_version: str, deployment_id: str)
Bases: FallbackJournal
Durable metadata callback; neither body dispatch nor successful admission.
Source code in src/symfonic/platform/fallback_journal.py
| def __init__(
self,
path: str | Path,
*,
release_version: str,
deployment_id: str,
) -> None:
if _label(release_version) == "unknown" or _label(deployment_id) == "unknown":
raise ValueError("attribution requires bounded non-sensitive version/deployment labels")
try:
import fcntl
except ImportError as exc:
raise RuntimeError("FallbackJournal requires POSIX local file locking") from exc
self._locking = fcntl
self._path = Path(path)
self._release_version = release_version
self._deployment_id = deployment_id
|