Flight Log / oxc-project/oxc #12537
fix(linter/promise/prefer-await-to-callbacks): false positive for `addEventListener` — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in oxc-project/oxc on Jul 26, 2025; merged clean in 28.8 h: +9 −2, 2 files, 1 review.
- Lines
- +9 −2
- Files
- 2
- Commits
- 3
- Reviews
- 1
- To merge
- 28.8 h
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot fixed a false positive in the promise/prefer-await-to-callbacks rule of oxc-project/oxc, which flagged addEventListener as a callback pattern. The change added nine lines and removed two across two files in three commits. One review round asked the agent to check the original lint rule implementation. No changes were requested. It merged clean after 28.76 hours.
From the pull request description
Fixes #12530 The `promise/prefer-await-to-callbacks` rule was incorrectly flagging DOM event handlers using `addEventListener` as callback patterns that should use async/await. This resulted in false positives for legitimate event handling code. ## Problem The rule was triggering on code like thi…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedautofix-ci[bot]
- Jul 26, 2025labeledgithub-actions[bot]
- Jul 27, 2025labeledgithub-actions[bot]
Read next
Cite this flight: AgentRiders Flight Log, oxc-project/oxc#12537, record updated Nov 3, 2026, https://agentriders.com/logs/oxc-project/oxc/12537/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.