From 893bf8288ad3f34a2e751d10337f8e7a353d18ac Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Sun, 11 Oct 2026 05:40:58 -0700 Subject: [PATCH] test(release): an SSH-signed pre-flag claim reads the opt-in platform keys as false _claim_metadata now returns the claim with includeMacosIntel/includeTermux filled in as false when the tag predates them; the signed-claim admission test asserts that normalized shape. --- tests/scripts/test_stable_admission.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/scripts/test_stable_admission.py b/tests/scripts/test_stable_admission.py index 02a5f84290..10f9a90fa4 100644 --- a/tests/scripts/test_stable_admission.py +++ b/tests/scripts/test_stable_admission.py @@ -75,4 +75,6 @@ def test_a_signed_claim_tag_is_read_through_the_jobs_own_git_read(tmp_path, monk assert "-----BEGIN SSH SIGNATURE-----" in raw with pytest.raises(json.JSONDecodeError): # the shape that failed admission json.loads(raw) - assert _claim_metadata(raw, version="0.21.5", attempt=19, commit="3" * 40) == record + # The record predates the opt-in platform keys, which read as false. + assert _claim_metadata(raw, version="0.21.5", attempt=19, commit="3" * 40) == { + **record, "includeMacosIntel": False, "includeTermux": False}