Problem/Motivation
$this->renderer->addCacheableDependency($form, $field_definition->getConfig($entity->bundle()));
is called from CommentForm. Because bundle entity fields (defined via code) are not config backed (or currently in 8.8 support overrides), this leads to throwing \Exception('Field definitions do not currently have an override config entity.')
Proposed resolution
instanceof check the field definition.