This is fixed in emacs-29+, `flymake-mode-line-lighter` doesn't exists in Emacs-28, the lighter is harcoded. Sorry for the noise, this bugreport can be closed. -- Thierry