-
Notifications
You must be signed in to change notification settings - Fork 294
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
Add public API event for kernel post-initialization #16214
base: main
Are you sure you want to change the base?
Conversation
if (!isRemoteConnection(kernel.kernelConnectionMetadata) && execution.executionCount === 0) { | ||
// For local kernels, execution count must be greater than 0, | ||
// As we pre-warms kernels (i.e. we start kernels even though the user may not have executed any code). | ||
// The only way to determine whether users executed code is to look at the execution count |
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.
We need some check to ensure we do not trigger these events for kernels that are automatically started
Events should be triggered only for kernels that were explicitly started by user
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.
Please ensure that requirements is still met
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.
Let me know if the latest iteration based on feedback below addresses this. Thanks!
No description provided.