tail end of last night/this morning's dream
"Socialist Troopers."
It's exactly what you think. Starship Troopers, except instead of a cryptofascist society, it's a socialist society.
That's all there was in the dream, really, but I couldn't resist extrapolating a bit.
Sure, they spend most of the film squabbling amongst themselves about which pronoun to use for the Space Bugs. But once that's sorted out, they also have the fucking sense to put xenolinguists in charge instead of generals. They offer "the Enemy" full citizenship instead of genocide, help them overthrow the Brain Bugs, and replace them with a system of voluntary hive-mind community councils. Ultimately, they win the resistance over with free chitin exams, insectoid anti-discrimination laws, and six weeks oviposition leave.
Peace reigns, hardly any humans get hurt, and the ones who do, don't spend the rest of their lives fighting PTSD symptoms... because they also fucking legalized MDMA and ketamine.
Bite my stripey Martian ass, Bob Heinlein.