Your initial questions:
Will the valve cavity become pressurized if you open the ball under pressure? Yes for sure, valves in partial open position will exposed its cavity towards (pressurized) upstream and/or downstream.
And if so, does that mean we should be venting all the cavities again after opening to prevent trapped pressure? This question is a quite vague for me. Why do you need to vent cavity every time? it is designed to handle such pressure. Or maybe there is some details that have not yet shared e.g. subject for temperature fluctuation (for example trapped pressure was in cold state e.g. water and then it will be heated up as superheated steam); subject for polymerization, etc.
If that is the case, then IMO you're using the wrong type/design of valve. Simple solution is add cavity hole on the ball (facing upstream). Not so simple is to add Automatic Bleed valve (ABV) on the cavity's bleed nozzle. ABV is quite common design for DBB Plug valve.
My personal take-off:
- For not so clean medium, PTFE seats would not last long (worn out, scratches, etc.), hence sooner or later there will be direct leak path from upstream to cavity.
- Manual venting (by operator) every time after valve is operated, is not fool proof method. People may forgot, and also in the event seat(s) already compromised then the leakage which is being vented will not stop.
Regards,
Danlap