e14c4963bf3ad0f67e9ecf82a081acae159d821b
hiram
  Sat Jun 13 23:03:16 2026 -0700
restore the galaxy cleanup step refs #31811

diff --git src/hg/utils/otto/userRequests/ottoRequestWatch.sh src/hg/utils/otto/userRequests/ottoRequestWatch.sh
index f7c075a7d29..69e38df6291 100755
--- src/hg/utils/otto/userRequests/ottoRequestWatch.sh
+++ src/hg/utils/otto/userRequests/ottoRequestWatch.sh
@@ -501,33 +501,33 @@
   /cluster/bin/x86_64/${hgSql} -N -e \
       "UPDATE ottoRequest SET status = 5 WHERE id=${reqId};" ${centDb}
 done < <(/cluster/bin/x86_64/${hgSql} -N -B -e \
   "SELECT id, buildDir FROM ottoRequest \
    WHERE status = 4 AND buildDir != '' AND requestType = 'liftOver';" ${centDb})
 
 ############################################################################
 # phase 4: check for push files is complete, send final notification
 #          clean up galaxy workflow
 ############################################################################
 
 while IFS=$'\t' read -r reqId fromDb toDb comment requestTime buildDir; do
   # time to clean up the galaxy history and workflow to release the space
   if [ -s "${buildDir}/successInvocationId.txt" ]; then
     invocationId=$(cut -f2 "${buildDir}/successInvocationId.txt")
-#    if ! "${scriptDir}/galaxyCleanup.py" "${profileJson}" "${invocationId}"; then
+    if ! "${scriptDir}/galaxyCleanup.py" "${profileJson}" "${invocationId}"; then
       printf "# WARNING: galaxy cleanup failed for request %s\n" "${reqId}" 1>&2
-#    fi
+    fi
   fi
 
   if ! fromUrl="$(liftOverUrl "${fromDb}" "${toDb}")"; then
     setErrorStatus "${reqId}"
     continue
   fi
   if ! toUrl="$(liftOverUrl "${toDb}" "${fromDb}")"; then
     setErrorStatus "${reqId}"
     continue
   fi
   # source the kegAlign.sh variables to get targetDb, queryDb, and swapDir
   targetDb="" queryDb="" swapDir=""
   if [[ -f "${buildDir}/kegAlign.sh" ]]; then
     source <(grep -E '^export (swapDir|targetDb|queryDb)=' "${buildDir}/kegAlign.sh" 2>/dev/null || true)
   fi