mainly by legitimising the bourgeois electoral process as a means to achieve power against capital, which forestalls the development of revolutionary consciousness. if the DSA were more like a Bolshevik party (or a party of any kind, really) then these campaigns would be more useful bc they'd be able to dictate his moves and use him to demonstrate the inadequacy of bourgeois electoralism, but instead this campaign is leading the DSA in the direction of further participation in electoral politics as a route to achieve "socialism".
What revolutionary capacity exists that this guy is draining?
it's more about how over-emphasis on electoral struggles in imperial countries prevents the necessary development of revolutionary capacity. the only usefulness of these kinds of candidates is when they inevitably move into the Democratic mainstream and inadvertently disillusion a lot of people who were hoping they'd be more radical, which results in SOME of them developing more revolutionary ideas as a by-product (while pushing more of them into apathy or outright reaction)
there are revolutionary socialists and communists within the DSA, i'm not trying to call them a revolutionary org, but there are factions within it that are struggling to make it more of one
yeah they swelled their ranks due to the Bernie campaign but that was more of a by-product, and as we're seeing, a lot of those people basically want the org to be a Democrat-supporting NGO because their thinking didn't evolve beyond "elect socialists as Democrats". I don't think Mamdani's going to have the same kind of effect, either.