feat(web): show GitHub readiness in AwoooP runs
This commit is contained in:
@@ -281,6 +281,7 @@ def validate(root: Path) -> None:
|
||||
"s2_66_awooop_approvals_github_primary_readiness_boundary",
|
||||
"s2_67_awooop_home_github_primary_readiness_summary",
|
||||
"s2_68_awooop_tenants_github_primary_readiness_scope",
|
||||
"s2_69_awooop_runs_github_primary_readiness_boundary",
|
||||
]
|
||||
assert_equal(
|
||||
"progress_delta_ledger.delta_ids",
|
||||
@@ -390,6 +391,11 @@ def validate(root: Path) -> None:
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
"show_awooop_tenants_github_primary_readiness_scope",
|
||||
)
|
||||
assert_contains(
|
||||
"rollup.next_safe_actions.action_ids",
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
"show_awooop_runs_github_primary_readiness_boundary",
|
||||
)
|
||||
|
||||
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")
|
||||
@@ -5327,6 +5333,62 @@ def validate(root: Path) -> None:
|
||||
key,
|
||||
)
|
||||
|
||||
assert_text_contains(
|
||||
"awooop_runs_page.github_run_boundary_panel",
|
||||
awooop_runs_page,
|
||||
"GitHubRunReadinessBoundaryPanel",
|
||||
)
|
||||
assert_text_contains(
|
||||
"awooop_runs_page.github_run_boundary_metrics",
|
||||
awooop_runs_page,
|
||||
"githubRunReadinessMetrics",
|
||||
)
|
||||
assert_text_contains(
|
||||
"awooop_runs_page.github_run_boundary_iwooos_link",
|
||||
awooop_runs_page,
|
||||
'href="/iwooos"',
|
||||
)
|
||||
for text in [
|
||||
"source_control_primary_readiness_gate_v1",
|
||||
"source_control_owner_response_validation_rollup_v1",
|
||||
"source_control_workflow_secret_name_inventory_v1",
|
||||
"source_control_primary_rollback_adr_v1",
|
||||
"security_run_created=false",
|
||||
"github_primary_run_created=false",
|
||||
"execution_router_linked=false",
|
||||
"repo_creation_authorized=false",
|
||||
"refs_mutation_authorized=false",
|
||||
"workflow_secret_modification_authorized=false",
|
||||
"secret_value_collection_allowed=false",
|
||||
"github_primary_switch_authorized=false",
|
||||
"gitea_disablement_authorized=false",
|
||||
"runtime_execution_authorized=false",
|
||||
"action_buttons_allowed=false",
|
||||
]:
|
||||
assert_text_contains("awooop_runs_page.github_run_boundary", awooop_runs_page, text)
|
||||
for key in [
|
||||
"title",
|
||||
"subtitle",
|
||||
"badge",
|
||||
"openIwooos",
|
||||
"runRefsTitle",
|
||||
"boundaryLabel",
|
||||
"boundaryTitle",
|
||||
"boundaryDetail",
|
||||
"metrics",
|
||||
"runRefs",
|
||||
]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.awooop.runs.githubRunReadinessBoundary",
|
||||
list(web_messages_zh["awooop"]["runs"]["githubRunReadinessBoundary"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.awooop.runs.githubRunReadinessBoundary",
|
||||
list(web_messages_en["awooop"]["runs"]["githubRunReadinessBoundary"].keys()),
|
||||
key,
|
||||
)
|
||||
|
||||
assert_text_contains("awooop_approvals_page.security_owner_response_panel", awooop_approvals_page, "SecurityOwnerResponseGatePanel")
|
||||
assert_text_contains("awooop_approvals_page.iwooos_link", awooop_approvals_page, 'href="/iwooos"')
|
||||
for text in [
|
||||
|
||||
Reference in New Issue
Block a user