What are flyweight executors?
AdvancedConceptArchitecture, executors & JENKINS_HOME
Answer
A pipeline build itself needs a lightweight "flyweight" task on the controller that runs the CPS program. It does not consume one of the configured executors, which is why a pipeline appears to run even when the built-in node has 0 executors. Only node {} or declarative agent blocks take a real ("heavyweight") executor on an agent. With agent none at the top and input steps outside any agent, a waiting build holds no executor at all.
More on Architecture, executors & JENKINS_HOME
What are the main components of a Jenkins installation?BeginnerWhat is the difference between a node, an agent and an executor?BeginnerWhy should the built-in node have 0 executors?BeginnerWhat is `JENKINS_HOME` and what are its most important contents?BeginnerWhat happens if you lose the `secrets/` directory but keep `credentials.xml`?AdvancedHow does an agent communicate with the controller?Intermediate