fix: keep the node session alive with heartbeats #50

Closed
day01 wants to merge %!d() commits from %!s() into %!s()
Owner

Summary

  • idle node sessions waited on assignments without heartbeats
  • control marks silence after 90s as Offline, then refuses reconnects
  • send a heartbeat every 30s on the open session

Test plan

  • cargo test -p syncode-runner-control-syncode --test node_session
  • deploy image and confirm node stays Active > 2 minutes
## Summary - idle node sessions waited on assignments without heartbeats - control marks silence after 90s as Offline, then refuses reconnects - send a heartbeat every 30s on the open session ## Test plan - [x] `cargo test -p syncode-runner-control-syncode --test node_session` - [ ] deploy image and confirm node stays Active > 2 minutes
day01 added 1 commit 2026-08-11 19:30:35 +00:00
		Co-authored-by: Cursor <cursoragent@cursor.com>
	
Author
Owner

superseded: idle liveness is stream open/close on control, not app heartbeats

superseded: idle liveness is stream open/close on control, not app heartbeats
day01 closed this pull request 2026-08-11 19:39:06 +00:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: syncode/runner#50