CleverCloud / clever-components

Collection of Web Components by Clever Cloud
https://www.clever-cloud.com/doc/clever-components/
Apache License 2.0
215 stars 19 forks source link

Bad instances display on deploying instances #1070

Closed alexandrebrg closed 2 weeks ago

alexandrebrg commented 4 weeks ago

Hi :wave:

I was deploying a new clever app, I failed to deploy it properly several times, after a few run the list of instances shown inside the new console interface wasn't showing names properly.

I opened the logs after the few failed run during a new deployment, after that new instances (even running) shown wrongly: image

When refreshing with one fully running instance, I still have stuff going wrong: image

As the bug can be reproduced on my name, i can give some requests logs or anything to help :)

Bencaddyro commented 4 weeks ago

Same problem on my side image also happened after a failed deployement

pdesoyres-cc commented 3 weeks ago

This happens when the instance state is not known. As of now, we know about the following states:

'BOOTING', 'STARTING', 'DEPLOYING', 'READY', 'UP', 'MIGRATION_IN_PROGRESS', 'TASK_IN_PROGRESS', 'BUILDING', 'STOPPING', 'DELETED'

The question is: does the API can return some other state that we are not aware of?

pdesoyres-cc commented 3 weeks ago

We need to protect from bad layout if an instance state is unknown.