This is half a question and half a bug that I wish to file.
I have seen reports before on telegram, and now I'm doing some more editing I am also experiencing it myself, that sometimes my sessions just randomly disappear?
This is also particularly easy to spot while using cradle I believe.
At a guess, redis is too small, sessions and other things are stored in there, and things are being dumped.
redis is:
- the mediawiki sessions storage https://github.com/wbstack/mediawiki/blob/main/dist-persist/wbstack/src/Settings/ProductionCache.php#L19C6-L19C24
- the main mediawiki cache https://github.com/wbstack/mediawiki/blob/main/dist-persist/wbstack/src/Settings/ProductionCache.php#L18
- sessions for tools https://github.com/wbstack/quickstatements/blob/7a50ebf419bb559cccaeb6018e6dd75da678bbc2/public_html/api.php#L14 https://github.com/wbstack/widar/blob/132df3e68ee35c4281734e96705e9cf857a571cc/public_html/index.php#L15
- cloud api cache https://github.com/wmde/wbaas-deploy/blob/548385dc5b0a259445929ca2c65e823d5cc9176d/k8s/argocd/production/api.values.yaml#L2
- cloud api queue https://github.com/wmde/wbaas-deploy/blob/548385dc5b0a259445929ca2c65e823d5cc9176d/k8s/argocd/production/api.values.yaml#L37
The max memory for all of wikibase.cloud is still set to 75mb? https://github.com/wmde/wbaas-deploy/blob/548385dc5b0a259445929ca2c65e823d5cc9176d/k8s/helmfile/env/production/redis.values.yaml.gotmpl#L55
Ultimately server logs and metrics are needed to actually figure out what is going on.
If it's no redis, it would still be great to not have user sessions randomly disappear!