Conversation
When the NodeAutonomy condition status changes, LastTransitionTime was never updated due to a copy-paste bug where LastHeartbeatTime was set twice instead of setting LastTransitionTime on the second line. This caused stale transition timestamps in the node condition, breaking observability, alerting, and debugging for edge node autonomy state changes. Signed-off-by: Aman-Cool <aman017102007@gmail.com>
|
|
@vie-serendipity @zyjhtangtang ,Fixes repeated kubelet restarts by making redirect/revert idempotent. Kubelet restarts only on real config or env changes. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2511 +/- ##
==========================================
+ Coverage 44.09% 44.16% +0.06%
==========================================
Files 399 399
Lines 26554 26585 +31
==========================================
+ Hits 11710 11740 +30
+ Misses 13782 13780 -2
- Partials 1062 1065 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@zhangzhenyuyu ,quick ping — this PR is ready for review and CI is passing. |



Make kubelet redirect/revert idempotent
Summary
Fixes unnecessary kubelet restarts during YurtHub convert/revert by making the operations truly idempotent.
Kubelet is now restarted only when configuration or environment actually changes.
Root Cause
Kubelet config helpers did not indicate whether they modified state, so convert/revert paths always restarted kubelet—even when the node was already correctly configured.
Fix
Impact
Backward Compatibility
No breaking changes. Behavior is unchanged except redundant restarts are avoided.