Visitar URL original
dns: stop using deprecated `ares_query` by RedYetiDev · Pull Request #55430 · nodejs/node · GitHub
The Wayback Machine - https://web.archive.org/web/20241119091404/https://github.com/nodejs/node/pull/55430
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dns: stop using deprecated ares_query #55430

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

RedYetiDev
Copy link
Member

Ref: #52464

ares_query has been deprecated in favor of ares_query_dnsrec, so this PR switches our implementation to use it.

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. cares Issues and PRs related to the c-ares dependency or the cares_wrap binding. needs-ci PRs that need a full CI run. labels Oct 17, 2024
@lpinca lpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 17, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 17, 2024
@nodejs-github-bot
Copy link
Collaborator

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

Copy link

codecov bot commented Oct 17, 2024 •

Codecov Report

Attention: Patch coverage is 66.66667% with 7 lines in your changes missing coverage. Please review.

Project coverage is 88.43%. Comparing base (fa8f149) to head (e9916ad).
Report is 93 commits behind head on main.

Files with missing lines Patch % Lines
src/cares_wrap.cc 41.66% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #55430      +/-   ##
==========================================
+ Coverage   88.41%   88.43%   +0.01%     
==========================================
  Files         652      654       +2     
  Lines      186918   187661     +743     
  Branches    36072    36119      +47     
==========================================
+ Hits       165270   165949     +679     
- Misses      14891    14946      +55     
- Partials     6757     6766       +9     
Files with missing lines Coverage Δ
src/cares_wrap.h 79.89% <100.00%> (+2.18%) ⬆️
src/cares_wrap.cc 65.16% <41.66%> (ø)

... and 143 files with indirect coverage changes

@RedYetiDev
Copy link
Member Author

Hey, can I have some reviews? Thanks!

Copy link
Member

@lpinca lpinca left a comment

Choose a reason for hiding this comment

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

RSLGTM

@RedYetiDev RedYetiDev added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Oct 22, 2024
src/cares_wrap.h Show resolved Hide resolved
@RedYetiDev RedYetiDev removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Oct 25, 2024
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@mcollina mcollina added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 29, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 29, 2024
@nodejs-github-bot
Copy link
Collaborator

@lpinca lpinca added the commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. label Oct 29, 2024
@RedYetiDev RedYetiDev added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Oct 29, 2024
@RedYetiDev
Copy link
Member Author

CI is 🟢 ! Can somone commit-queue this? Thx!

@mcollina mcollina added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 30, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 30, 2024
@nodejs-github-bot nodejs-github-bot merged commit 8807549 into nodejs:main Oct 30, 2024
67 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 8807549

RafaelGSS pushed a commit that referenced this pull request Nov 1, 2024
PR-URL: #55430
Refs: #52464
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
louwers pushed a commit to louwers/node that referenced this pull request Nov 2, 2024
PR-URL: nodejs#55430
Refs: nodejs#52464
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
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. c++ Issues and PRs that require attention from people who are familiar with C++. cares Issues and PRs related to the c-ares dependency or the cares_wrap binding. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants