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

Show instance status #3

Open
soichih opened this issue Feb 21, 2017 · 1 comment
Open

Show instance status #3

soichih opened this issue Feb 21, 2017 · 1 comment

Comments

@soichih
Copy link
Contributor

soichih commented Feb 21, 2017

I need to put instance status maker back to let user know which one is running, finished, failed, etc..

At the moment, there is no instance status that aggregates all tasks running inside the instance which makes this a bit difficult. I believe I need to do following.

  1. When a task status changes (not when task gets updated), update instance status[] field.
  2. Above implies adding task status[] under instance (again..)
  3. Emit event when instance record gets updated
  4. Update UI to subscribe and receive the instance update event
  5. Update UI to calculate the current instance status based on task status.
@soichih
Copy link
Contributor Author

soichih commented Dec 21, 2017

Instance now has "status" field that I can display - but we also need to subscribe to instance update event to update the instance status.

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

No branches or pull requests

1 participant