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

fix(jupyter): more robust Deno.jupyter namespace #20710

Merged
merged 7 commits into from
Sep 28, 2023

Conversation

bartlomieju
Copy link
Member

Blocked by #20704

]
"data": {
"text/html": [
"<b>Complete ✅</b>"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

"data": {},
"execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For a separate PR, we should make sure to not send an execute_result if we don't have any payload.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, that looks like a bug, we should be skipping this message if the only value is undefined.

@bartlomieju bartlomieju marked this pull request as ready for review September 27, 2023 11:02
"metadata": {},
}))
.send(&mut *self.iopub_socket.lock().await)
.await?;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@rgbkrk
Copy link
Contributor

rgbkrk commented Sep 27, 2023

Confirmed that Deno.jupyter.broadcast is working well via this branch (fixes the main branch not having access to Deno.jupyter).

image

Copy link
Contributor

@mmastrac mmastrac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bartlomieju bartlomieju merged commit 0bd53fd into denoland:main Sep 28, 2023
12 checks passed
@bartlomieju bartlomieju deleted the fix_jupyter_test branch September 28, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants