From 99d9ac12c22ef1273cea5b8267c397f584e80bf7 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Sun, 18 Oct 2026 02:43:50 +0200 Subject: [PATCH] fix: hold reicast on the commit Recalbox builds reicast documents the revision Recalbox's reicast.mk pins, far behind master. Compared to HEAD it reported refs nobody could act on; pin_frozen now says why the pin is held. --- emulators/reicast.yml | 1 + tests/test_profile_sync.py | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/emulators/reicast.yml b/emulators/reicast.yml index ee4826ed..a425fc2e 100644 --- a/emulators/reicast.yml +++ b/emulators/reicast.yml @@ -5,6 +5,7 @@ source: "https://github.com/reicast/reicast-emulator" upstream: "https://github.com/reicast/reicast-emulator" profiled_date: "2026-10-17" source_commit: "ad61f95dd6b4c6218846a25de6194550311a5d28" +pin_frozen: "Recalbox 10.1.1 builds this revision (package/reicast/reicast.mk REICAST_VERSION). Later commits on reicast-emulator are not part of that build." core_version: "Git" display_name: "Sega - Dreamcast (Reicast)" cores: diff --git a/tests/test_profile_sync.py b/tests/test_profile_sync.py index 7a667f66..e9f7d059 100644 --- a/tests/test_profile_sync.py +++ b/tests/test_profile_sync.py @@ -2516,6 +2516,18 @@ class TestDeliberatelyFrozenPin(TestBuildReport): self.assertEqual(rebase_refs(path, report), []) self.assertFalse(bump_commit(path, report)) + def test_the_builds_platforms_hold_say_so(self): + # reicast is the commit Recalbox's reicast.mk builds, 789 commits + # behind master; compared to HEAD it showed eight refs to review that + # nobody could act on. + from common import load_emulator_profiles # noqa: PLC0415 + + root = Path(__file__).resolve().parents[1] / "emulators" + profiles = load_emulator_profiles(str(root)) + for name in ("reicast", "fbalpha2019", "supermodel-legacy"): + with self.subTest(profile=name): + self.assertTrue(str(profiles[name].get("pin_frozen") or "").strip()) + def test_an_ordinary_profile_is_unaffected(self): self.files[("pinsha", "a.c")] = ["x", "hit"] self.files[("headsha", "a.c")] = ["pad", "x", "hit"]