Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Pod] Incorporate signal light with FSM #68

Closed
Tracked by #76
taesungh opened this issue May 23, 2024 · 0 comments · Fixed by #69
Closed
Tracked by #76

[Pod] Incorporate signal light with FSM #68

taesungh opened this issue May 23, 2024 · 0 comments · Fixed by #69
Assignees

Comments

@taesungh
Copy link
Member

We'll want the signal light tower to indicate the active state of the pod. The SignalLight abstraction from #23 provides methods to enable (shine green) and disable (shine red) the light tower.

  • Add a field and instance for a SignalLight to StateMachine
  • When entering the Running state, enable the signal light
  • When entering any other state, disable the signal light
    • Perhaps in the future we could consider also having "exit actions" similar to how we have "enter actions"? There aren't too many other states, so don't worry too much about this for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants