The new `createPromiseCapability` helper is a simple wrapper around the `Promise.withResolvers()` function, to help avoid any "uncaught exception: Object"-messages in the console for unhandled promises.
This should hopefully remove the need for manual fixes all over the code-base, since we've seen a fair number of (suspected AI) reports about unhandled promises recently.