The Senate finds itself in a familiar position, working to avoid a partial government shutdown with just hours to spare.