Traditionally, cold regions practiced a variety of food preservation techniques intended to help stretch the food they grew and foraged in spring, summer, and fall to last them through the winter. This didn't stop them from looking for ways to grow food out of season, or outside its hardiness zone, and they developed a number of clever techniques from fruit walls to pineapple pits.
Long supply chains and rapid intercontinental transportation made cheap through subsidized fossil fuels have reduced our reliance on these practices, to the extent that some are outside living memory for large swaths of the population, but they're still around, and have even been updated with modern technology. Whether your solarpunk setting is recovering from a societal collapse and broken supply lines, or is just much more conscious of the externalities of globalized shipping and prioritizes local food production, there are a handful of options it could call upon to maintain access to fresh food.
We use greenhouses to manage the temperature, humidity, and even atmosphere composition for crops all over the world but the basic design is fairly consistent, regardless of location. The most common industrial design is a metal framework with single- or double-ply plastic sheets stretched over it, often with plywood or corrugated plastic siding nailed to stick frame walls on the ends (though these are sometimes concrete block or similar). These 'fully glazed' greenhouses often have a garage door on one or both ends. As you can imagine, given the lack of insulation, large openings from the doors, gaps, etc, operating these in cold climates, especially into the fall and winter is expensive. It’s part of that one-size-fits-all-just-burn-more-gas approach a solarpunk society should generally reconsider wherever it finds it.
(Many greenhouses use glass instead of plastic, though they're usually single-pane and have similar problems with an overall lack of insulation. Greenhouses made from salvaged home windows especially modern, double-pane windows insulated with a layer of air, argon, or vacuum might get better results.)
In order to increase crop yield, growers usually aim to have the CO2-level inside the greenhouse at least three times the level outdoors. Because they already use wood or fossil fuel based heating systems, they can obtain the excess CO2 as a byproduct of combustion. This is part of why you don't see geothermal energy and electric heat pumps revolutionizing the modern glasshouse industry (outside of a few really cool exceptions) despite being far more efficient than diesel.
In colder climates, where low temperatures are your main concern, there are several ways to modify the basic greenhouse to greatly improve the heat absorbed and retained from sun exposure. Many of them are used effectively in industrial greenhouses set up in mainland China. These designs can be so effective that the greenhouse is able to operate through cold weather without using traditional heat at all.
This design fits the same niche as aboveground, freestanding greenhouses elsewhere in cold climates, just with some improvements:
In many cold climates these structures aren't effective enough to be completely passive and will need some additional source of heat. Compared to the current design however, they are still far more efficient: one test found that to keep the temperature above ten degrees Celsius at all times a passive greenhouse required 3.6 kW for the building while a glass structure of equal proportions at the same interior and exterior temperatures would require a maximum capacity of 125 to 155 kW.
The downsides: Normal greenhouses are optimized for profits, and despite being more efficient to heat, the passive greenhouses produce less, making them two to three times less profitable per square meter. Construction is more elaborate, so there'll be a higher upfront cost and more labor per greenhouse.
Walipinis take these design changes a step further. Modern designs for cold regions use the same basic three-insulated-sides-one-glass-side format as passive greenhouses but set the structure down into the ground to use the earth for thermal regulation and to lower the greenhouse's exposure to the wind. They use insulated windows for the transparent wall and generally set them at a steeper angle than those on passive greenhouses. They may even have a partial roof on the north side (south if located far in the southern hemisphere). Inside they are similar except for the inclusion of a cold sump, a low point for the cold air to collect. This is often dug in as a trench in the floor but it may also show up as an aisle between raised beds.
If these designs sound reminiscent of earthships, it's probably because they share a general design philosophy. Both use the earth to regulate their temperature and one large wall of windows to provide light and heat - there are even some crossover designs that sort of mix both.
The concept of using a buried greenhouse to grow crops out of zone or season has been around for a long time, from pineapple pits in Britain, to citrus trenches in the Soviet Union. There's been a fairly recent resurgence in interest in the homesteading scene and some communities are already using them to great effect but it's likely that a solarpunk society, especially one where societal crumbles disrupted the supply chains that provide cheap, fresh fruit out of season, would see a much broader interest in the general population and industry. Especially if fuel is also scarce, or society is more concerned about the externalities of modern-day commercial shipping or heating uninsulated buildings through winter.
Salvage
One of the major cost points in building a walipini is excavating and reinforcing the pit which forms the structure. This work may require an excavator or a lot of time and sweat to do by hand and concrete is expensive (especially environmentally). Structures that meet this general requirement already exist though, and they're fairly common: in-ground swimming pools and basements. Neither is a one-to-one fit for the ideal walipini design, but they have lined, reinforced holes in the ground, stairs for access, and, in the case of basements, may already have drains installed. Swimming pools are expensive and wasteful to maintain, requiring large amounts of water, as well as chemicals, labor, and electricity to keep clean. Furthermore, damage to a pool which prevents its use for holding water (like expensive cracks) don't prevent it from being repurposed as a walipini. A few people have already done absolutely beautiful swimming pool -> walipini conversions, but a recovering society might see a huge number of these conversions out of necessity.
A residential basement is a bit less accessible, but they still become available fairly often. In the event of fire or demolition they're often left open for months or years. In a world where car-dependent regions are becoming less viable, and deconstruction efforts are disassembling abandoned buildings and salvaging the materials for reuse, we could even see some suburban neighborhoods repurposed into rows of walipini greenhouses.
Other salvage: Like with earthships, much of the modern homesteading-based walipini building scene places a heavy emphasis on repurposing existing stuff. Walipini pits are frequently reinforced with stacked old tires packed with rammed earth, and salvaged lumber, windows, thermostats/fans, wiring, and lights are all used wherever possible in their construction. This could be pushed even further in a solarpunk setting; perhaps the massive windows from car dealerships could be used for the sun-facing wall.
Downsides:
Safety Considerations
There are several new risks introduced by the design of a walipini - none of these are dealbreakers but they should be accounted for in the planning and construction phases.
There are several ways to produce heat that also provide CO2. This is helpful because it accelerates plant growth and boosts crop yields, and makes up for the lack of CO2 produced by gas heaters in normal greenhouses.