| ▲ | vlovich123 2 hours ago | |||||||||||||
To be fair, this failed in the non-rust path too because the bot management returned that all traffic was a bot. But yes, FL2 needs to catch panics from individual components but I’m not sure if failing open is necessarily that much better (it was in this case but the next incident could easily be the result of failing open). But more generally you could catch the panic at the FL2 layer to make that decision intentional - missing logic at that layer IMHO. | ||||||||||||||
| ▲ | hedora 2 hours ago | parent [-] | |||||||||||||
Catching panic probably isn’t a great idea if there’s any unsafe code in the system. (Do the unsafe blocks really maintain heap invariants if across panics?) | ||||||||||||||
| ||||||||||||||