I usually loathe musicals and musical episodes, for a number of reasons. If nothing else, they usually feel like they are made for the actors more so than the audience. The Strange New Worlds one started out okay, but went on for far too long for my taste. There are only two musical episodes I am actually okay with. The first one is the one on Buffy, because it wasn't just whimsical but serious in parts and actually helped the story along. The second one is now this one, for both a similar reason and the fact that it actually took the (at one point literal) piss out of the premise.
What I really enjoyed about this episode was the ending. Straight up using the main theme for that (and then basically just cutting out) really helped drive the point home. Well done, IMO.