You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible for the GET status request to the Devnet API to return a response that distinguishes between there being missing devnet assets (404) and the devnet spinning down
The platform client can derive this from client state, but it would be great to have this returned from the api so that the state is durable
The text was updated successfully, but these errors were encountered:
Adding some notes to clarify for myself in the future.
Currently, if a devnet has been created then deleted by the platform backend, the platform backend polls the devnet API with a HEAD request to wait for it to return a 404. A 200 response indicates that devnet assets still exist (and thus are still being deleted), and a 404 response indicates that there are no devnet assets for that id (and thus the devnet has been successfully deleted).
This is sufficient for managing state, but it requires the platform to manage this state. If that state gets messed up somehow, the platform backend can't just query the devent API to know "is this devnet running, shutting down, spinning up, or shut down". It will take some research to know if we can query the k8s api from within the devnet api to determine this info.
For now, however, this isn't a high priority, as everything is working as needed.
Is it possible for the GET status request to the Devnet API to return a response that distinguishes between there being missing devnet assets (404) and the devnet spinning down
The platform client can derive this from client state, but it would be great to have this returned from the api so that the state is durable
The text was updated successfully, but these errors were encountered: