Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions rlix/pipeline/miles_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,14 @@ def _validate_topology(self, pipeline_config: Any) -> None:
return
try:
from miles.utils.rlix_validation import assert_rlix_topology
except Exception as exc: # noqa: BLE001
except ModuleNotFoundError as exc:
# miles not installed (test/dev fixture). A partial or broken
# install raises ImportError/SyntaxError and must NOT be swallowed
# here — in production miles is always importable, so those signal
# a real bug and should fail fast.
logger.warning(
"MilesPipeline: miles.utils.rlix_validation unavailable; "
"skipping startup validation: %r",
"MilesPipeline: miles not installed; skipping F10 startup "
"validation (test-fixture path): %r",
exc,
)
return
Expand Down