Improving Wayland stability using fuzzing & other automated testing / XWayland apps surviving crashes

With conversion from X11 to Wayland comes one pretty unfortunate downgrade:
Apps in general (with a small exception of native QT6 apps) can’t survive the restart/ crash of the compositor/kwin. Restarting kwin on X11 was completely fine & crashes mostly only had a temporary effect until everything got restored.

Hence the following questions / ideas:

  • If it isn’t so, it might be a good idea to employ fuzzing as part of a testing of critical components to make them really rock solid. Are there any such tests yet?
  • Is there any reason while at least the legacy X11 apps using Xwayland couldn’t be restored after the crash/restart? Any efforts in this area?