Page MenuHomePhabricator

Edge caching issues on Vector 2022 in wmf.16
Closed, DeclinedPublicBUG REPORT

Description

What is the problem?

On a few beta wikis, I am seeing checkboxes next to menus like the main menu, user menu, ULS. This prevents the menu from being opened, instead clicking on them checks/unchecks the box.

I have only seen it happen while logged out and using Vector 2022.

Sites I have seen it on:

Steps to reproduce problem
  1. Go to https://de.wikipedia.beta.wmflabs.org/wiki/Wikipedia:Hauptseite
  2. If necessary, log out
  3. Try to open the main menu in the top left

Expected behavior: Main menu opens
Observed behavior: There is a checkbox to the top left of the main menu. Clicking the main menu checks the box.

Environment

Browser: Firefox 102, Chromium 114.
Wiki(s): MediaWiki 1.41.0-alpha (e1f64c1) 11:09, 3 July 2023. Vector 1.0.0 (952afb2) 10:20, 3 July 2023.

Screenshots

checkboxes_next_to_menus_beta_vector22.png (592×1 px, 62 KB)

Event Timeline

Jdlrobson renamed this task from Checkboxes appear next to menus on some beta wikis to Edge caching issues on Vector 2022 in wmf.16.Jul 5 2023, 3:03 PM
Jdlrobson added subscribers: taavi, MusikAnimal, Izno, Func.
Jdlrobson closed this task as Declined.EditedJul 5 2023, 3:15 PM
Jdlrobson subscribed.

Please edit or manually purge the page (and refresh) when you see this issue to fix i.

The HTML has changed so unfortunately this kind of issue is normal and expected - particularly on less frequented wikis (and especially beta clusters).

Typically a week should be enough time to clear the majority of pages in the Varnish cache but clearly not all of them (T124954). We could wait a month for this kind of change but that would severely slow down development and mean poorer performance as we'd have to ship older styles for considerably longer. There is no official policy here, but generally teams follow the advice of supporting the HTML generated in the last train (1 week old HTML).

Note: We have some guidelines relating to this in the upcoming stable policy https://www.mediawiki.org/wiki/User:Jdlrobson/Stable_interface_policy/frontend#Guidelines_for_changing_HTML_markup.