Endpoint 1.0/events dont comming message "instance-running"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Anbox Cloud |
Fix Committed
|
Medium
|
Simon Fels |
Bug Description
Greetings to your team! Continuing the topic of events, I noticed another problem, but already related to tracking the status of the session. The fact is that messages come from the websocket at the time of session creation (instance) when the status changes to STARTED, the message comes like this: {
"type": "lifecycle",
"timestamp": "2024-09-
"metadata": {
"action": "instance-started",
"source": "/1.0/instances
}
but when the status changes to RUNNING, the same message comes from the websocket {
"type": "lifecycle",
"timestamp": "2024-09-
"metadata": {
"action": "instance-started",
"source": "/1.0/instances
}
and then the question arises, isn't it an error? maybe a message should come here that the status is no longer STARTED but RUNNING? This problem can be solved by making an additional request to check the status, then the question arises what is the point of using a websocket at all?
Changed in anbox-cloud: | |
status: | Triaged → In Progress |
assignee: | nobody → Simon Fels (morphis) |
Changed in anbox-cloud: | |
status: | In Progress → Fix Committed |
Thanks for reporting!
Not reporting the "instance-running" event is a bug and will be fixed in a following release.