Protest and civil disobedience come at an obligate personal cost. The only reasonable expectation you should have before doing it is that you're about to burn your world to the ground -- anything left standing you should count as a blessing and a relief.
In this case, for example, walkout organizers should've just assumed that they're going to be retaliated against, and that their protest didn't end the day of the walkout but will continue through the whole process of having a labor lawyer, fighting this in court, documenting their work lives for the next 5+ years, etc. It's part of the same action and part of the same protest.
In the long term and at a broader societal level, moral protests are usually worth it, but that does not mean that your shorter- and medium- term economic and personal social costs are going to be zero -- in fact, quite the opposite!
edit: i assume that the walkout organizers knew all this, but the above can totally be read as "oh those silly babes-in-the-woods googlers", which was not what i meant. If anything, I understand the linked post as just the next phase of the game, in which illegal retribution is disclosed as part of an ongoing legal fight.