Skip to content

Conversation

@Trott
Copy link
Member

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

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

This comment has been minimized.

Copy link
Member

@BridgeARBridgeAR left a comment

Choose a reason for hiding this comment

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

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

@Trott
Copy link
MemberAuthor

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.

@TrottTrott marked this pull request as ready for review August 19, 2020 14:22
@TrottTrott requested a review from BridgeARAugust 19, 2020 14:23
@Trott
Copy link
MemberAuthor

@nodejs/repl

@Trott

This comment has been minimized.

@Trott
Copy link
MemberAuthor

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.

@Trott

This comment has been minimized.

@Trott
Copy link
MemberAuthor

@Trott
Copy link
MemberAuthor

@jasnelljasnell added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Aug 20, 2020
@github-actionsgithub-actionsbot 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
@github-actions
Copy link
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

@richardlau
Copy link
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 <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Mary Marchini <[email protected]>
@mmarchini
Copy link
Contributor

Landed in 6130cdd

BethGriggs pushed a commit that referenced this pull request Aug 24, 2020
PR-URL: #34798 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Mary Marchini <[email protected]>
@danielleadamsdanielleadams 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 <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Mary Marchini <[email protected]>
addaleax pushed a commit that referenced this pull request Sep 22, 2020
PR-URL: #34798 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Mary Marchini <[email protected]>
@codebyterecodebytere mentioned this pull request Sep 28, 2020
@targostargos removed the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Sep 5, 2021
@TrottTrott deleted the terminal-type branch April 14, 2022 11:29
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.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@Trott@nodejs-github-bot@richardlau@mmarchini@jasnell@BridgeAR@targos