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 — cluster: alias suicide to exitedAfterDisconnect by evanlucas · Pull Request #7998 · nodejs/node

Conversation

@evanlucas

@evanlucas evanlucas commented Aug 6, 2016 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor
Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

cluster

Description of change

This is a backport of 4f619bd which
migrates from worker.suicide to worker.exitedAfterDisconnect.

I did not add documentation as I wasn't sure if we wanted to document it or not.

Related: #3743

Sorry, something went wrong.

Uh oh!

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

ChALkeR and Haroenv reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
@nodejs-github-bot nodejs-github-bot added the cluster Issues and PRs related to the cluster subsystem. label Aug 6, 2016
@Fishrock123 Fishrock123 added the v4.x label Aug 6, 2016
@ChALkeR ChALkeR added the semver-minor PRs that contain new features and should be released in the next minor version. label Aug 6, 2016
@ChALkeR

ChALkeR commented Aug 6, 2016 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Actual code changes LGTM, but I don't think that there is any value in adding this without the documentation — that would still mean that users wouldn't be able rely on it in 4.x.

I think that documentation should also be added, mentioning that this is an alias.

All reactions

Sorry, something went wrong.

Uh oh!

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

@evanlucas
evanlucas force-pushed the backportclustert branch from 9cab00e to 90de681 Compare August 6, 2016 20:05
@evanlucas

evanlucas commented Aug 6, 2016

Copy link
Copy Markdown
Contributor Author

Thanks @ChALkeR. Updated.

All reactions

Sorry, something went wrong.

Uh oh!

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

@evanlucas

evanlucas commented Aug 6, 2016

Copy link
Copy Markdown
Contributor Author

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

All reactions

Sorry, something went wrong.

Uh oh!

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

ChALkeR
ChALkeR reviewed Aug 6, 2016
View reviewed changes
Comment thread doc/api/cluster.md Outdated

@ChALkeR ChALkeR Aug 6, 2016 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This link doesn't seem to work. Perhaps the definition is missing (at the end of file)?

Sorry, something went wrong.

Uh oh!

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

All reactions

@evanlucas evanlucas Aug 7, 2016

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

yep, fixed, sorry about that

Sorry, something went wrong.

Uh oh!

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

All reactions
@evanlucas
cluster: alias suicide to exitedAfterDisconnect
d101576
This is a backport of 4f619bd which
migrates from worker.suicide to worker.exitedAfterDisconnect.

Related: nodejs#3743
@evanlucas
evanlucas force-pushed the backportclustert branch from 90de681 to d101576 Compare August 7, 2016 01:54
@ChALkeR

ChALkeR commented Aug 8, 2016

Copy link
Copy Markdown
Member

LGTM.

All reactions

Sorry, something went wrong.

Uh oh!

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

@addaleax

addaleax commented Aug 8, 2016

Copy link
Copy Markdown
Member

LGTM, CI is green

All reactions

Sorry, something went wrong.

Uh oh!

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

@jasnell

jasnell commented Aug 8, 2016

Copy link
Copy Markdown
Member

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

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

@jasnell

jasnell commented Aug 9, 2016

Copy link
Copy Markdown
Member

@nodejs/lts WG ... any objections to this?

All reactions

Sorry, something went wrong.

Uh oh!

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

@MylesBorins

MylesBorins commented Aug 9, 2016

Copy link
Copy Markdown
Contributor

lgtm

On Tue, Aug 9, 2016, 3:25 PM James M Snell [email protected] wrote:

@nodejs/lts https://github.com/orgs/nodejs/teams/lts WG ... any
objections to this?

—
You are receiving this because you are on a team that was mentioned.

Reply to this email directly, view it on GitHub
#7998 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAecV69eMcp-QQIstBsK74oth1Nxdkppks5qeNQYgaJpZM4JeVZh
.

All reactions

Sorry, something went wrong.

Uh oh!

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

jasnell pushed a commit that referenced this pull request Aug 12, 2016
@evanlucas @jasnell
cluster: alias suicide to exitedAfterDisconnect
810f29f
This is a backport of 4f619bd which
migrates from worker.suicide to worker.exitedAfterDisconnect.

Refs: #3743
PR-URL: #7998
Reviewed-By: Сковорода Никита Андреевич <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Myles Borins <[email protected]>
@jasnell

jasnell commented Aug 12, 2016

Copy link
Copy Markdown
Member

Landed in v4.x-staging in 810f29f

ChALkeR reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

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

@jasnell jasnell closed this Aug 12, 2016
@evanlucas

