FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: run REPL preview test regardless of terminal type by Trott · Pull Request #34798 · nodejs/node · GitHub

/ node Public

test: run REPL preview test regardless of terminal type - #34798

Closed
Trott wants to merge 2 commits into
nodejs:masterfrom
Trott:terminal-type
Closed

test: run REPL preview test regardless of terminal type#34798
Trott wants to merge 2 commits into
nodejs:masterfrom
Trott:terminal-type

Conversation

Trott commented Aug 16, 2020

Copy link
Copy Markdown
Member
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

nodejs-github-bot added the test Issues and PRs related to the tests. label Aug 16, 2020

This comment has been minimized.

BridgeAR left a comment
edited
Loading

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

These tests should fail if the env is set to dumb. If they don't, then that's something to fix.

Trott commented Aug 16, 2020

Copy link
Copy Markdown
Member Author

These tests should fail if the env is set to dumb. If they don't, then that's something to fix.

Yeah, my hope is that the tests fail here (which is why I have this in draft mode) and then pass if we spawn a subprocess with a different TERM setting and possibly a few other modifications to the test.

Trott marked this pull request as ready for review August 19, 2020 14:22
Trott requested a review from BridgeAR August 19, 2020 14:23

Trott commented Aug 19, 2020

Copy link
Copy Markdown
Member Author

@nodejs/repl

This comment has been minimized.

Trott commented Aug 19, 2020

Copy link
Copy Markdown
Member Author

Yeah, my hope is that the tests fail here (which is why I have this in draft mode) and then pass if we spawn a subprocess with a different TERM setting and possibly a few other modifications to the test.

Turns out it didn't need to do any spawning. Since the output never goes to the actual terminal anyway, we can set the TERM environment variable to whatever we want and run the test normally.

This comment has been minimized.

Trott commented Aug 20, 2020

Copy link
Copy Markdown
Member Author

Trott commented Aug 20, 2020

Copy link
Copy Markdown
Member Author

jasnell added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Aug 20, 2020
github-actions 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 20, 2020

Copy link
Copy Markdown
Contributor
Commit Queue failed
- Loading data for nodejs/node/pull/34798
✔  Done loading data for nodejs/node/pull/34798
----------------------------------- PR info ------------------------------------
Title      test: run REPL preview test regardless of terminal type (#34798)
Author     Rich Trott  (@Trott)
Branch     Trott:terminal-type -> nodejs:master
Labels     author ready, test
Commits    2
 - test: run REPL preview test regardless of terminal type
 - fixup! test: run REPL preview test regardless of terminal type
Committers 1
 - Rich Trott 
PR-URL: https://github.com/nodejs/node/pull/34798
Reviewed-By: Ruben Bridgewater 
Reviewed-By: James M Snell 
Reviewed-By: Mary Marchini 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/34798
Reviewed-By: Ruben Bridgewater 
Reviewed-By: James M Snell 
Reviewed-By: Mary Marchini 
--------------------------------------------------------------------------------
   ℹ  Last Full PR CI on 2020-08-20T02:19:41Z: https://ci.nodejs.org/job/node-test-pull-request/32864/
- Querying data of job/node-test-pull-request/32864/
✔  Build data downloaded
   ℹ  This PR was created on Sun, 16 Aug 2020 17:37:52 GMT
   ✔  Approvals: 3
   ✔  - Ruben Bridgewater (@BridgeAR) (TSC): https://github.com/nodejs/node/pull/34798#pullrequestreview-470512232
   ✔  - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/34798#pullrequestreview-470592782
   ✔  - Mary Marchini (@mmarchini) (TSC): https://github.com/nodejs/node/pull/34798#pullrequestreview-471078394
--------------------------------------------------------------------------------
   ✔  No git am in progress
   ✔  No git rebase in progress
--------------------------------------------------------------------------------
- Bringing origin/master up to date...
From https://github.com/nodejs/node
 * branch              master     -> FETCH_HEAD
✔  origin/master is now up-to-date
- Downloading patch for 34798
✔  Downloaded patch to /home/runner/work/node/node/.ncu/34798/patch
--------------------------------------------------------------------------------
Applying: test: run REPL preview test regardless of terminal type
Applying: fixup! test: run REPL preview test regardless of terminal type
   ✔  Patches applied
There are 2 commits in the PR
Please run the following commands to complete landing

$ git rebase origin/master -i -x "git node land --amend" --autosquash
$ git node land --continue

Copy link
Copy Markdown
Member

Commit queue failed as at the moment it can only handle single commit pull requests (I forgot this too in another PR). This could be landed manually, but it could also be a good candidate to test out nodejs/node-core-utils#473. cc @mmarchini

mmarchini pushed a commit that referenced this pull request Aug 20, 2020
PR-URL: #34798
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>

Copy link
Copy Markdown
Contributor

Landed in 6130cdd

mmarchini closed this Aug 20, 2020
BethGriggs pushed a commit that referenced this pull request Aug 24, 2020
PR-URL: #34798
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>
danielleadams mentioned this pull request Aug 25, 2020
addaleax pushed a commit that referenced this pull request Sep 22, 2020
PR-URL: #34798
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>
addaleax pushed a commit that referenced this pull request Sep 22, 2020
PR-URL: #34798
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>
codebytere mentioned this pull request Sep 28, 2020
targos removed the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Sep 5, 2021
Trott deleted the terminal-type branch April 14, 2022 11:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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 outstanding review comments, and a CI started. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants


Back | FazBrowse Home | New Git URL