fix(hololake): align architecture sensor projection
This commit is contained in:
parent
3f5e0fa09e
commit
359e11fe6f
1 changed files with 7 additions and 2 deletions
|
|
@ -163,6 +163,11 @@ def build(development_id: str | None, refresh: bool) -> dict[str, Any]:
|
|||
if not isinstance(read_order, list) or not read_order or not all(isinstance(item, str) for item in read_order):
|
||||
raise PromptError("current_architecture_read_order_invalid")
|
||||
public_stage = architecture.get("first_public_product_stage")
|
||||
realtime_transport = (
|
||||
public_stage.get("realtime_transport")
|
||||
if isinstance(public_stage, dict)
|
||||
else None
|
||||
)
|
||||
if (
|
||||
not isinstance(public_stage, dict)
|
||||
or public_stage.get("record_id") != "HLP-PUBLIC-OS-STAGE1-20260830-001"
|
||||
|
|
@ -170,8 +175,8 @@ def build(development_id: str | None, refresh: bool) -> dict[str, Any]:
|
|||
or public_stage.get("is_personal_channel") is not False
|
||||
or public_stage.get("initial_channel_surface")
|
||||
!= "INFINITE_BLANK_CANVAS_WITH_SIGNED_DECLARATIVE_MODULES"
|
||||
or public_stage.get("realtime_transport")
|
||||
!= "NOT_IMPLEMENTED_GIT_IS_NOT_REALTIME_BROADCAST"
|
||||
or not isinstance(realtime_transport, str)
|
||||
or "GIT_IS_NOT_REALTIME_BROADCAST" not in realtime_transport
|
||||
):
|
||||
raise PromptError("public_os_stage_one_projection_invalid")
|
||||
stage_state = tcs_stage_gate.get("stage_gate")
|
||||
|
|
|
|||
Loading…
Reference in a new issue