Skip to content

Conversation

Richienb
Copy link
Contributor

@Richienb Richienb commented Jul 1, 2025

Fixes #58918

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/startup
  • @nodejs/web-standards

@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Jul 1, 2025
@panva panva added the semver-major PRs that contain breaking changes and should be released in the next major version. label Jul 1, 2025
Copy link

codecov bot commented Jul 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.05%. Comparing base (049664b) to head (4edeb85).
⚠️ Report is 212 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #58920      +/-   ##
==========================================
- Coverage   90.06%   90.05%   -0.01%     
==========================================
  Files         645      645              
  Lines      189130   189130              
  Branches    37094    37093       -1     
==========================================
- Hits       170339   170321      -18     
- Misses      11511    11516       +5     
- Partials     7280     7293      +13     
Files with missing lines Coverage Δ
...internal/bootstrap/web/exposed-window-or-worker.js 93.79% <100.00%> (ø)

... and 23 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@panva panva added the notable-change PRs with changes that should be highlighted in changelogs. label Jul 1, 2025
Copy link
Contributor

github-actions bot commented Jul 1, 2025

The notable-change PRs with changes that should be highlighted in changelogs. label has been added by @panva.

Please suggest a text for the release notes if you'd like to include a more detailed summary, then proceed to update the PR description with the text or a link to the notable change suggested text comment. Otherwise, the commit will be placed in the Other Notable Changes section.

@himself65 himself65 added the request-ci Add this label to start a Jenkins CI on a PR. label Jul 2, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 2, 2025
@nodejs-github-bot
Copy link
Collaborator

@panva
Copy link
Member

panva commented Jul 2, 2025

cc @nodejs/tsc for semver-major PRs that contain breaking changes and should be released in the next major version.

@panva
Copy link
Member

panva commented Jul 2, 2025

@KhafraDev Is the class is tested in https://github.com/nodejs/undici inclusive all its related WPTs?

Are there ErrorEvent WPTs we could enable in https://github.com/nodejs/node?

Copy link
Member

@panva panva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some form of test coverage should be present here.

@KhafraDev
Copy link
Member

@KhafraDev Is the class is tested in https://github.com/nodejs/undici inclusive all its related WPTs?

Are there ErrorEvent WPTs we could enable in https://github.com/nodejs/node?

It is tested, but all of the WPTs iirc were html files, so I adapted them to run in our own test suite. There isn't anything node needs to enable. It should be safe to assume that, similar to everything else from undici, it follows the spec even closer than pretty much anything in node core.

https://github.com/nodejs/undici/blob/main/test/websocket/events.js

@Richienb Richienb requested a review from aduh95 July 3, 2025 09:50
@aduh95
Copy link
Contributor

aduh95 commented Jul 6, 2025

Can you rebase to remove the merge commit please?

@Richienb
Copy link
Contributor Author

Can we get a re-un of the ci?
Previous run got cancelled because of billing reasons.

@gurgunday gurgunday added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jul 12, 2025
Copy link
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Richienb Richienb force-pushed the expose-errorevent branch from 9fa8a55 to 4edeb85 Compare July 12, 2025 11:17
@Richienb
Copy link
Contributor Author

I think this PR is ready for merge?

@aduh95 aduh95 added the request-ci Add this label to start a Jenkins CI on a PR. label Jul 22, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 22, 2025
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@KhafraDev
Copy link
Member

Another day, another try

@nodejs-github-bot
Copy link
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/68686/

@KhafraDev KhafraDev added the commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. label Aug 18, 2025
@aduh95 aduh95 added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 18, 2025
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Aug 18, 2025
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/58920
✔  Done loading data for nodejs/node/pull/58920
----------------------------------- PR info ------------------------------------
Title      lib: expose global ErrorEvent (#58920)
Author     Richie Bendall <[email protected]> (@Richienb)
Branch     Richienb:expose-errorevent -> nodejs:main
Labels     semver-major, lib / src, notable-change, author ready, needs-ci, commit-queue-squash
Commits    3
 - lib: expose global ErrorEvent
 - Update type-parser.mjs
 - Update tools/doc/type-parser.mjs
Committers 1
 - Richie Bendall <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/58920
Reviewed-By: Zeyu "Alex" Yang <[email protected]>
Reviewed-By: Matthew Aitken <[email protected]>
Reviewed-By: Jason Zhang <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/58920
Reviewed-By: Zeyu "Alex" Yang <[email protected]>
Reviewed-By: Matthew Aitken <[email protected]>
Reviewed-By: Jason Zhang <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
--------------------------------------------------------------------------------
   ℹ  This PR was created on Tue, 01 Jul 2025 15:34:08 GMT
   ✔  Approvals: 4
   ✔  - Zeyu "Alex" Yang (@himself65): https://github.com/nodejs/node/pull/58920#pullrequestreview-2976453301
   ✔  - Matthew Aitken (@KhafraDev): https://github.com/nodejs/node/pull/58920#pullrequestreview-2976691720
   ✔  - Jason Zhang (@jazelly): https://github.com/nodejs/node/pull/58920#pullrequestreview-3012989485
   ✔  - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/58920#pullrequestreview-2991105194
   ✘  semver-major requires at least 2 TSC approvals
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2025-08-17T22:17:37Z: https://ci.nodejs.org/job/node-test-pull-request/68686/
- Querying data for job/node-test-pull-request/68686/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/17032906904

@aduh95 aduh95 requested a review from panva August 18, 2025 08:01
@panva panva added commit-queue Add this label to land a pull request using GitHub Actions. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Aug 18, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 18, 2025
@nodejs-github-bot nodejs-github-bot merged commit 663554a into nodejs:main Aug 18, 2025
72 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 663554a

panva pushed a commit to panva/node that referenced this pull request Aug 18, 2025
PR-URL: nodejs#58920
Reviewed-By: Zeyu "Alex" Yang <[email protected]>
Reviewed-By: Matthew Aitken <[email protected]>
Reviewed-By: Jason Zhang <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Filip Skokan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. notable-change PRs with changes that should be highlighted in changelogs. semver-major PRs that contain breaking changes and should be released in the next major version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ErrorEvent
8 participants