From 735f2fcc072075c6d3a30446e713861c6fe6865b Mon Sep 17 00:00:00 2001 From: wshallwshall Date: Wed, 29 Jul 2026 19:47:41 -0500 Subject: [PATCH] test: THROWAWAY deliberate failure to verify branch protection blocks (delete me) --- .../test_zzz_protection_verification_DELETE_ME.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/test_zzz_protection_verification_DELETE_ME.py diff --git a/tests/test_zzz_protection_verification_DELETE_ME.py b/tests/test_zzz_protection_verification_DELETE_ME.py new file mode 100644 index 00000000..ae4092f5 --- /dev/null +++ b/tests/test_zzz_protection_verification_DELETE_ME.py @@ -0,0 +1,14 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later +# Copyright (C) 2026 MessageFoundry Organization and contributors +"""THROWAWAY — proves the 2026-07-29 branch-protection change actually BLOCKS a red PR. + +Delete this file and close its PR. It exists for one CI run. A protection change that returns HTTP +200 and blocks nothing is indistinguishable from one that works, so the only way to know is to make a +required context fail on purpose and watch the merge be refused. +""" + +from __future__ import annotations + + +def test_deliberate_failure_to_prove_required_checks_block_a_merge() -> None: + raise AssertionError("deliberate: verifying branch protection blocks a red PR")