astro-cli icon indicating copy to clipboard operation
astro-cli copied to clipboard

DEV - Hibernate untill timestamp doesn't reflect appropriately in the UI

Open shri-astro opened this issue 2 years ago • 5 comments

Following command was issued to override the hibernation schedule and hibernate the deployment till the given time stamp

shrividyahegde@Hegde ~ % astro deployment hibernate -u 2024-02-28T21:35:46+05:30           
Select a Deployment
 #     DEPLOYMENT NAME     RELEASE NAME                DEPLOYMENT ID                 DAG DEPLOY ENABLED     
 1     sdfddfs             astral-orbit-6846           clt5ojilz0ahb01l23m46k3w7     true                   
 2     shri_test           prehistoric-galaxy-4857     clt5oohqe0a7501k2pd5lmdmb     true                   

> 2

Are you sure you want to override to hibernate for shri_test Deployment? (y/n) y

Successfully overrode to hibernate until 2024-02-28T21:35:46+05:30
If set, hibernation schedule will resume in 4h52m28s.

It is observed that the deployment status reflects an ambiguous state where the deployment hover indicates hibernation as it displays "wake up" button and the edit section has "hibernate deployment" option

Expected: Deployment should have immediately hibernated till the said time, irrespective of schedules defined or undefined.

What CLI Version did you experience this bug? 1.24.0

This CLI bug is related to which Astronomer Platform?

  • [ ] Astro

What Operating System is the above CLI installed on? Mac M1 Pro

📸 Screenshots Screenshot 2024-02-28 at 4 46 22 PM

shri-astro avatar Feb 28 '24 11:02 shri-astro