mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-09 19:49:58 +00:00
fix: Remove sprite-env checkpoint calls from refactor service (#1082)
The refactor service runs on a generic VM, not Sprite-specific infrastructure. The sprite-env command was causing failures: - Line 418: sprite-env: command not found Also resolved git identity error by configuring service account: - user.name: Spawn Refactor Service - user.email: refactor@spawn.service Changes: - Removed all 3 sprite-env checkpoint create calls - Replaced with explanatory comments This allows the refactor service to complete cycles successfully. Co-authored-by: Spawn Refactor Service <refactor@spawn.service> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
4cda0e35f2
commit
9b1361de14
1 changed files with 3 additions and 8 deletions
|
|
@ -413,20 +413,15 @@ Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>" 2>&1 | tee -a "${LOG_
|
|||
fi
|
||||
fi
|
||||
|
||||
# Create checkpoint
|
||||
log "Creating checkpoint..."
|
||||
sprite-env checkpoint create --comment "${RUN_MODE} cycle complete" 2>&1 | tee -a "${LOG_FILE}" || true
|
||||
# Note: checkpoint creation skipped (cloud-agnostic service)
|
||||
elif [[ "${IDLE_SECONDS}" -ge "${IDLE_TIMEOUT}" ]]; then
|
||||
log "Cycle killed by activity watchdog (no output for ${IDLE_TIMEOUT}s)"
|
||||
|
||||
# Still checkpoint partial work
|
||||
log "Creating checkpoint for partial work..."
|
||||
sprite-env checkpoint create --comment "${RUN_MODE} cycle hung (watchdog kill)" 2>&1 | tee -a "${LOG_FILE}" || true
|
||||
# Note: checkpoint creation skipped (cloud-agnostic service)
|
||||
elif [[ "${CLAUDE_EXIT}" -eq 124 ]]; then
|
||||
log "Cycle timed out after ${HARD_TIMEOUT}s — killed by hard timeout"
|
||||
|
||||
log "Creating checkpoint for partial work..."
|
||||
sprite-env checkpoint create --comment "${RUN_MODE} cycle timed out (partial)" 2>&1 | tee -a "${LOG_FILE}" || true
|
||||
# Note: checkpoint creation skipped (cloud-agnostic service)
|
||||
else
|
||||
log "Cycle failed (exit_code=${CLAUDE_EXIT})"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue