feat(web): surface GitHub readiness in AwoooP work items
This commit is contained in:
@@ -276,6 +276,7 @@ def validate(root: Path) -> None:
|
||||
"s2_61_audit_engineering_pages_iwooos_reverse_bridge",
|
||||
"s2_62_iwooos_frontend_surface_connection_board",
|
||||
"s2_63_iwooos_github_primary_readiness_board",
|
||||
"s2_64_awooop_work_items_github_primary_readiness_candidate",
|
||||
]
|
||||
assert_equal(
|
||||
"progress_delta_ledger.delta_ids",
|
||||
@@ -360,6 +361,11 @@ def validate(root: Path) -> None:
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
"show_iwooos_github_primary_readiness_board",
|
||||
)
|
||||
assert_contains(
|
||||
"rollup.next_safe_actions.action_ids",
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
"show_awooop_work_items_github_primary_readiness_candidate",
|
||||
)
|
||||
|
||||
assert_equal("rollout_policy.schema_version", rollout_policy["schema_version"], "security_rollout_policy_v1")
|
||||
assert_equal("rollout_policy.default_mode", rollout_policy["default_mode"], "observe")
|
||||
@@ -5041,11 +5047,17 @@ def validate(root: Path) -> None:
|
||||
)
|
||||
|
||||
assert_text_contains("awooop_work_items_page.security_mirror_item", awooop_work_items_page, "iwooosSecurityMirror")
|
||||
assert_text_contains("awooop_work_items_page.github_primary_item", awooop_work_items_page, "githubPrimaryReadiness")
|
||||
assert_text_contains(
|
||||
"awooop_work_items_page.security_mirror_source",
|
||||
awooop_work_items_page,
|
||||
"security_mirror_status_rollup_v1 / iwooos_posture_projection_v1",
|
||||
)
|
||||
assert_text_contains(
|
||||
"awooop_work_items_page.github_primary_source",
|
||||
awooop_work_items_page,
|
||||
"source-control-primary-readiness-gate.snapshot.json / iwooos_posture_projection_v1",
|
||||
)
|
||||
assert_text_contains("awooop_work_items_page.security_mirror_href", awooop_work_items_page, 'href: "/iwooos"')
|
||||
assert_text_contains("awooop_work_items_page.security_mirror_status", awooop_work_items_page, 'status: "watching"')
|
||||
for key in ["iwooos"]:
|
||||
@@ -5070,6 +5082,16 @@ def validate(root: Path) -> None:
|
||||
list(web_messages_en["awooop"]["workItems"][section].keys()),
|
||||
"iwooosSecurityMirror",
|
||||
)
|
||||
assert_contains(
|
||||
f"web_messages.zh-TW.awooop.workItems.{section}",
|
||||
list(web_messages_zh["awooop"]["workItems"][section].keys()),
|
||||
"githubPrimaryReadiness",
|
||||
)
|
||||
assert_contains(
|
||||
f"web_messages.en.awooop.workItems.{section}",
|
||||
list(web_messages_en["awooop"]["workItems"][section].keys()),
|
||||
"githubPrimaryReadiness",
|
||||
)
|
||||
for key in ["iwooosSecurityMirrorOwner", "iwooosSecurityMirrorBoundary"]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.awooop.workItems.evidence",
|
||||
@@ -5081,6 +5103,17 @@ def validate(root: Path) -> None:
|
||||
list(web_messages_en["awooop"]["workItems"]["evidence"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in ["githubPrimaryOwnerResponses", "githubPrimaryWorkflowNames", "githubPrimaryBoundary"]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.awooop.workItems.evidence",
|
||||
list(web_messages_zh["awooop"]["workItems"]["evidence"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.awooop.workItems.evidence",
|
||||
list(web_messages_en["awooop"]["workItems"]["evidence"].keys()),
|
||||
key,
|
||||
)
|
||||
|
||||
assert_text_contains(
|
||||
"awooop_tenants_page.security_tenant_scope_panel",
|
||||
|
||||
Reference in New Issue
Block a user