Senate on verge of major spending deal ahead of possible government shutdown The House of Representatives passed a measure to fund government until March 23

 -- The Senate is on the verge of a bipartisan deal to end the gridlock over the government's operations, as Congress faces a deadline Thursday that could produce the second shutdown of the year.

The House passed a measure Tuesday evening to fund the government until March 23, while also providing a full year of defense spending.

The vote was 245-182, with 17 Democrats joining 228 Republicans to send the measure to the Senate. Eight Republicans voted against the package, alongside 174 Democrats.

That bill now heads to the Senate where the minimal expectation is for Democrats to strip out the full year of defense spending.

But Senate Majority Leader Mitch McConnell and Senate Minority Leader Chuck Schumer could produce a bipartisan agreement to lift spending caps, raise the debt limit and tackle some other fiscal challenges - in addition to extending government funding through the end of the fiscal year.

That deal is close, according to Senate leaders, but it is not finalized yet.

Once the Senate amends the House-passed bill, it will need to go through another vote in the House before government funding runs out at the end of the day Thursday.

House Democrats relocated their planned policy retreat from Cambridge, Maryland to the U.S. Capitol in anticipation of further consideration of a spending package, should the Senate amend the House-passed bill.