From 518ef30232418c2e4a160114305109c33014f247 Mon Sep 17 00:00:00 2001 From: agent Date: Thu, 17 Sep 2026 23:28:32 -0400 Subject: [PATCH] =?UTF-8?q?Revert=20"ci:=20crash-test=20=E2=80=94=20inject?= =?UTF-8?q?=20panic=20in=20qr=5Fdecode=20to=20prove=20the=20fuzz=20job=20f?= =?UTF-8?q?ails=20on=20a=20crash=20(REVERT=20BEFORE=20MERGE)"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit b76bf46100c383b69e8dd2977598c7284ea4c58a. --- 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 fdf5f7e..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 test: the CI job must go red when a target panics. - panic!("ci crash-test — 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()); });