Replies: 17 comments 13 replies
-
cc @nodejs/diagnostics
We could probably solve this with an Action that opens PRs upstream once things land here, although it doesn't solve the review problem. I'm also not sure if moving Besides review and upstream PRs, are there any other benefits merging this repo with core? |
Beta Was this translation helpful? Give feedback.
-
The others could be:
I would also say that since node-inspect isn't reliably published to npm and is basicaly unused in its stand-alone form, it's effectively just a couple of "random" files that are typically only used from inside of node but have their source of truth outside of node. Which seems awkward. |
Beta Was this translation helpful? Give feedback.
-
Two inter-related problems this would solve, I think:
|
Beta Was this translation helpful? Give feedback.
-
I'm in favor of this change, especially if it makes things easier for @jkrems. |
Beta Was this translation helpful? Give feedback.
-
Overall SGTM. I added to diag-agenda since it falls under the Diagnostics WG charter. |
Beta Was this translation helpful? Give feedback.
-
but how is this gonna work? |
Beta Was this translation helpful? Give feedback.
-
After discussion in the Diagnostics WG, we believe moving the codebase to nodejs/node is the best path moving forward. @jkrems do you plan on driving this work? Or should we try to find a volunteer? Here's a list of things we need to do to consider this done:
(if I missed anything reply to this commend and I'll add to the list) cc @nodejs/tsc for awareness, we'll be archiving the |
Beta Was this translation helpful? Give feedback.
-
I currently don't have a firm timeline for when I'd be able to do it. So if somebody else steps forward, it would likely speed things up. That list looks good! I'm not sure I follow step 2 though. Afaik there's no (public) API that can be imported. So maybe the item should be to rather deprecate the package on npm? |
Beta Was this translation helpful? Give feedback.
-
I started the work of moving Not sure when I'll have time to work on it again, but it shouldn't be too long before a PR is ready. I might open a draft PR soon just so people can comment on anything I might have Already Done Wrong. |
Beta Was this translation helpful? Give feedback.
-
Oh, hey, getting the tests working made me fix an incompatibility with Node.js 15.x. I guess we really do want this stuff in core and running on CI all the time. :-D |
Beta Was this translation helpful? Give feedback.
-
A wiser person than I am might wait to see if the tests pass in CI before posting this here, but uh, here's the PR: #38161 |
Beta Was this translation helpful? Give feedback.
-
Does this mean we can remove https://ci.nodejs.org/job/node-inspect/ ? |
Beta Was this translation helpful? Give feedback.
-
I think the next step at this point is to deprecate the npm module. There seems to be consensus to do that here, but is that enough to take the action? |
Beta Was this translation helpful? Give feedback.
-
Next step is to triage open issues in the node-inspect repo and move any relevant ones to the main repo. I'll get to that soon-ish I hope, but if someone else wants to do it, don't let me stop you! |
Beta Was this translation helpful? Give feedback.
-
I went through the issues and they are all either closed or transferred to the main repo now. Pressing the big red button to archive now! P.S.: If we want to amend anything, we can temporarily un-archive. But archiving now prevents backsliding in the issues. |
Beta Was this translation helpful? Give feedback.
-
Hello everybody,
When
node-inspect
was created, the theory was that maintaining it inside of core would add process overhead. What actually happened (partially because I struggled to find time) is that being in a separate repo just seems to slow things down. Reviews happen slowly and even after merge I often get around to creating the upstream PR only weeks later.So I'm wondering: Would it be worth archiving nodejs/node-inspect and moving development into core? The code is already written so that it should slit nicely into the
lib/internal
tree with minor adjustments, the biggest chunk of work would be porting the tests that currently usetap
.Beta Was this translation helpful? Give feedback.
All reactions