ci: crash-proof — inject panic in qr_decode to prove fuzz job fails red (THROWAWAY, remove before merge)
Some checks failed
ci / test (pull_request) Successful in 4m47s
ci / sdk (pull_request) Successful in 57s
ci / fuzz (pull_request) Failing after 59s

This commit is contained in:
agent 2026-09-17 21:25:20 -04:00
commit 81cb89f559
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"));
}
// Determinism: the same invite must decode to the same answer.
assert_eq!(qr::decode(&raw).is_ok(), qr::decode(&raw).is_ok());
// CRASH-PROOF: the CI fuzz job MUST go red when a target panics.
panic!("ci crash-proof — throwaway branch, remove before merge");
});