frontend/docs/testing/references/actor-states.md
This document defines all possible Rivet Actor states and their representations in the Inspector.
Description: Rivet Actor is actively running and processing
UI Indicators:
Inspector Connection Sub-states:
User Actions Available:
Description: Rivet Actor is in idle/sleep state to conserve resources
UI Indicators:
Sub-states:
User Actions Available:
Description: Rivet Actor encountered an error and stopped
UI Indicators:
Error Information Displayed:
User Actions Available:
Description: Rivet Actor is being initialized
UI Indicators:
User Actions Available:
Transitions To:
Description: Rivet Actor is being shut down
UI Indicators:
User Actions Available:
Transitions To:
Description: Successfully connected to Rivet Actor's inspector interface
UI Indicators:
Available Features:
Description: Attempting to connect to Rivet Actor's inspector
UI Indicators:
Available Features:
Description: Failed to connect to Rivet Actor's inspector
UI Indicators:
Possible Causes:
Available Features:
Description: Rivet Actor's inspector version is incompatible
UI Indicators:
Error Message: "This Rivet Actor is running an outdated inspector version. Please update your RivetKit dependency to enable full inspector functionality."
Available Features:
Description: Rivet Actor will automatically wake up when needed
UI Indicators:
Message Example: "This Rivet Actor is sleeping and will automatically wake up when a client connects or an event is triggered."
Description: Rivet Actor requires manual wake-up
UI Indicators:
Message Example: "This Rivet Actor is sleeping. Manual wake-up is required to activate it."
Creating → Running
Creating → Error
Running → Sleeping
Running → Error
Running → Destroying
Sleeping → Running (wake-up)
Sleeping → Destroying
Error → Destroying
Error → Running (if restart supported)
Destroying → [Removed]
Consistent visual representation of states:
| State | Color | Icon |
|---|---|---|
| Running | Green | ● or ▶ |
| Sleeping | Gray/Muted | ○ or ⏸ |
| Error | Red | ✕ or ⚠ |
| Creating | Yellow | ⟳ or … |
| Destroying | Orange | ⟳ or … |
| Connecting | Blue | ⟳ |