From f83a16d6da67d6237cd03150752c8ba0110a37cc Mon Sep 17 00:00:00 2001 From: pingqiu Date: Tue, 23 Jun 2026 14:45:18 -0700 Subject: [PATCH] phase56: fix rebuild contract gate action assertion --- .../run-phase56-returned-replica-rebuild-contract-gate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seaweed-block/scripts/run-phase56-returned-replica-rebuild-contract-gate.sh b/seaweed-block/scripts/run-phase56-returned-replica-rebuild-contract-gate.sh index cb0797ff63..5606180877 100644 --- a/seaweed-block/scripts/run-phase56-returned-replica-rebuild-contract-gate.sh +++ b/seaweed-block/scripts/run-phase56-returned-replica-rebuild-contract-gate.sh @@ -131,7 +131,7 @@ SNAPSHOT_JSON="${REPORT_DIR}/operator-snapshot.json" assert_file_contains "summary_rebuild_preflight_ready" "${SUMMARY_TXT}" '^managed_volume_executor_preflight=authority\.rebuild_returned_replica target=r1 decision=ready reason=preconditions_satisfied mode=dry_run executor=authority_recovery_executor mutation_allowed=false .*required_lsn=4241 durable_lsn=4240$' assert_file_contains "summary_rebuild_contract_disabled" "${SUMMARY_TXT}" '^managed_volume_executor_contract=authority\.rebuild_returned_replica target=r1 decision=disabled reason=executor_policy_disabled executor=authority_recovery_executor execution_enabled=false mutation_allowed=false allowed_mutation=rebuild_traffic terminal_evidence=frontend_fenced_before_rebuild,primary_unchanged,durable_frontier_caught_up,no_frontend_publication,no_cross_volume_identity_change$' -assert_file_contains "summary_rebuild_action_disabled" "${SUMMARY_TXT}" '^managed_volume_action=authority\.rebuild_returned_replica mode=dry_run side_effect=authority_mutating executor=authority_recovery_executor decision=rejected reason=policy_disabled mutation_allowed=false' +assert_file_contains "summary_rebuild_action_disabled" "${SUMMARY_TXT}" '^managed_volume_action=authority\.rebuild_returned_replica mode=dry_run side_effect=authority_mutating executor=authority_recovery_executor decision=rejected reason=policy_disabled$' assert_file_contains "explain_rebuild_contract_disabled" "${ARTIFACT_DIR}/explain.txt" '^managed_volume_executor_contract authority\.rebuild_returned_replica target=r1 decision=disabled reason=executor_policy_disabled executor=authority_recovery_executor execution_enabled=false mutation_allowed=false allowed_mutation=rebuild_traffic terminal_evidence=frontend_fenced_before_rebuild,primary_unchanged,durable_frontier_caught_up,no_frontend_publication,no_cross_volume_identity_change$' python3 - "${SNAPSHOT_JSON}" <<'PY'