Russia only declared war on Japan in the last days of the war, and only then so they could grab the small Islands they wanted north of the main islands as well as invade Manchuko (part of Manchuria) which they also wanted.
https://en.wikipedia.org/wiki/SovietJapanese_War