Skip to content

Hot reload triggers SIGTERM causing gateway restart when modifying channel config #43049

Description

@leekenny

Repeated Steps:

Modify any feishu channel configuration (e.g., openclaw channels remove --channel feishu --account main --delete then re-add)
Gateway detects config change and attempts hot reload
After hot reload completes, gateway receives SIGTERM and shuts down
LaunchAgent restarts gateway (if KeepAlive enabled)

Datalog:
17:33:07 config change detected; evaluating reload (channels.feishu.streaming, channels.feishu.accounts)
17:33:07 restarting feishu channel
17:33:07 config hot reload applied
17:33:12 signal SIGTERM received ← After reload completes
17:33:12 received SIGTERM; shutting down

Environment:
OpenClaw: 2026.3.8
macOS: Darwin 24.6.0
Node: 24.14.0
Service: LaunchAgent (KeepAlive=false after modification)
frequency: Every config change triggers this

Attached Info:

This might explain random SIGTERM events observed earlier
Before this discovery, gateway was crashing ~every 10-20 minutes with no apparent cause

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions