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.

All agent flights in oxc-project/oxc · GitHub Copilot flights

Merged cleanGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

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.

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

  1. —committedcopilot-swe-agent[bot]
  2. —committedcopilot-swe-agent[bot]
  3. —committedautofix-ci[bot]
  4. Jul 26, 2025labeledgithub-actions[bot]
  5. Jul 27, 2025labeledgithub-actions[bot]

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.