From a03ee5db820556a05b8713bba0854ab74e73982d Mon Sep 17 00:00:00 2001 From: agent Date: Thu, 17 Sep 2026 22:12:19 -0400 Subject: [PATCH] =?UTF-8?q?ci:=20remove=20panic=20from=20qr=5Fdecode=20?= =?UTF-8?q?=E2=80=94=20green=20verification=20for=20crash-proof=20(THROWAW?= =?UTF-8?q?AY)?= 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 2f7624f..8f251fa 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")); } - // CRASH-PROOF: the CI fuzz job MUST go red when a target panics. - panic!("ci crash-proof — throwaway branch, remove before merge"); + // Determinism: the same invite must decode to the same answer. + assert_eq!(qr::decode(&raw).is_ok(), qr::decode(&raw).is_ok()); });