Hi ! I'm using Prefect Cloud and all of my previou...
# ask-community
j
Hi ! I'm using Prefect Cloud and all of my previous runs have disappeared. They don't appear in the main dashboard, in the flows tab, or in the runs section of each flow. One of the flow that just ran is correctly shown though.
k
Hey @Jocelyn Boullier, could you try going to the interactive API and querying for flow runs and seeing if the old ones are around?
j
Ok let me find how to do that, I've never used it before 😛
k
This should work
Copy code
query{
  flow_run{
    id
    name
  }
}
j
It does return flows, but it seems to only be the two that run after the issue appeared + the upcoming one that are scheduled
And considering it returned less than 100 results, I would say it doesn't return the runs that disappeared
k
Oh wow looks like the other ones are not in our database then. Did anything change with your account that you know of?
j
No, I've just added two secrets and I've registered some flows. It also updated from Prefect 0.15.2 to 0.15.3
k
Ok I’ll look for someone we can help you better than me
j
Great thank you !
I'm using this to register the flows that changed in our CI, if it can help.
Copy code
flow.register(
        project_name="prod", labels=["prod"], idempotency_key=idempotency_key
    )
n
Hi @Jocelyn Boullier - do you know which plan you're on for Prefect Cloud?
j
@nicholas yes, Free plan
n
Got it - run history retention on the free plan is 1 week, meaning runs/logs/archived flows outside of that history aren't retained in the system
j
Yeah I'm aware, but we're talking about runs from today that disappeared
And all for those from the past week
n
Hm got it - would you mind DMing me your email/team slug?
✅ 1