Skip to content

Commit

Permalink
Revert status message updates to revert back to exactly three status …
Browse files Browse the repository at this point in the history
…message states.

We still remove the part about spoofed status messages since it really is not part of the kernel message spec.
  • Loading branch information
jasongrout committed Jul 26, 2019
1 parent 5bac5e5 commit 5f0a21b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/messaging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,8 @@ Message type: ``status``::
content = {
# When the kernel starts to handle a message, it will enter the 'busy'
# state and when it finishes, it will enter the 'idle' state.
execution_state : ('busy', 'idle', other optional states)
# The kernel will publish state 'starting' exactly once at process startup.
execution_state : ('busy', 'idle', 'starting')
}

When a kernel receives a request and begins processing it,
Expand All @@ -1239,10 +1240,6 @@ it shall publish a status message with ``execution_state: 'idle'``.
Thus, the outputs associated with a given execution shall generally arrive
between the busy and idle status messages associated with a given request.

A kernel may send optional status messages with execution states other than
`busy` or `idle`. For example, a kernel may send a status message with a
`starting` execution state exactly once at process startup.

.. note::

**A caveat for asynchronous output**
Expand Down

0 comments on commit 5f0a21b

Please sign in to comment.