I have created a views page display that has the path /node/%node/sessions, contextually filtering by content ID. It also creates a "menu tab" called "Sessions".
Therefore when I got to node/12 I see a local tasks menu: "View / Edit / Sessions" etc.
When I go to /node/12/sessions I see my view, filtered correctly by 12, but WITHOUT any local tasks tabs.
How should I make a local tasks menu appear on the view page node/12/sessions, (with the local tasks the same as the node/12 but with the sessions tab as active)?
Using this entry in my_module.links.task.yml succeeds in adding an entry to the node local tasks (still present if 'no menu' is selected in view UI). But it doesn't add the node local tasks to the views page.
view.event_sessions.page_1: title: Sessions route_name: view.event_sessions.page_1 base_route: entity.node.canonical
Using views.view.event_sessions.page1 as the route throws a route not found error (although that is usually the correct route for a views page, so that's weird).