ATLANTA — A federal judge will soon rule on whether Georgia’s hotly contested Dominion voting machines are vulnerable to hacking and violate voters’ constitutional rights, a decision that threatens to scramble the battleground state’s election procedures heading into the 2024 presidential campaign.

A sprawling six-year-long legal fight over the integrity of Georgia’s elections wrapped up in a federal courthouse in Atlanta on Thursday afternoon, teeing up a ruling that could shake voters’ faith in their electoral system and further fuel unfounded claims of fraud on the right.