Offline while the gRPC session is open was wrong: silence sweep used last_seen, not the stream
track open sessions; skip silence sweep while open; mark Offline on stream close
Hello/heard still brings Offline back to Active (reconnect without --replace)
Test plan
cargo test --test enrolment --test lease
deploy control image; idle node stays Active > 2 min
## Summary
- Offline while the gRPC session is open was wrong: silence sweep used last_seen, not the stream
- track open sessions; skip silence sweep while open; mark Offline on stream close
- Hello/heard still brings Offline back to Active (reconnect without --replace)
## Test plan
- [x] cargo test --test enrolment --test lease
- [ ] deploy control image; idle node stays Active > 2 min
day01
changed title from fix: reactivate offline nodes when they speak again to fix: tie node presence to the open session stream2026-08-11 19:41:39 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Test plan
fix: reactivate offline nodes when they speak againto fix: tie node presence to the open session stream1441f5a99bto837e66a4b5837e66a4b5to051f70473d