Skip to content

v0.1.7

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Apr 12:15
109f148

Fixed

  • Reconciler now initializes the idle detector and scaler in initDefaults; without these, the first reconcile of any workload with an IdlePolicy or ScalePolicy panicked with a nil-pointer dereference in production (#10)
  • Cost status is now persisted after accumulateCost; previously the function mutated Status.Cost in memory but no caller called Status().Update, so cost data was silently dropped every reconcile
  • First-pause resource snapshot is no longer lost; Status.Pause is now initialized before the snapshot is assigned, restoring the baseline used for savings calculations
  • resolveIdleAction defensively nil-checks IdlePolicy to prevent the same class of panic from resurfacing via future callers
  • Monthly cost reset now compares year and month so cross-year boundaries or backward clock jumps roll the bucket over instead of appending to the prior month