Out of power in Washington, where Trump's Republicans control the House and Senate, Democrats appeared finally to have some political wind in their sails after a handful of election wins last week in Virginia, New Jersey and New York City.
But those victories, like the shutdown fight, have accentuated strategic tensions between the pragmatic and progressive, or left-wing, factions of the party.
The Democratic left is furious at defectors who voted with Senate Republicans to pass the budget on Monday, seeing this as a capitulation to Trump.
From that wing of the party, Senator Bernie Sanders of Vermont said giving up the fight was a "horrific mistake". California Governor Gavin Newsom called it "surrender".
Congressman Greg Casar of Texas, the chairman of the House Progressive Caucus, warned: "A deal that doesn't reduce healthcare costs is a betrayal of millions of Americans counting on Democrats to fight for them."
However, centrist lawmakers like Jared Golden of Maine, who represents one of the most conservative districts in the nation held by any Democrat, may cross the aisle.
Golden, who recently announced he won't run for re-election, is likely to vote for the package, his office indicated to Axios, a political outlet, on Monday.
Another moderate Democrat, Henry Cuellar of Texas, could help get the Republicans' spending plan over the line.
"It's past time to put country over party and get our government working again for the American people," he posted on social media on Sunday.