Recessions are typically a few quarters to just over a year in the US. A well stocked pantry can go a long way to helping you supplement throughout the year.
You can stockup for 6 months fairly easily and by then you know the direction things are going. Mark dates on your supplies and use + reload them regularly. You will always have a 6 months buffer from when shit hits the fan.