Skip to content

Commit 507b9f1

Browse files
committed
Revert "chore(cli): drop two unused runtime shadow imports"
The two names are reached through this module by the coordination-shadow command tests, which seed and read the shadow via the command surface, so removing the imports broke four of them. Restore the imports with a note so the seam is not mistaken for dead code again. Signed-off-by: wchwawa <wch19961116@gmail.com>
1 parent 1c1ce9e commit 507b9f1

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎loopx/cli_commands/coordination_shadow.py‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,15 @@
66
from collections.abc import Callable
77
from pathlib import Path
88

9-
from ..control_plane.coordination.runtime_shadow import (
9+
# The projection builder and lease loader are reached through this module by
10+
# tests that seed and read the shadow through the command surface; keep them
11+
# importable here even when the command does not call them directly.
12+
from ..control_plane.coordination.runtime_shadow import ( # noqa: F401
1013
bootstrap_coordination_runtime_shadow,
1114
build_runtime_shadow_source_snapshot,
15+
build_todo_runtime_shadow_projection,
1216
inspect_coordination_runtime_shadow,
17+
load_task_lease_runtime_shadow_records,
1318
qualify_coordination_runtime_shadow,
1419
read_coordination_runtime_shadow_todo_candidate,
1520
resolve_coordination_runtime_shadow_config,

0 commit comments

Comments
 (0)