An economics student from Russia here, here's my perspective.
First, is that a country's economy is a lot less volatile than we expected. There is also another factor that played into it. During covid, Russian companies amassed a sizable amount of inventory that was already inflated compared to European companies due to how volatile our economy is. This has given them enough time to reroute supply chains once sanctions hit.
Basically, the so-called "grey import" plays a major role in assuring the stability of our economy. Companies either route their import/export through neighboring countries or through affiliated companies.
Second is the competency of our central bank. After most of the major banks were cut off from SWIFT (used for international transactions), they raised the key rate, limited the amount of money you can cash out at one time, and did some other stuff. Higher key rate = higher deposit interest rate, but at the same time, credit became more expensive. All of this was needed for preventing banks from defaulting. Once panic died down, the changes were reverted. Now, they're dealing with inflation.
Lastly, the majority of our budget comes from oil and gas. Since Europe didn't want to buy it, Russia started selling it to Asia at discounted prices. Quantity of oil/gas sold drastically increased, which mitigated reduced prices and led to a surplus budget. Not to mention that they started pushing on large companies to reduce the amount of dividends and instead re-invest the money.
I wouldn't call it "thriving," however. All of this has definitely led to a slowdown in growth, which, as time goes by, will only get worse. But for now it's fine.