This whole debacle is Gitlab choosing to add China and Russia to their list of exceptions.
For physical offices, it's a whitelist: if we didn't decide your country gets an office, too bad
From that point of view Gitlab’s diacussion on hiring or not employees from specific countries seems a bit old (except if it’s for paperwork reasons)
This not only changes the degree to which the foreign country can influence them, but it changes the degree to which other countries can retaliate if they act as spies.
For a recent example, see the twitter employees who were spying for Saudi Arabia.
Here it's about China and Russia. But the next day it could be government pressure on hiring bans in Pakistan or Indonesia or South Africa or Peru based on whatever countries are in a spat at the moment.
What happens to the current employees then? "Sorry, you're fired"?
I had 12+ employees there and they asked me to write down the names of 3. Those 3 would be the ones we would try to extricate from a country descending into war should that happen. Them, their wives, and their children.
How the fuck do you make that decision?
In December 2018, news broke that Charlotta Turner, Professor in Analytical Chemistry at Lund University in Sweden, arranged for mercenaries to rescue a doctoral student and his family from the Islamic State.
https://www.telegraph.co.uk/news/2018/12/13/swedish-universi...
Organisations do this. Resources are limited.
Companies forcing employees to relocate isn't exactly new...
In a traditional organization, none of your employees will reside in country X unless you actively open an office in that country. The organization may choose to develop satisfactory IT controls and administration tools before doing so, or simply not do so at all.
For a distributed organization like Gitlab, there is a presumption that employees live where they want unless told otherwise. Hence, the pains that Gitlab is going through now.