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 — Revert "http: use Keep-Alive by default in global agents" by F3n67u · Pull Request #43636 · nodejs/node

Conversation

@F3n67u

@F3n67u F3n67u commented Jun 30, 2022 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

This reverts commit 4267b92.

Fix #43623

Sorry, something went wrong.

Uh oh!

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

bricss reacted with eyes emoji
All reactions
  • 👀 1 reaction
@F3n67u
Revert "http: use Keep-Alive by default in global agents"
6208a5f
This reverts commit 4267b92.
@nodejs-github-bot

nodejs-github-bot commented Jun 30, 2022

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto
  • @nodejs/http
  • @nodejs/net
All reactions

Sorry, something went wrong.

Uh oh!

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

@nodejs-github-bot nodejs-github-bot added http Issues and PRs related to the http subsystem. https Issues and PRs related to the https subsystem. needs-ci PRs that need a full CI run. labels Jun 30, 2022
@ShogunPanda

ShogunPanda commented Jul 1, 2022

Copy link
Copy Markdown
Contributor

Why do you want to revert that?

All reactions

Sorry, something went wrong.

Uh oh!

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

@F3n67u

F3n67u commented Jul 1, 2022

Copy link
Copy Markdown
Contributor Author

Why do you want to revert that?

@ShogunPanda try to fix #43623 (comment)

All reactions

Sorry, something went wrong.

Uh oh!

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

@ShogunPanda

ShogunPanda commented Jul 1, 2022

Copy link
Copy Markdown
Contributor

Don't revert that, it is needed.
I'll briefly send a PR to fix the failing test.

MoLow, F3n67u, and bricss reacted with thumbs up emoji
All reactions
  • 👍 3 reactions

Sorry, something went wrong.

Uh oh!

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

@F3n67u

F3n67u commented Jul 1, 2022

Copy link
Copy Markdown
Contributor Author

Don't revert that, it is needed.
I'll briefly send a PR to fix the failing test.

Thanks.

All reactions

Sorry, something went wrong.

Uh oh!

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

@F3n67u F3n67u closed this Jul 1, 2022
This was referenced Jul 1, 2022
Investigate flaky test-stream-finished #43623
Closed
http: fix failing test #43641
Merged
@F3n67u F3n67u reopened this Jul 1, 2022
@F3n67u
F3n67u marked this pull request as ready for review July 1, 2022 13:23
@F3n67u

F3n67u commented Jul 1, 2022

Copy link
Copy Markdown
Contributor Author

#43522 also causes test-gc-http-client-timeout to fail, so I reopen this revert pr. Refs: #43638 (comment)

All reactions

Sorry, something went wrong.

Uh oh!

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

@F3n67u F3n67u 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 Jul 1, 2022
@ShogunPanda

ShogunPanda commented Jul 1, 2022

Copy link
Copy Markdown
Contributor

See: #43641 (comment)

All reactions

Sorry, something went wrong.

Uh oh!

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

@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 Jul 1, 2022
@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
@panva

panva commented Jul 1, 2022 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

I don't understand the urgency not to revert. It is semver major, not to be part of a release until october.

Revert it, reopen it with ci fixes, run it a bunch of times to be more confident no more flakyness was introduced, then land.

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 Jul 1, 2022

Copy link
Copy Markdown
Collaborator

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

All reactions

Sorry, something went wrong.

Uh oh!

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

@ShogunPanda

ShogunPanda commented Jul 1, 2022

Copy link
Copy Markdown
Contributor

I explained in my PR.
IMHO the new behavior exposed some problems in the tests that needs to be addressed. Reverting would hide them again so I would suggest to keep it and face problems as they arise.

As you pointed out, that was a semver-major so we're not blocking any release line I guess.

All reactions

Sorry, something went wrong.

Uh oh!

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

@tniessen

tniessen commented Jul 2, 2022

Copy link
Copy Markdown
Member

IMHO the new behavior exposed some problems in the tests that needs to be addressed.

@ShogunPanda Yes, but that should have been part of #43522. There were related test failures (in four out of five CI runs!), which appear to have been ignored, and the PR was merged despite these failures. Arguably, when a PR should not have been merged in the first place, reverting it is a good first step.

Reverting would hide them again so I would suggest to keep it and face problems as they arise.

In general, that is a good approach. In this case, however, the introduced CI failures are blocking others' work. PRs can't be merged because CIs keep failing. Even CI jobs that are usually reliable have been failing much more often.

For example, test-commit-linux worked pretty well (with the vast majority of builds succeeding) until three days ago:

test-commit-linux trend graph

Similar things can be said about linuxone etc.

CI failures mean that we might miss important errors (as appears to be the case in #43522) and they cost us time and resources.

As you pointed out, that was a semver-major so we're not blocking any release line I guess.

As @panva explained, the change isn't being released until node 19 anyway, so (most) users do not benefit from it being on the main branch. It's not blocking a release line, but it is blocking development on the main branch!

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

panva
panva approved these changes Jul 2, 2022
View reviewed changes
@ShogunPanda

ShogunPanda commented Jul 2, 2022

Copy link
Copy Markdown
Contributor

Fine to me then. I can probably propose a combined version of #43522 and #43641.
What would be an indicator of green light in that case? CI passing at first run or what?

All reactions

Sorry, something went wrong.

Uh oh!

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

@tniessen

tniessen commented Jul 2, 2022

Copy link
Copy Markdown
Member

What would be an indicator of green light in that case? CI passing at first run or what?

No, that's not a requirement (and also does not always mean that no flakes are introduced). The important bit is looking at the actual errors when CI fails. Unfortunately, the degree of flakiness of our CI makes it tempting to just rerun/resume CI until it passes. test-stream-finished failed at least four times throughout multiple CI runs in #43522 and that test was not a known flake, so the failure should have been investigated.

All reactions

Sorry, something went wrong.

Uh oh!

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

@ShogunPanda

ShogunPanda commented Jul 2, 2022

Copy link
Copy Markdown
Contributor

I see. Anyway, now that #43641 has been now merged, shall we wait few more days to see if the situation has improved?

All reactions

Sorry, something went wrong.

Uh oh!

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

@github-actions github-actions Bot mentioned this pull request Jul 4, 2022
CI Reliability 2022-07-04 nodejs/reliability#317
Open
23 tasks
@F3n67u

F3n67u commented Jul 24, 2022

Copy link
Copy Markdown
Contributor Author

Close this pr to in favor of #43949

All reactions

Sorry, something went wrong.

Uh oh!

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

@F3n67u F3n67u closed this Jul 24, 2022
@F3n67u
F3n67u deleted the revert-keep-alive branch July 24, 2022 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@panva panva panva approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

http Issues and PRs related to the http subsystem. https Issues and PRs related to the https subsystem. needs-ci PRs that need a full CI run.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Investigate flaky test-stream-finished

Uh oh!

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

5 participants

@F3n67u @nodejs-github-bot @ShogunPanda @panva @tniessen
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.