Lea Michele, whose star turn in the musical has reversed its flagging fortunes, will stay with the show to the end.

A Broadway revival of “Funny Girl” that was battered and boosted by offstage drama

will finish its roller-coaster ride over Labor Day weekend, the show’s producers announced on Thursday.

The production — the first revival of a musical long deemed unrevivable

because of the long shadow of its original star, Barbra Streisand

has been among Broadway’s best-selling shows ever since Lea Michele, of “Glee” fame and then flak, stepped into the title role.