• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

netgroup-polito / CrownLabs / 28503952449

01 Jul 2026 08:23AM UTC coverage: 34.675% (-0.02%) from 34.698%
28503952449

push

github

web-flow
Refactor template to use a `cleanup` object for timeouts: `stopAfterInactivity`, `deleteAfterInactivity`, and `deleteAfterCreation`. (#1145)

* feat: add DeleteAfterPause feature for permanent VM deletion

* feat: add inactivity deletion warning email template and update path reference

* refactor: changed comments coherently, added annotation labels, refactored delete to destroy, changed values for staging test in values.yaml

* feat: implement and refine inactivity destruction flow

- Added missing configuration flags to instance-automation operator, including
  destruction notification intervals and testing overrides.
- Refactored InstanceInactiveTerminationReconciler to improve readability
  and robustness of the destruction logic for powered-off instances.
- Standardized logging across destruction helper functions and added proper
  error handling for annotation parsing.
- Fixed a bug where destruction notifications used the wrong interval flag.
- Integrated LastPoweredOffTimestampAnnotation in the termination reconciler
  to ensure the destruction countdown starts whenever an instance is stopped.
- Updated Helm chart templates and values to correctly propagate the new
  automation configurations to the deployed containers.

* feat: added email templates and logic for destruction inactivity, fixed naming

* test: added unit tests and e2e tests for destruction after inactivity

* fix: changed prometheusURL to http://monitoring-kube-prometheus-prometheus.monitoring:9090

* fix: separated logic between destruction and email notifications: now the instances will be deleted after the destroyAfterInactivity time even if value for email notification is false

* feat: added front-end logic to enable destroyAfterInactivity time in ModalCreateTemplate view and logic to connect this value to backend

* feature: modified pop-up logic for deletion notification

* feat: added icon to show inactivity time for templates

* feat(backend): Implement inactivity des... (continued)

26 of 99 new or added lines in 6 files covered. (26.26%)

1 existing line in 1 file now uncovered.

5831 of 16816 relevant lines covered (34.68%)

7.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

65.47
/operators/pkg/instctrl/controller.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc