-
Notifications
You must be signed in to change notification settings - Fork 79
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
Memory leak/recursive loop in 12.0.7 in the types #926
Comments
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with |
It crashes the TypeScript compiler in this repo for me. So it's not a runtime, but a build-time problem.
I get this on Originally posted by AaronDewes in probot/probot#1926 (comment) |
This is the only commit in that release, 6ead0b7 This is only a type change. It seems that typescript really does not like computing all the events with a Does anyone have suggestions on how to precompute, or lazily compute this somehow? |
Compiling |
I performed a type trace with TypeScript, while increasing the heap size to The conclusion is indeed that the changes in I attached it here if anyone would like to look through it |
🎉 This issue has been resolved in version 12.0.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@octokit/webhooks v. 12.0.7 seems to introduce some kind of memory leak/recursive loop. v 12.0.6 still works.
Originally posted by @Uzlopak in probot/probot#1926 (comment)
The text was updated successfully, but these errors were encountered: