Class PrlDevopsCloud.NodeReconciler

All Implemented Interfaces:
ExtensionPoint, Runnable
Enclosing class:
PrlDevopsCloud

@Extension public static class PrlDevopsCloud.NodeReconciler extends AsyncPeriodicWork
Background worker that runs every 60 seconds and removes any PrlDevopsAgent node whose VM has been deleted outside the plugin (e.g. manually via prl-devops-service UI or API).

Only offline nodes are inspected — online nodes are by definition healthy. A node is removed when:

  • Its owning PrlDevopsCloud no longer exists in Jenkins, or
  • Calling getVmStatus() returns an error state or throws a PrlApiException (typically HTTP 404 — VM not found).