From 3c8d0622b9174bc9a14fcb7ffdec73fbf92709d2 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Tue, 24 Nov 2026 12:51:10 +0100 Subject: [PATCH] chore: count the accessibility link in budgets --- tests/test_site_platform_density.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/tests/test_site_platform_density.py b/tests/test_site_platform_density.py index 90532f681..fada28184 100644 --- a/tests/test_site_platform_density.py +++ b/tests/test_site_platform_density.py @@ -298,7 +298,9 @@ BEFORE_WEIGHT = { # aada55e65. # Astro 7.4.12 names itself in the generator meta of every page, one # byte longer than 7.4.4: 1,398,021 bytes on the site deployed from 55e7616eb. - "batocera": (13, 18_854, 1_398_021), + # The Accessibility page joined the Setup tab, one sidebar entry on every + # page: 1,398,499 bytes on the site deployed from ab7e300c1. + "batocera": (13, 18_854, 1_398_499), # AmberELEC's MSX files cite the fMSX ROM loader since 2026-11-11 (fMSX # named 82 times instead of 28, the same 295 files): the section moved # to a part page of its own, 2 pages, 7,160 elements and 545,681 bytes @@ -311,7 +313,9 @@ BEFORE_WEIGHT = { # aada55e65. # Astro 7.4.12 names itself in the generator meta of every page, one # byte longer than 7.4.4: 546,567 bytes on the site deployed from 55e7616eb. - "amberelec": (2, 7_928, 546_567), + # The Accessibility page joined the Setup tab, one sidebar entry on every + # page: 546,698 bytes on the site deployed from ab7e300c1. + "amberelec": (2, 7_928, 546_698), # RomM's PS2 page names scph10000.bin, the label LRPS2 reads through # RetroDECK's pcsx2_bios option, beside SCPH-10000.bin since 2026-11-13: # 572,528 bytes on the built site of that day. The "Wanted files" link @@ -319,7 +323,9 @@ BEFORE_WEIGHT = { # aada55e65. # Astro 7.4.12 names itself in the generator meta of every page, one # byte longer than 7.4.4: 572,692 bytes on the site deployed from 55e7616eb. - "romm": (2, 9_561, 572_692), + # The Accessibility page joined the Setup tab, one sidebar entry on every + # page: 572,909 bytes on the site deployed from ab7e300c1. + "romm": (2, 9_561, 572_909), # RetroArch's MSX files cite the fMSX ROM loader and its ScummVM files # the readers of each data file since 2026-11-11 (46,737 and 9,275 bytes # more): 1,433,702 bytes on the built site of 964875572. Its PS2 page @@ -329,7 +335,9 @@ BEFORE_WEIGHT = { # aada55e65. # Astro 7.4.12 names itself in the generator meta of every page, one # byte longer than 7.4.4: 1,435,492 bytes on the site deployed from 55e7616eb. - "retroarch": (14, 21_503, 1_435_492), + # The Accessibility page joined the Setup tab, one sidebar entry on every + # page: 1,436,095 bytes on the site deployed from ab7e300c1. + "retroarch": (14, 21_503, 1_436_095), }