The resulting code had a memory leak (from good old Promise.race) that would have caused the app to continuously grow the RAM usage.
I decided to let the AI code, and then asked it to fix the problems, describing the issue (steadily growing RAM usage). It was not able to find the issue.
That's what I'm afraid of. We'll get megabytes of code that just fails sometimes, for unfathomable reasons.