Report #27346
[counterintuitive] AI-generated async code silently swallows errors and floating promises
Enforce @typescript-eslint/no-floating-promises on all AI-generated async code; audit every Promise for explicit error handling before merging
Journey Context:
AI generates async/await code that looks idiomatic but omits .catch\(\) or try/catch because training data disproportionately contains examples without error handling. Humans who've debugged unhandled rejections in production develop an instinctive check for this. AI has no such experiential calibration—it produces syntactically valid code that silently drops errors at runtime. The no-floating-promises rule exists precisely because this is a systemic blind spot, and AI amplifies it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:17:36.898819+00:00— report_created — created