Skip to content

dgram: do not call callback if socket is closed - #52829

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
theanarkh:dont-emit-error-after-close-handle
May 23, 2024
Merged

dgram: do not call callback if socket is closed#52829
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
theanarkh:dont-emit-error-after-close-handle

Conversation

@theanarkh

Copy link
Copy Markdown
Contributor

Do not call callback if socket is closed.

  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/net

@nodejs-github-botnodejs-github-bot added dgram Issues and PRs related to the dgram subsystem / UDP. needs-ci PRs that need a full CI run. labels May 4, 2024
@theanarkhtheanarkh added the request-ci Add this label to start a Jenkins CI on a PR. label May 4, 2024
@github-actionsgithub-actionsBot added request-ci-failed An error occurred while starting CI via request-ci label, and manual interventon is needed. and removed request-ci Add this label to start a Jenkins CI on a PR. labels May 4, 2024
@github-actions

Copy link
Copy Markdown
Contributor
Failed to start CI
 ⚠ No approving reviews found
✘ Refusing to run CI on potentially unsafe PR
https://github.com/nodejs/node/actions/runs/8949880553

Comment threadtest/parallel/test-dgram-bind-socket-close-before-cluster-reply.js Outdated
Comment threadlib/dgram.js Outdated
@mcollinamcollina changed the title lib: do not call callback if socket is closeddgram: do not call callback if socket is closedMay 15, 2024

@mcollinamcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm so we can start CI

@mcollinamcollina added request-ci Add this label to start a Jenkins CI on a PR. and removed request-ci-failed An error occurred while starting CI via request-ci label, and manual interventon is needed. labels May 15, 2024
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 15, 2024
@theanarkh
theanarkhforce-pushed the dont-emit-error-after-close-handle branch from 9aeee94 to d022b6cCompareMay 15, 2024 11:48
@theanarkhtheanarkh added the request-ci Add this label to start a Jenkins CI on a PR. label May 18, 2024
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 18, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@mcollinamcollina added the commit-queue Add this label to land a pull request using GitHub Actions. label May 19, 2024
@nodejs-github-botnodejs-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 May 19, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/52829
✔ Done loading data for nodejs/node/pull/52829
----------------------------------- PR info ------------------------------------
Title dgram: do not call callback if socket is closed (#52829)
Author theanarkh (@theanarkh)
Branch theanarkh:dont-emit-error-after-close-handle -> nodejs:main
Labels dgram, needs-ci
Commits 1
- lib: do not call callback if socket is closed
Committers 1
- theanarkh PR-URL: https://github.com/nodejs/node/pull/52829
Reviewed-By: Matteo Collina ------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/52829
Reviewed-By: Matteo Collina --------------------------------------------------------------------------------
⚠ Commits were pushed since the last approving review:
⚠ - lib: do not call callback if socket is closed
ℹ This PR was created on Sat, 04 May 2024 07:58:48 GMT
✔ Approvals: 1
✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/52829#pullrequestreview-2057177270
✔ Last GitHub CI successful
ℹ Last Full PR CI on 2024-05-18T07:21:46Z: https://ci.nodejs.org/job/node-test-pull-request/59282/
- Querying data for job/node-test-pull-request/59282/
✔ Last Jenkins CI successful
--------------------------------------------------------------------------------
✔ Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/9146455101

@mcollinamcollina added the request-ci Add this label to start a Jenkins CI on a PR. label May 19, 2024
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 19, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@theanarkhtheanarkh added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 20, 2024
@aduh95
aduh95 requested a review from mcollinaMay 23, 2024 15:15

@mcollinamcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@mcollinamcollina added the commit-queue Add this label to land a pull request using GitHub Actions. label May 23, 2024
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 23, 2024
@nodejs-github-bot
nodejs-github-bot merged commit f05baff into nodejs:mainMay 23, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in f05baff

targos pushed a commit that referenced this pull request Jun 1, 2024
PR-URL: #52829
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@RafaelGSSRafaelGSS mentioned this pull request Jun 7, 2024
soophoo pushed a commit to soophoo/node that referenced this pull request Jun 20, 2024
PR-URL: nodejs#52829
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
marco-ippolito pushed a commit that referenced this pull request Jul 19, 2024
PR-URL: #52829
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@marco-ippolitomarco-ippolito mentioned this pull request Jul 19, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.commit-queue-failedAn error occurred while landing this pull request using GitHub Actions.dgramIssues and PRs related to the dgram subsystem / UDP.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@theanarkh@nodejs-github-bot@mcollina@ShogunPanda