Skip to content

Commit 856ae34

Browse files
committed
fix: preserve adaptive repair profile compatibility
1 parent dc656f1 commit 856ae34

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/adaptive_runtime/runtime_repair.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,11 +339,12 @@ def _materialize_repair(
339339
repaired["sha256"] = digest
340340
repaired["bytes"] = len(patched)
341341
repaired["local_patches"] = list(candidate.get("local_patches") or []) + records
342+
runtime_profile = "" if profile_name == "adaptive_runtime_recovery" else profile_name
342343
repaired["runtime_repair"] = {
343344
"parent_key": parent_key,
344345
"parent_sha256": parent_digest,
345346
"round": round_number,
346-
"profile": profile_name,
347+
"profile": runtime_profile,
347348
"strategy": profile_name,
348349
"revision": revision,
349350
}

0 commit comments

Comments
 (0)