Skip to content

Commit

Permalink
Add start--> to DsState diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter committed Jan 6, 2025
1 parent 5c859f1 commit 535de0c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion openapi/crucible-control.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
]
},
"DsState": {
"description": "High-level states for a Downstairs\n\nThe state machine for a Downstairs is relatively simple:\n\n```text ┌────────────┐ ┌────► LiveRepair ├─────┐ ┌─────────┴┐ └─────┬──────┘ ┌─▼──────┐ │Connecting│ │ │Stopping│ └─▲───────┬┘ ┌─────▼──────┐ └─▲────┬─┘ │ └────► Active ├─────┘ │ │ └─────┬──────┘ │ │ │ │ └─────────────────◄┴─────────────────┘ ```\n\nComplexity is hidden in the `Connecting` state, which wraps a [`NegotiationState`] implementing the negotiation state machine.",
"description": "High-level states for a Downstairs\n\nThe state machine for a Downstairs is relatively simple:\n\n```text ┌────────────┐ ┌────► LiveRepair ├─────┐ start ┌─────────┴┐ └─────┬──────┘ ┌─▼──────┐ ────►│Connecting│ │ │Stopping│ └─▲───────┬┘ ┌─────▼──────┐ └─▲────┬─┘ │ └────► Active ├─────┘ │ │ └─────┬──────┘ │ │ │ │ └─────────────────◄┴─────────────────┘ ```\n\nComplexity is hidden in the `Connecting` state, which wraps a [`NegotiationState`] implementing the negotiation state machine.",
"oneOf": [
{
"description": "New connection",
Expand Down
18 changes: 9 additions & 9 deletions upstairs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -719,15 +719,15 @@ pub(crate) struct RawReadResponse {
/// The state machine for a Downstairs is relatively simple:
///
/// ```text
/// ┌────────────┐
/// ┌────► LiveRepair ├─────┐
/// ┌─────────┴┐ └─────┬──────┘ ┌─▼──────┐
/// │Connecting│ │ │Stopping│
/// └─▲───────┬┘ ┌─────▼──────┐ └─▲────┬─┘
/// │ └────► Active ├─────┘ │
/// │ └─────┬──────┘ │
/// │ │ │
/// └─────────────────◄┴─────────────────┘
/// ┌────────────┐
/// ┌────► LiveRepair ├─────┐
/// start ┌─────────┴┐ └─────┬──────┘ ┌─▼──────┐
/// ────►│Connecting│ │ │Stopping│
/// └─▲───────┬┘ ┌─────▼──────┐ └─▲────┬─┘
/// │ └────► Active ├─────┘ │
/// │ └─────┬──────┘ │
/// │ │ │
/// └─────────────────◄┴─────────────────┘
/// ```
///
/// Complexity is hidden in the `Connecting` state, which wraps a
Expand Down

0 comments on commit 535de0c

Please sign in to comment.