"They" is correct here, and always has been. "He" is arguably less correct, since the antecedent wasn't gendered.
It's not ambiguous. When used with a plural it means a plural ("the users, they did this"); when used with a singular it means a singular ("the user, they did that").
Nor has it changed since Shakespeare's time. It had exactly the same dual use back then.
It's not boring, dead trees, produced for some deadline documentation, Sally is doing something with this code! Bob needs to stop sending data!
He or she are far better to see in code comments for the same reason it's fun to encounter latin, or star trek quotes, or even curses.
They doesn't have that effect on me. They tells me the documentation was done grudgingly, likely by a prig. It is likely formally correct and will still say nothing, or be completely obtuse and thick.
At the point where you start synthesizing vibrant life stories out of gendered pronouns with "the user" as antecedent, you might consider instead just conceding the argument.
Better to write documentation as you might write code:
Be conservative in what you do, be liberal in what you accept from others