In wdio-defaults.conf.js, the three Chrome flags --no-sandbox, --disable-gpu, and --disable-dev-shm-usage are only added when /.dockerenv exists. That file is in Docker containers but not in Kubernetes pods, so Catalyst selenium runs (which use K8s) don't get the flags and Chrome fails to start on Node 24.
I confirmed this by adding the flags directly in WikiLambda's wdio.conf.mjs (see gerrit patch added below). Catalyst CI (for node 24 upgrade in gitlab) passed after that.
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikiLambda/+/1287507
This ticket is to add the flags by default, or detect K8s too. Then WikiLambda can drop this workaround and other extensions won't need to do the workaround either.
Also for full context, here's the original Node 24 upgrade ticket T425968