From d3e3c08b6c287d85b2528fa1a864a9eda40a0e59 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Fri, 9 Oct 2026 23:18:36 +0200 Subject: [PATCH] chore: name the slug omission in the schema --- schemas/install-manifest.schema.json | 3 ++- tests/test_audit_regressions.py | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/schemas/install-manifest.schema.json b/schemas/install-manifest.schema.json index f96c7cc9..9b043a84 100644 --- a/schemas/install-manifest.schema.json +++ b/schemas/install-manifest.schema.json @@ -129,7 +129,8 @@ "hash_mismatch", "not_found", "external", - "user_provided" + "user_provided", + "no_platform_slug" ] }, "cores": { diff --git a/tests/test_audit_regressions.py b/tests/test_audit_regressions.py index b0147100..2f107b9b 100644 --- a/tests/test_audit_regressions.py +++ b/tests/test_audit_regressions.py @@ -1325,7 +1325,10 @@ class EveryManifestEntryIsFetchable(unittest.TestCase): def test_an_unresolvable_file_is_recorded_as_omitted(self): """The reason must be one install.py knows how to report.""" - allowed = {"hash_mismatch", "not_found", "external", "user_provided"} + allowed = { + "hash_mismatch", "not_found", "external", "user_provided", + "no_platform_slug", + } for path in sorted((ROOT / "install").glob("*.json")): with self.subTest(manifest=path.name): data = json.loads(path.read_text())