fix: evolution.patch has no apply-validation step in CI or evolve.sh (#866)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-18 13:28:13 +00:00
parent da672070a6
commit 57b83b6fe9
2 changed files with 24 additions and 0 deletions

View file

@ -188,6 +188,11 @@ while true; do
PATCH_APPLIED=false
if [ "$HAS_PATCH" = "true" ]; then
log "[2/7] Applying evolution patches…"
if ! (cd "$REPO_ROOT" && git apply --check "$PATCH_FILE"); then
log " ERROR: evolution.patch needs regeneration — see tools/push3-evolution/evolution.conf"
log " Skipping run (patch does not apply to current tree)."
continue
fi
if (cd "$REPO_ROOT" && git apply "$PATCH_FILE"); then
PATCH_APPLIED=true
log " Patches applied OK"