WASHINGTON — The Senate will take up the annual defense spending bill, part of a package that includes other government spending, amid hopes to see it quickly become law — but Congress could still muck it up.

Finalizing appropriations before the end of the fiscal year, Sept. 30, would avert the need for a stopgap spending measure and give lawmakers who are running in the midterms bragging rights ahead of Election Day, Nov. 8. (Stopgap continuing resolutions have been the norm for years, but they disrupt new acquisition programs.)

As the Senate takes up the bill Monday, the immediate challenge for its leaders will be to avoid controversial amendments that give their sponsors campaign fodder but endanger final passage of the bill. The upper chamber abbreviated its August recess, but the House does not return until Sept. 4, when it will have only 12 working days before the end of the fiscal year to pass its spending legislation.

Lawmakers from both chambers will also have to use that time to negotiate a compromise between the two versions of appropriations legislation and win the signature of President Donald Trump, who has threatened a government shutdown if he believes border wall funding is too low.

The Senate package joins spending for the Departments of Labor, Health and Human Services, Education and related agencies to the Pentagon bill, which contains $607 billion in base and $68 billion in wartime spending, hewing to the larger bipartisan budget deal.

“[Defense Secretary Jim] Mattis — a decorated general who commands deep respect on both sides of the aisle — has warned that ‘failure to modernize our military risks leaving us with a force that could dominate the last war, but be irrelevant to tomorrow’s security,” said Sen. Richard Shelby, R-Alabama, chairman of the Senate Appropriations Committee. “We cannot allow that to happen. We must rebuild America’s military.”

Tuesday, Aug. 21
Senate Armed Services — 9:30 a.m. — Dirksen-G50
Nominations
Nominees Alan Ray Shaffer, to be deputy under secretary for acquisition and sustainment; Veronica Daigle, to be an assistant secretary; and Casey Wardynski and Alex A. Beehler, both to be an assistant secretary of the Army, will testify.

Senate Foreign Relations — 10:00 a.m. — Dirksen-419
Russia Relations
Government officials will testify on U.S.-Russia relations.

Senate Banking, Housing, and Urban Affairs — 10:00 a.m. — Dirksen-538
Russia Sanctions
Government officials will testify on Russia sanctions, focusing on current effectiveness and potential for next steps.

Senate Judiciary Subcommittee on Crime and Terrorism — 2:30 p.m. — Dirksen-226
Cyber Threats
Testimony planned on examine cyber threats to our nation's critical infrastructure.

Wednesday, Aug. 22
Senate Rules and Administration – 10:30 a.m. – Russell-301
Elections Bill
Senators will hold a business meeting to consider an original bill entitled, "Secure Elections Act.”