Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate and archive the good modules suite #641

Open
spridev opened this issue Feb 12, 2021 · 5 comments
Open

Deprecate and archive the good modules suite #641

spridev opened this issue Feb 12, 2021 · 5 comments
Labels
documentation Non-code related changes

Comments

@spridev
Copy link

spridev commented Feb 12, 2021

Support plan

  • is this issue currently blocking your project? (yes/no): no
  • is this issue affecting a production system? (yes/no): no

Context

  • node version: 14.15.0
  • module version: 9.0.1
  • environment (e.g. node, browser, native): node
  • used with (e.g. hapi application, another framework, standalone, ...): -
  • any other relevant information: -

What problem are you trying to solve?

As mentioned in the README, this package has been deprecated on December 31st 2020.

Do you have a new or modified API suggestion to solve the problem?

I would suggest:

  • Marking @hapi/good as deprecated on npm.
  • Archiving this repository.
  • (Removing the README deprecation notice which will end up being redundant).

The same applies to the two following modules:

It seems like the documentation for those modules is already gone from hapi.dev.

Finally, @hapi/log could be mentioned as an alternative (?).

@spridev spridev added the feature New functionality or improvement label Feb 12, 2021
@devinivy devinivy added documentation Non-code related changes and removed feature New functionality or improvement labels Feb 12, 2021
@Nargonath
Copy link
Member

@hapi/log is not ready for usage right now. I believe we don't want to really deprecate good until we have something else to offer. Thanks for the reminder though.

@TinaHeiligers
Copy link

We're working with a fork of good and have recently started seeing memory leaks that appear to be related to the stream not draining. Understandably, good has been deprecated and we've since moved on to an in-house, custom logging solution. However, I'm curious to know if anyone else has encountered similar memory-consumption issues?

@Nargonath
Copy link
Member

@TinaHeiligers I believe there were changes in how streams were implemented in node@18 which can be a reason for cleanup code not to be called. Depending on the node version you're using I'd scan node's changelogs to know if you're impacted by some of these changes.

@kanongil
Copy link

Streams issues impacting older streams implementations, that have issues with never versions of node, can sometimes be caused by the introduction and defaults of the emitClose and autoDestroy stream constructor options. Updating the old code, so the superclass constructor is called with the options explicitly set to false, can sometimes fix this.

@TinaHeiligers
Copy link

@Nargonath ATM, the code in question is running on node 16.14.2, so I don't think the issues we're seeing stem from that. However, you mention an important point, and we plan on being vigilant with the next node upgrade.

@kanongil Thanks for the tip! I'll bring it to the team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Non-code related changes
Projects
None yet
Development

No branches or pull requests

5 participants