-
-
Notifications
You must be signed in to change notification settings - Fork 52.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
Heartbeat configured in agents.defaults.heartbeat stops firing after context compression occurs.
Config
"heartbeat": {
"every": "30m",
"activeHours": {
"start": "07:00",
"end": "23:00",
"timezone": "Europe/Warsaw"
},
"target": "telegram",
"to": "8029162297"
}Symptoms
- Heartbeat works fine initially (
[heartbeat] startedin logs) - After context compression (due to token limits), heartbeat stops
- Logs show:
No session found: telegram:8029162297 - No more heartbeat polls until gateway restart
Expected Behavior
Heartbeat should continue working after context compression by:
- Creating a new session if the previous one doesn't exist
- Or maintaining heartbeat polling independent of session state
Logs
2026-01-27T18:53:16.080Z [heartbeat] started
# ... context compression happens ...
2026-01-27T19:18:09.517Z [ws] ⇄ res ✗ sessions.resolve errorMessage=No session found: telegram:8029162297
# ... no more heartbeat polls until manual restart ...
Workaround
Manual gateway restart (gateway action=restart) brings heartbeat back.
Environment
- Clawdbot: 2026.1.24-3
- OS: macOS Darwin 24.6.0
- Channel: Telegram
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working