diesel can last 30 years... FWIW
Old school diesel, you bet. Modern diesel, especially if it's a biodiesel mix, no.
Renewable diesel is an entirely different matter, that should be good for a LONG time.
Folks should be inspecting their stored fuel regularly, set and forget is a terrible plan for anything that needs to be relied on. Rotating is a good time to do this.