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

lib: string indexOf to use primordials for http2/compat.js by rchougule · Pull Request #36679 · nodejs/node · GitHub

/ node Public

lib: string indexOf to use primordials for http2/compat.js - #36679

Closed
rchougule wants to merge 1 commit into
nodejs:masterfrom
rchougule:primordials_lib_http2
Closed

lib: string indexOf to use primordials for http2/compat.js#36679
rchougule wants to merge 1 commit into
nodejs:masterfrom
rchougule:primordials_lib_http2

Conversation

rchougule commented Dec 29, 2020
edited
Loading

Copy link
Copy Markdown
Contributor

StringPrototypeIncludes primordial in place of <string>.indexOf for truthy validation in if expression.

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

nodejs-github-bot added the http2 Issues or PRs related to the http2 subsystem. label Dec 29, 2020
Comment thread lib/internal/http2/compat.js Outdated

Copy link
Copy Markdown
Contributor

Can you please squash the fixup commit. Else LGTM 👍🏽

aduh95 commented Dec 30, 2020

Copy link
Copy Markdown
Contributor

Note to whoever lands this: the first word of the commit message should be an imperative verb, I suggest something like http2: refactor to use primordials instead of <string>.indexOf.

Can you please squash the fixup commit. Else LGTM 👍🏽

@yashLadha This is usually done by the collaborator who lands the PR (git node land 36679 --fixupAll). They are also in charge of amending the commit message if there are typos or if it doesn't follow the commit guidelines.

aduh95 added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Dec 30, 2020
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 30, 2020

aduh95 commented Dec 30, 2020

Copy link
Copy Markdown
Contributor

aduh95 commented Dec 31, 2020

Copy link
Copy Markdown
Contributor

rchougule force-pushed the primordials_lib_http2 branch from 4bb6fab to 9d927f3 Compare December 31, 2020 11:56
yashLadha added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 31, 2020
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 31, 2020
Comment thread lib/internal/http2/compat.js Outdated
rchougule force-pushed the primordials_lib_http2 branch from fcc389b to 12c78aa Compare December 31, 2020 18:19
yashLadha added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 1, 2021
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 1, 2021

Copy link
Copy Markdown
Contributor

Trott commented Jan 2, 2021
edited
Loading

Copy link
Copy Markdown
Member

Benchmark CI: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/856/ (queued, will 404 until it starts running)

Copy link
Copy Markdown
Contributor Author

Benchmark CI: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/856/ (queued, will 404 until it starts running)

Why does it say NA? or am I looking at the wrong place? 😅

aduh95 commented Jan 3, 2021

Copy link
Copy Markdown
Contributor

Why does it say NA? or am I looking at the wrong place? 😅

See #36746

aduh95 added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 3, 2021
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 3, 2021

This comment has been minimized.

This comment has been minimized.

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Contributor Author

@aduh95 can you help me understand the further steps here? Just trying to understand what's failing here. Thanks!

aduh95 commented Jan 6, 2021

Copy link
Copy Markdown
Contributor

can you help me understand the further steps here?

We need to have a green CI in order to land this; the failure on the CI are almost certainly unrelated to the changes introduced by this PR, I've just kicked off another one, hopefully it should be good now.

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Contributor Author

It seems the same checks failed 😓 ... @aduh95

yashLadha added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 8, 2021
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 8, 2021

Copy link
Copy Markdown
Collaborator

yashLadha pushed a commit that referenced this pull request Jan 9, 2021
PR-URL: #36679
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>

Copy link
Copy Markdown
Contributor

Landed in 3af175f

yashLadha closed this Jan 9, 2021

Copy link
Copy Markdown
Contributor

@Trott It seems that multiple PRs are failing for the 3 jobs probably a flakiness issue.

Trott commented Jan 10, 2021

Copy link
Copy Markdown
Member

@Trott It seems that multiple PRs are failing for the 3 jobs probably a flakiness issue.

Yeah, it can be frustrating when CI is broken. If a test is known to be faulty, then a good thing to do is open a fast-track PR to add a line to the .status file telling CI to ignore the test results for that test That's what eventually happened in this case, and that got us back to yellow (and we'll be back to green once nodejs/build#2521 lands).

This comment has been minimized.

Copy link
Copy Markdown
Contributor

LGTM @Trott

Trott commented Jan 11, 2021

Copy link
Copy Markdown
Member

Subsequent benchmark of a revert on CI didn't show anything of interest, so this is good.

danielleadams pushed a commit that referenced this pull request Jan 12, 2021
PR-URL: #36679
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
danielleadams mentioned this pull request Jan 12, 2021
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. http2 Issues or PRs related to the http2 subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants


Back | FazBrowse Home | New Git URL