It was always Cyrillic. What OP meant is that there were plans to switch all Soviet languages, including Russian, to Latin at one point - this was considered beneficial by "first wave" Bolsheviks, who believed in worldwide communist revolution in near future, and unification in a single world state, and assumed that Latin would be the common script of that state.
Later, when Stalin ditched all that, and came up with "socialism in one country" and revival of imperial patriotism, these attempts were scrapped, and Cyrillic became the common script for all Soviet languages instead (even those that were already Latinized). This was in line with the new national policy, which presented the Russian nation as the "bigger brother" of other ethnicities, e.g.: https://www.marxists.org/reference/archive/stalin/works/1945...