If you google Shimano tech docs with your rear mech details it should define the maximum cassette sprocket size
which isn’t worth the paper it’s not written on. Shimano have under-rated their maximum for years, a quick google will give you hundreds of people happily, reliably and safely using larger cassettes than Shimano suggest is possible. When they increased the range of the short cage they did nothing to mech itself…
A short cage will work with a 30T – I’ve done it – but 32 or 34 will be too much.
I’m going to the Dolomites this summer with the missus and we’ll both be riding compact and 28T cassettes.
Aye Sir Brad ran an xt cassette for stage 14 in 2012
with a standard, not compact chainset?