evanlucas commented Aug 12, 2016

Copy link
Copy Markdown
Contributor Author

Thanks @jasnell!

jasnell and ChALkeR 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.

@evanlucas
evanlucas deleted the backportclustert branch August 12, 2016 18:30
@MylesBorins MylesBorins added the land-on-v4.x label Sep 30, 2016
@sam-github sam-github mentioned this pull request Jun 14, 2017
cluster: remove deprecated problematic API #13684
Closed
4 tasks done
@sam-github

sam-github commented Jun 14, 2017

Copy link
Copy Markdown
Contributor

@nodejs/lts this says it landed in v4.x-staging, but maybe it later got rebased out again? I can't find any sign of it, and I can't checkout 810f29f on my local repo, which makes it not reachable from any branches.

All reactions

Sorry, something went wrong.

Uh oh!

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

@gibfahn gibfahn mentioned this pull request Jun 14, 2017
Potential v4.x backports nodejs/Release#231
Closed
2 tasks
@MylesBorins

MylesBorins commented Jun 15, 2017

Copy link
Copy Markdown
Contributor

@sam-github that seems like what happened

We could modify it to be semver patch (reverse the alias)

All reactions

Sorry, something went wrong.

Uh oh!

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

@bnoordhuis

bnoordhuis commented Jun 15, 2017

Copy link
Copy Markdown
Member

For v4.x? That's rather stretching the credibility of semver and maintenance mode...

All reactions

Sorry, something went wrong.

Uh oh!

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

@gibfahn

gibfahn commented Jun 15, 2017 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

As I said in nodejs/Release#231 (comment), I don't see how this lands as a patch, as it's a new property.

However, I don't see the harm in including this in an upcoming 4.x release, it has the clear benefit of allowing people to write code that works on all supported releases (without deprecation warnings). The point of maintenance is that we don't land things unless we have a good reason, and I think we do here.

I also don't understand the reasoning behind "no semver-minors in maintenance mode". Why is a semver-minor worse than a semver-patch? I'd say that a small, low-risk minor like this is less of an issue than a large, more risky patch like #13233.

All reactions

Sorry, something went wrong.

Uh oh!

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

@bnoordhuis

bnoordhuis commented Jun 15, 2017

Copy link
Copy Markdown
Member

I also don't understand the reasoning behind "no semver-minors in maintenance mode". Why is a semver-minor worse than a semver-patch?

Because it's a slippery slope. If you accept this semver-minor change, how can you reasonably reject others? The point of maintenance mode is that you say: this is it, no more changes except critical bug fixes.

All reactions

Sorry, something went wrong.

Uh oh!

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

@gibfahn

gibfahn commented Jun 15, 2017

Copy link
Copy Markdown
Member

Because it's a slippery slope. If you accept this semver-minor change, how can you reasonably reject others?

But what does that have to do with the semver-ness? We only include things that people request, and that the LTS team (and de facto collaborators in general) think are worth making an exception for. We reject most changes because there is no obvious need, whether it's a minor or a patch. It's not as if we accept all patches because we're accepting one.

To be clear, I'm happy to debate whether this change should land, but I don't see why we (collaborators) or end users of node would care about whether it's a minor or a patch.

All reactions

Sorry, something went wrong.

Uh oh!

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

@bnoordhuis

bnoordhuis commented Jun 15, 2017

Copy link
Copy Markdown
Member

Are we using the same definition of maintenance mode? To me, it means this:

no more changes except critical bug fixes.

The goal is to reduce the overall work load. If people want new features, they can upgrade.

A semver-minor change is by definition not a bug fix, it's a new feature. If you want to land those in v4.x, fine, but you can't call it maintenance mode anymore - it's just another release line, with all the extra work and agony that entails.

All reactions

Sorry, something went wrong.

Uh oh!

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

@MylesBorins MylesBorins mentioned this pull request Jun 15, 2017
Backporting exitedAfterDisconnect to v4.x nodejs/Release#232
Closed
@MylesBorins

MylesBorins commented Jun 15, 2017

Copy link
Copy Markdown
Contributor

I've opened nodejs/Release#232 to move the v4.x conversation

All reactions

Sorry, something went wrong.

Uh oh!

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

cluster Issues and PRs related to the cluster subsystem. semver-minor PRs that contain new features and should be released in the next minor version.

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

@evanlucas @ChALkeR @addaleax @jasnell @MylesBorins @sam-github @bnoordhuis @gibfahn @Fishrock123 @nodejs-github-bot
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 01402775 — 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.