=str #15795 Add overflow protection in ActorPublisher

why the lifecycleState == Active check?