Federation doesn’t fix the problem, at least not in its entirety. I posted a longer comment in another thread but the long and short of it is that accounts need to be portable if it’s going to work for a git hosting solution.
The comment: https://lemmy.zip/comment/26430897

Because there are some signs the bubble might be about to burst. Some of the purchase orders have either been rescinded or downsized, and - ironically - thanks to capitalism AI is becoming unaffordable for some businesses. As popularity increases, AI companies are raising prices and this is leading to human labour once again becoming cheaper than just vibe coding everything.
Sources: