ci: crash-test — inject panic in qr_decode to prove the fuzz job fails on a crash (REVERT BEFORE MERGE)

This commit is contained in:
agent 2026-09-17 21:04:45 -04:00
commit b76bf46100
No known key found for this signature in database

View file

@ -23,6 +23,6 @@ fuzz_target!(|data: &[u8]| {
assert!(payload.onion.ends_with(".onion")); assert!(payload.onion.ends_with(".onion"));
} }
// Determinism: the same invite must decode to the same answer. // Crash test: the CI job must go red when a target panics.
assert_eq!(qr::decode(&raw).is_ok(), qr::decode(&raw).is_ok()); panic!("ci crash-test — remove before merge");
}); });