Maybe upstream could add a field to the Params structure which would refuse to parse un-satiable descriptors. Could you file an issue in rust-miniscript asking for strategies to handle the error return of max_weight_to_satisfy?
Alternately you can just use unwrap_or(usize::MAX) or something silly.
Originally posted by @apoelstra in bitcoindevkit/bdk#1448 (comment)