GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — lib: string indexOf to use primordials for http2/compat.js by rchougule · Pull Request #36679 · nodejs/node

Conversation

@rchougule

@rchougule rchougule commented Dec 29, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bricss reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@nodejs-github-bot nodejs-github-bot added the http2 Issues and PRs related to the http2 subsystem. label Dec 29, 2020
aduh95
aduh95 approved these changes Dec 29, 2020
View reviewed changes
Comment thread lib/internal/http2/compat.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

@yashLadha

yashLadha commented Dec 30, 2020

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Lxxyx
Lxxyx approved these changes Dec 30, 2020
View reviewed changes
himself65
himself65 approved these changes Dec 30, 2020
View reviewed changes
@aduh95

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.

yashLadha and Lxxyx reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95 aduh95 added author ready PRs with CI started, the required approvals, and no outstanding review comments. request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. labels Dec 30, 2020
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Dec 30, 2020
@aduh95

aduh95 commented Dec 30, 2020

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

PoojaDurgad
PoojaDurgad approved these changes Dec 31, 2020
View reviewed changes
@aduh95 aduh95 mentioned this pull request Dec 31, 2020
Cannot start CI jobs nodejs/build#2506
Closed
@aduh95

aduh95 commented Dec 31, 2020

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rchougule
rchougule force-pushed the primordials_lib_http2 branch from 4bb6fab to 9d927f3 Compare December 31, 2020 11:56
@yashLadha yashLadha added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Dec 31, 2020
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Dec 31, 2020
jasnell
jasnell reviewed Dec 31, 2020
View reviewed changes
Comment thread lib/internal/http2/compat.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

jasnell
jasnell approved these changes Dec 31, 2020
View reviewed changes
@rchougule
http2: refactor to use primordials instead of <string>.indexOf
12c78aa
@rchougule
rchougule force-pushed the primordials_lib_http2 branch from fcc389b to 12c78aa Compare December 31, 2020 18:19
@yashLadha yashLadha added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Jan 1, 2021
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Jan 1, 2021
@yashLadha

yashLadha commented Jan 1, 2021

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rchougule rchougule mentioned this pull request Jan 1, 2021
zlib: refactor to use primordial instead of <string>.startsWith #36718
Closed
2 tasks done
Trott
Trott approved these changes Jan 2, 2021
View reviewed changes
@Trott

Trott commented Jan 2, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

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)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rchougule

rchougule commented Jan 3, 2021

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? 😅
image

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95

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

rchougule reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95 aduh95 added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Jan 3, 2021
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Jan 3, 2021
@nodejs-github-bot

This comment has been minimized.

Sign in to view
@nodejs-github-bot

This comment has been minimized.

Sign in to view
@nodejs-github-bot

nodejs-github-bot commented Jan 5, 2021

Copy link
Copy Markdown
Collaborator

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

nodejs-github-bot commented Jan 6, 2021

Copy link
Copy Markdown
Collaborator

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rchougule

rchougule commented Jan 6, 2021

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!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

nodejs-github-bot commented Jan 6, 2021

Copy link
Copy Markdown
Collaborator

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

nodejs-github-bot commented Jan 6, 2021

Copy link
Copy Markdown
Collaborator

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rchougule

rchougule commented Jan 7, 2021

Copy link
Copy Markdown
Contributor Author

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yashLadha yashLadha added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Jan 8, 2021
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Jan 8, 2021
@nodejs-github-bot

nodejs-github-bot commented Jan 8, 2021

Copy link
Copy Markdown
Collaborator

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

yashLadha pushed a commit that referenced this pull request Jan 9, 2021
@rchougule @yashLadha
http2: refactor to use primordials instead of <string>.indexOf
3af175f
PR-URL: #36679
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Zeyu Yang <[email protected]>
Reviewed-By: Pooja D P <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
@yashLadha

yashLadha commented Jan 9, 2021

Copy link
Copy Markdown
Contributor

Landed in 3af175f

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yashLadha yashLadha closed this Jan 9, 2021
@yashLadha

yashLadha commented Jan 10, 2021

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

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).

yashLadha reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

This comment has been minimized.

Sign in to view
@Trott Trott mentioned this pull request Jan 11, 2021
benchmark: fix http2 benchmarks #36871
Merged
@yashLadha

yashLadha commented Jan 11, 2021

Copy link
Copy Markdown
Contributor

LGTM @Trott

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@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.

yashLadha, aduh95, and rchougule reacted with thumbs up emoji yashLadha reacted with eyes emoji
All reactions
  • 👍 3 reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

danielleadams pushed a commit that referenced this pull request Jan 12, 2021
@rchougule @danielleadams
http2: refactor to use primordials instead of <string>.indexOf
a38ad07
PR-URL: #36679
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Zeyu Yang <[email protected]>
Reviewed-By: Pooja D P <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
@danielleadams danielleadams mentioned this pull request Jan 12, 2021
v15.6.0 proposal #36889
Merged
@targos targos added the backport-blocked-v14.x label May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jasnell jasnell jasnell approved these changes
@Trott Trott Trott approved these changes
@Lxxyx Lxxyx Lxxyx approved these changes
@himself65 himself65 himself65 approved these changes
@aduh95 aduh95 aduh95 approved these changes
+1 more reviewer
@PoojaDurgad PoojaDurgad PoojaDurgad approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. http2 Issues and PRs related to the http2 subsystem.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

10 participants

@rchougule @yashLadha @aduh95 @Trott @nodejs-github-bot @jasnell @Lxxyx @himself65 @PoojaDurgad @targos
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.