We know moisture content in the glove box should be less than 1 ppm. I was wandering how H2O in the atmosphere of glove box can absorb in electrolyte solution (for example 1 M LiPF6 in EC/DMC 1:1) and finally leads to produce HF.
The reaction causing HF as a product occurs between water and LiPF6. This is unrelated to the reaction of water with lithium, and any other reactions from gases other than argon causing passivation films on lithium metal surfaces.
I have asked around to see how other people manage the risk of HF in their glovebox, and it seems to be largely ignored, possibly because the total quantities are assumed to be negligible. I personally handle any waste that might contain fluorine in dedicated, separate sealed containers. The only way to avoid the HF risk completely would be to use a non fluorine-containing salt in your electrolyte, but my experience with perchlorate has been uninspiring.