-
Notifications
You must be signed in to change notification settings - Fork 78
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
Bump node-clinic to tier 3 #234
Comments
Recently we had a case where the generation of flamegraphs was broken in both Node.js 10.10.0 (all the times) and 8.12.0 (in certain cases). I think we are not testing enough those parts of our runtime. |
Discussed on Diagnostics WG call on 2018-09-19. here's a summary:
Can we get some details on the exact APIs being used by clinic? |
@mcollina could you give a little more context on what broke and why? This would help us understand how to keep it from breaking in the future. |
FYI there's a PR to add it to the default citgm lookup: nodejs/citgm#603 |
The following commit not being backported broke Node 8.12.0 (I did a brittle workaround on 0x side): nodejs/node#19285 nodejs/node#19260 nodejs/node#22825. At more or less the same time, flamegraphs broke on Node 10.10 because of nodejs/node#22786 and it was fixed in nodejs/node#22790. It seems that whole area of Node core is not tested nor validated before a release. |
Do the tests of clinic pass on all the Node.js release lines that it supports right now? |
Would a test for the tick profile processor have caught the problem? Just wondering if we could add a smaller test to cover this case? |
This case needs a test that runs as part of the CI so that V8's integration builds pick it up too. That way we can avoid V8 breaking this functionality in the first place. I would imagine that Clinic could be part of CitGM, but not the CI. |
Our existing tick processor tests don't catch nodejs/node#22825, so we at least have a coverage gap: nodejs/node#22825 (comment) |
Filling that coverage gap would solve the immediate problem, yes. So, we can talk about bumping |
Bumping |
+1 to bump up --prof-process |
+1 to bumping up |
Please bump |
I can include |
I am fixing the Refs: nodejs/node#23100 |
Please definitely bump |
@BridgeAR will the updated tick-processor tests adequately test --prof-process? I think that is what you are saying but want to be sure. |
@mhdawson sadly it is not yet testing all things properly but it's a good improvement nevertheless as we'll run them on each CI afterwards. I am also going to write further tests to ensure that all issues we faced so far would have been detected by our tests. |
Just as a note from the meeting today: I am going to gather information on what systems We can then go ahead and either document that something is not supported or ideally improve the situation for the specific platform. |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
Fixed in: #537 |
Right now node-clinic is not yet in any diagnostic support tier. However, recently we ran into issues with 10.10 that could have been detected early on if the clinic test suite would be run on the Node.js infrastructure.
The tool fulfills becomes more and more popular at the moment and bumping it to 3 would likely be the right thing at the moment. That way we are able to guarantee a better stability level overall.
I opened the issue here to discuss it first in the working group before opening a PR to change the tier right away. If there are any questions or if there is any further information necessary, please ask.
@mcollina please also weight in.
The text was updated successfully, but these errors were encountered: