Skip to content

Kernel "Idle" Messages Arrive Before "Stream" Messages #690

@twavv

Description

@twavv

I see that this has been discussed before, à la #238.

I was wondering what if this inconsistency with the Jupyter protocol will be fixed; the protocol specification says that "After processing the request and publishing associated IOPub messages, if any, the kernel publishes a status: idle message. This idle status message indicates that IOPub messages associated with a given request have all been received." (emphasis mine).

I discovered this while writing a kernel frontend and getting no responses to my println("foo") execution requests (the frontend in question considers requests to be done whenever the kernel replies with "idle"), and indeed, if you inspect the WebSocket communications on a normal notebook, you can see that the "status" message arrives before the "stream" message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions