From b76bf46100c383b69e8dd2977598c7284ea4c58a Mon Sep 17 00:00:00 2001 From: agent Date: Thu, 17 Sep 2026 21:04:45 -0400 Subject: [PATCH] =?UTF-8?q?ci:=20crash-test=20=E2=80=94=20inject=20panic?= =?UTF-8?q?=20in=20qr=5Fdecode=20to=20prove=20the=20fuzz=20job=20fails=20o?= =?UTF-8?q?n=20a=20crash=20(REVERT=20BEFORE=20MERGE)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fuzz/fuzz_targets/qr_decode.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuzz/fuzz_targets/qr_decode.rs b/fuzz/fuzz_targets/qr_decode.rs index 8f251fa..fdf5f7e 100644 --- a/fuzz/fuzz_targets/qr_decode.rs +++ b/fuzz/fuzz_targets/qr_decode.rs @@ -23,6 +23,6 @@ fuzz_target!(|data: &[u8]| { assert!(payload.onion.ends_with(".onion")); } - // Determinism: the same invite must decode to the same answer. - assert_eq!(qr::decode(&raw).is_ok(), qr::decode(&raw).is_ok()); + // Crash test: the CI job must go red when a target panics. + panic!("ci crash-test — remove before merge"); });