"Shouldn't" has very little to do with salary offers.
Of course, real life is more complicated than that and all things are rarely equal.
ADDED: GitLab actually explicitly states: "All things being equal, we will hire people in lower cost markets vs. higher cost markets."
Otherwise they re just subsidizing the rent seeking behaviour of crazy expensive cities
Wages and cost/quality of living are in a feedback loop. Remote work will net benefit the cheaper cities and will deflate prices in the expensive ones. I think that is inevitable
That's great for lifting everybody out of poverty of course, but how is this suddenly possible? Can we maybe give everybody a Basic Income to take care of all the cost of living stuff?
Also, if living in an expensive city doesn't cut into your disposable income, then even more people will want to live in those cities, driving housing prices up even more.
I'm absolutely sympathetic to the equality for all argument, but I suspect there's a reason why this is not how capitalism usually works.
And by "earn" I mean once you deduct taxes, cost of living, and personal required expenses (education, kids, healthcare, rent..). The extra one keeps/gets to use after all those are deducted should be the same for the process to be fair.
Why would someone working remote earn more? That somehow doesn't really make a lot of sense to me.