No “current-menu-ancestor” class added when browsing an archive page

It seems this is being fixed in the next version of WordPress. As a ticket with a patch is now labeled 4.8, check https://core.trac.wordpress.org/ticket/39800.