Skip to content

Commit 5f0a21b

Browse files
committed
Revert status message updates to revert back to exactly three status message states.
We still remove the part about spoofed status messages since it really is not part of the kernel message spec.
1 parent 5bac5e5 commit 5f0a21b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/messaging.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,8 @@ Message type: ``status``::
12281228
content = {
12291229
# When the kernel starts to handle a message, it will enter the 'busy'
12301230
# state and when it finishes, it will enter the 'idle' state.
1231-
execution_state : ('busy', 'idle', other optional states)
1231+
# The kernel will publish state 'starting' exactly once at process startup.
1232+
execution_state : ('busy', 'idle', 'starting')
12321233
}
12331234

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

1242-
A kernel may send optional status messages with execution states other than
1243-
`busy` or `idle`. For example, a kernel may send a status message with a
1244-
`starting` execution state exactly once at process startup.
1245-
12461243
.. note::
12471244

12481245
**A caveat for asynchronous output**

0 commit comments

Comments
 (0)