Branching off from #1981644: Figure out how to deal with 'title/title callback'
Local actions in Drupal 8 that are based on routes cannot handle dynamic titles or paths (e.g. an action link with the current node title or path)
The proposed solution is to convert them to plugins which have getTitle and getPath methods.