task: #3582234 Split publishing logic from state logic - simplify

Closes #3582234

Merge request reports

Loading