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