openclaw - 💡(How to fix) Fix Heartbeat silently stops after ~20h despite #52270 fix in 2026.3.28 [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#59710Fetched 2026-04-08 02:41:29
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Author
Participants

Error Message

  • No error logs indicating heartbeat failures
RAW_BUFFERClick to expand / collapse

Bug Description

Heartbeat interval timer appears to stop being re-armed after extended runtime, even after the supposed fix in #52270 (2026.3.28).

Environment

  • OpenClaw version: 2026.3.28 (f9b1079)
  • OS: Linux 6.17.0-19-generic (x64)
  • Node: v24.14.0
  • Heartbeat config: 30m interval (default)

Observed Behavior

From gateway logs, heartbeat runs became irregular:

  • Apr 01 00:15 - heartbeat started
  • Apr 01 21:53 - heartbeat started (gap: ~21.5 hours)
  • Apr 02 22:05 - heartbeat started (gap: ~24+ hours)

The 2026.3.28 changelog claims: "guarantee the interval timer is re-armed after heartbeat runs and unexpected runner errors so scheduled heartbeats do not silently stop after an interrupted cycle."

However, the issue persists.

Expected Behavior

Heartbeat should fire every 30 minutes consistently.

Additional Context

  • No gateway restarts observed during the gap periods
  • Main session remained active (146 sessions)
  • No error logs indicating heartbeat failures
  • Issue discovered when scheduled HEARTBEAT.md tasks were not executed for 3+ days

Related

  • #52270 (supposedly fixed this in 2026.3.28)

extent analysis

TL;DR

The heartbeat interval timer may not be properly re-armed after extended runtime, despite the supposed fix in version 2026.3.28, and a workaround or further investigation is needed to ensure consistent heartbeat execution.

Guidance

  • Review the gateway logs for any subtle errors or warnings that may indicate why the heartbeat timer is not being re-armed, even if no explicit heartbeat failures are logged.
  • Verify that the heartbeat configuration is correctly set to a 30-minute interval and that there are no other configuration settings that could be interfering with the timer.
  • Consider implementing additional logging or monitoring to track the state of the heartbeat timer and identify when it fails to re-arm.
  • Test the heartbeat functionality in a controlled environment to see if the issue can be reproduced and to gather more information about the failure mode.

Example

No specific code snippet can be provided without more information about the implementation details of the heartbeat mechanism, but adding logging statements to track the state of the timer could be helpful, such as logging when the timer is armed or disarmed.

Notes

The fact that the issue persists despite the supposed fix in version 2026.3.28 suggests that there may be additional factors at play, and further investigation is needed to determine the root cause of the problem. The lack of error logs indicating heartbeat failures makes it more challenging to diagnose the issue.

Recommendation

Apply a workaround, such as implementing a secondary mechanism to ensure the heartbeat timer is re-armed, or manually triggering the heartbeat at regular intervals, until the root cause of the issue can be determined and a permanent fix can be applied. This is recommended because the supposed fix in version 2026.3.28 does not appear to have fully resolved the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Heartbeat silently stops after ~20h despite #52270 fix in 2026.3.28 [1 participants]