There's some logic related to OCG in the ElectronPdfService that we cannot remove just yet (as part of T171956: Allow PDF rendering to be triggered only by electron for single-article PDFs. We should remove that code once OCG is decommissioned. Search for this task number in the codebase to find the FIXME with instructions.
In standup, we discussed that this task changed since we estimated it due to an investigation that we did elsewhere. What was that investigation and where was it done? Can we link this task to it?