More usefully, a warm arrival is a reason to test, not automatically a reason to discard. Peptide degradation is kinetic — rate multiplied by time — and a few days at thirty degrees in the solid state is a small integral compared to weeks in solution.
Freeze-concentration is the mechanism people miss. As ice forms, everything that is not water is excluded into a shrinking unfrozen fraction, so the local concentration of peptide, buffer salts and preservative rises sharply. If the buffer components crystallise at different rates, local pH can shift by more than a unit. That is why a phosphate-buffered solution can behave badly on freezing while an unbuffered one is fine.
Worth being precise here: light matters for specific residues rather than in general. Tryptophan and to a lesser extent tyrosine and methionine are photo-labile; a sequence without them is largely indifferent to ambient light over the timescales in question. Amber glass is cheap insurance rather than a requirement.
The Arrhenius relationship underpinning accelerated stability testing is the basis of ICH Q1A, which is why accelerated studies at 40 °C and 75 per cent relative humidity are used to predict shelf life at 25 °C. The same relationship lets you reason about a warm transit lane, with the same caveats about extrapolation.
I would be careful about generalising across sequences. Stability is sequence-specific, and a rule derived from semaglutide will not transfer cleanly to a tri-agonist with different residues in different local environments.
If the material arrived warm and it was lyophilised, test it and proceed on the result. If it arrived warm and it was in solution, the result is more likely to be interesting than reassuring.