補強 compact readback apply receipt fallback
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
This commit is contained in:
@@ -5089,7 +5089,16 @@ def build_pchome_direct_mapping_retry_candidate_exception_controlled_apply_compa
|
||||
replay_hash_match_count = int(replay_summary.get("executor_receipt_hash_match_count") or 0)
|
||||
drift_hash_match_count = int(drift_summary.get("drift_verifier_artifact_hash_match_count") or 0)
|
||||
recovery_hash_match_count = int(recovery_summary.get("recovery_artifact_hash_match_count") or 0)
|
||||
apply_hash_match_count = 1 if apply_receipt.get("exists") and len(str(apply_receipt.get("payload_sha256") or "")) == 64 else 0
|
||||
if not apply_receipt.get("exists") and replay_hash_match_count:
|
||||
apply_receipt = _compact_package_artifact_readback(
|
||||
replay,
|
||||
"retry_exception_controlled_apply_executor_replay_receipt",
|
||||
)
|
||||
apply_receipt["fallback_from"] = "receipt_replay_apply_closeout"
|
||||
apply_hash_match_count = 1 if (
|
||||
bool(apply_receipt.get("hash_match"))
|
||||
or (apply_receipt.get("exists") and len(str(apply_receipt.get("payload_sha256") or "")) == 64)
|
||||
) else 0
|
||||
|
||||
if drift_count:
|
||||
result = "DIRECT_MAPPING_RETRY_EXCEPTION_CONTROLLED_APPLY_COMPACT_READBACK_DRIFT_REQUIRES_RECOVERY"
|
||||
|
||||
Reference in New Issue
Block a user