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

readline: fix unresolved promise on abortion #54030

Conversation

DanielVenable
Copy link
Contributor

Fixes: #53497

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. readline Issues and PRs related to the built-in readline module. labels Jul 25, 2024
@benjamingr benjamingr added the request-ci Add this label to start a Jenkins CI on a PR. label Jul 25, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 25, 2024
@nodejs-github-bot

This comment was marked as outdated.

@DanielVenable
Copy link
Contributor Author

Can someone merge this?

@nodejs-github-bot

This comment was marked as outdated.

@DanielVenable
Copy link
Contributor Author

@jasnell what do I still need to do to get this merged?

@jasnell
Copy link
Member

jasnell commented Jan 29, 2025

looks like the PR needs to be rebased on main in order to clear up the CI failures. Please be sure to rebase and not merge.

@DanielVenable DanielVenable force-pushed the readline-reject-promise-on-abortion branch from 5eaf6b4 to 30387cf Compare January 29, 2025 21:59
@nodejs-github-bot
Copy link
Collaborator

@jasnell jasnell requested review from anonrig and BridgeAR January 29, 2025 22:29
@jasnell jasnell added the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 29, 2025
Copy link

codecov bot commented Jan 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.21%. Comparing base (1b2a966) to head (30387cf).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #54030      +/-   ##
==========================================
- Coverage   89.21%   89.21%   -0.01%     
==========================================
  Files         663      663              
  Lines      192002   192012      +10     
  Branches    36932    36926       -6     
==========================================
+ Hits       171291   171295       +4     
  Misses      13574    13574              
- Partials     7137     7143       +6     
Files with missing lines Coverage Δ
lib/internal/readline/interface.js 96.95% <100.00%> (+0.01%) ⬆️
lib/readline/promises.js 100.00% <100.00%> (ø)

... and 19 files with indirect coverage changes

@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 Jan 30, 2025
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/54030
✔  Done loading data for nodejs/node/pull/54030
----------------------------------- PR info ------------------------------------
Title      readline: fix unresolved promise on abortion (#54030)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     DanielVenable:readline-reject-promise-on-abortion -> nodejs:main
Labels     readline, needs-ci
Commits    3
 - readline: fix unresolved promise on abortion
 - readline: fix js-lint errors
 - readline: fix test so it tests aborting a question with both ctrl+C a…
Committers 1
 - Daniel Venable <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/54030
Fixes: https://github.com/nodejs/node/issues/53497
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/54030
Fixes: https://github.com/nodejs/node/issues/53497
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
--------------------------------------------------------------------------------
   ℹ  This PR was created on Thu, 25 Jul 2024 02:02:05 GMT
   ✔  Approvals: 2
   ✔  - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/54030#pullrequestreview-2574292629
   ✔  - Yagiz Nizipli (@anonrig) (TSC): https://github.com/nodejs/node/pull/54030#pullrequestreview-2582544569
   ✘  Last GitHub CI failed
   ℹ  Last Full PR CI on 2025-01-29T22:29:25Z: https://ci.nodejs.org/job/node-test-pull-request/64833/
- Querying data for job/node-test-pull-request/64833/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/13043107844

jasnell pushed a commit that referenced this pull request Jan 30, 2025
Fixes: #53497
PR-URL: #54030
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
@jasnell
Copy link
Member

jasnell commented Jan 30, 2025

Landed in 5557ce4

@jasnell jasnell closed this Jan 30, 2025
@DanielVenable DanielVenable deleted the readline-reject-promise-on-abortion branch January 30, 2025 05:18
targos pushed a commit that referenced this pull request Feb 2, 2025
Fixes: #53497
PR-URL: #54030
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commit-queue-failed An error occurred while landing this pull request using GitHub Actions. needs-ci PRs that need a full CI run. readline Issues and PRs related to the built-in readline module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Promise readline question results in unsettled promise on abortion
5 participants