[PR #54] [CLOSED] installer: resume setup on rerun when config is missing #55

Closed
opened 2026-02-15 17:17:27 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openclaw/openclaw.ai/pull/54
Author: @ponderingdemocritus
Created: 2/12/2026
Status: Closed

Base: mainHead: ponderingdemocritus/rerunfix


📝 Commits (1)

  • 8c7f837 installer: rerun setup when config missing

📊 Changes

2 files changed (+106 additions, -20 deletions)

View changed files

📝 public/install.sh (+47 -20)
📝 scripts/test-install-sh-unit.sh (+59 -0)

📄 Description

Summary

  • fix installer rerun behavior so setup/onboarding still runs when config is missing
  • add explicit config detection helpers and setup gate logic
  • avoid hard exec handoff for onboarding so setup failures no longer terminate installer flow abruptly
  • keep existing --no-onboard and config-present skip behavior unchanged
  • add unit tests for config detection and rerun setup gating

Testing

  • bash scripts/test-install-sh-unit.sh
  • bash -n public/install.sh && bash -n scripts/test-install-sh-unit.sh

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openclaw/openclaw.ai/pull/54 **Author:** [@ponderingdemocritus](https://github.com/ponderingdemocritus) **Created:** 2/12/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `ponderingdemocritus/rerunfix` --- ### 📝 Commits (1) - [`8c7f837`](https://github.com/openclaw/openclaw.ai/commit/8c7f837c83d5e70fd94abd9b051356a9b14300d7) installer: rerun setup when config missing ### 📊 Changes **2 files changed** (+106 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `public/install.sh` (+47 -20) 📝 `scripts/test-install-sh-unit.sh` (+59 -0) </details> ### 📄 Description ## Summary - fix installer rerun behavior so setup/onboarding still runs when config is missing - add explicit config detection helpers and setup gate logic - avoid hard `exec` handoff for onboarding so setup failures no longer terminate installer flow abruptly - keep existing `--no-onboard` and config-present skip behavior unchanged - add unit tests for config detection and rerun setup gating ## Testing - `bash scripts/test-install-sh-unit.sh` - `bash -n public/install.sh && bash -n scripts/test-install-sh-unit.sh` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:17:27 -05:00
yindo closed this issue 2026-02-15 17:17:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/openclaw.ai#55