Things to consider when addressing a leak-
If using a soap water solution, unless you thoroughly dry all water off, you will get rust spots, and possibly taint the lubes in your gun.
Depending on location of the leaky o ring, be proactive and change all in the travels to that one o ring, like air tube end caps, change the o rings on those if addressing a leaky o ring on the regulator , and change all the regs o rings, not just the leaky one.
O rings are under a lot of pressure. They take their own shape to create the seal, which means stretch and deform.
Depending on how long you are working on your gun with no air in it, the o rings will shrink down and set back in their grooves but they have been stretched and in my experience if you take too long addressing the leak and re pressurizing the gun, other leaks may come about.
On my impacts, I have this two hour rule. If I can’t get the gun air’d back up inside of two hours I go ahead and change all o rings, x rings, bottle o rings, everything. Cause I already know I’ll have a leak elsewhere. For this reason, I make sure I have all tools and materials on hand before I drain down the gun