driver: Ensure we run driverPlugin for staticPlugins (#25217)
driver: Ensure we run driverPlugin for staticPlugins (#25217 (closed))
driverPlugins are only run when the plugin state changes. This meant they were never run for static plugins, as their state never changes.
We need to keep track of whether a static plugin has been initialised to ensure
we run static driver plugins at least once. This necessitates an additional field
in the StaticPlugin
constructor as this state has to be bundled with the plugin
itself, as static plugins have no name/identifier we can use to otherwise reference
them