Expert here. I'm a longtime lurker on HN, but registered just for this comment. I design aerospace pressure vessels for a living. As showerst alluded to, there are often things called "propellant management devices" or PMDs. There are a few reasons these might be used. In zero G, you need the propellant sump to remain wetted with propellant; it would be bad to ingest the pressurant/ullage gas into your engines. Some PMDs allow the pressurant and propellant to occupy the same volume, and will use surface tension devices inside the tank to direct liquid to the sump. These can be screens, vanes, channels, etc. In other cases, the pressurant and propellant are kept separate by a bladder. These bladders can be rubber, or even metal. The propellant mass is usually a large proportion of a space vehicle's mass, and you can't have that much sloshing around when you need dynamic control. A metal diaphragm keeps the propellant more or less static, and its center of mass in a predictable location.
As for the pressurant gas dissolving into the propellant in non-PMD tanks, I don't know enough about that. I imagine the solubility of He (it is usually helium) in these propellants is either accounted for, or negligible.
Edit: P.S. Software engineering is mostly foreign to me and much of HN content is over my head, but I like he level of discourse here. So, when a topic came up that I could actually contribute to, I jumped.