https://prefect.io logo
Title
f

Fina Silva-Santisteban

09/10/2021, 12:17 AM
Hi everyone, I was trying to see the archived versions of my flows but it only shows me the versions I had registered today and nothing beyond that. Is this a UI bug of some sort??
j

Jenny

09/10/2021, 12:24 AM
Hi @Fina Silva-Santisteban - I just checked one of my flow pages and can see older versions. Can you give a bit more info about what you're seeing? (E.g. Is the flow page saying you only have one version? Can you find the older versions by querying in the API? How many versions would you expect to be seeing?)
f

Fina Silva-Santisteban

09/10/2021, 12:28 AM
Hi @Jenny, this is all it shows me:
Some flows have 20 versions, others around 10, but this is all I can see^
How do I use the api to find older versions?
k

Kevin Kho

09/10/2021, 12:32 AM
If you’re talking about flow runs, I think this is because Prefect doesn’t retain flow runs beyond 2 weeks on the standard plan?
j

Jenny

09/10/2021, 12:32 AM
Ah - the 'show archived' toggle there is to include flows that only have archived versions. To see info about an archived version of one of your non-archived flows, go to its flow page and select the version you want to see from the 'version' dropdown.
f

Fina Silva-Santisteban

09/10/2021, 4:00 PM
@Kevin Kho we also see an issue with showing flow runs: it doesn’t show any flow runs that were triggered before we re-registered the new flows yesterday. (There have been flow runs yesterday prior to re-registration) @Jenny thank you for the explanation! I went to the flow page and looked for the versions and I can only see the versions registered yesterday, nothing beyond that. The last time the flows got registered (prior to yesterday) was some time in June. Is there perhaps a retention limit for flow versions and that’s why I can’t see anything beyond yesterday’s versions? If that’s the case, it still doesn’t explain why flow runs from yesterday prior to the re-registration are not showing up in the history. 😞
k

Kevin Kho

09/10/2021, 7:08 PM
So we did see a couple more users say they can’t see previous flow runs within the retention period. This is being looked into today
:upvote: 1
f

Fina Silva-Santisteban

09/10/2021, 7:08 PM
Thank you @Kevin Kho!
k

Kevin Kho

09/10/2021, 8:35 PM
So there was an issue with the history retention logic that caused it to remove runs if the version
created_by
timestamp was outside of the history retention period. This will be fixed in the next hour or so to only take out a version if all of the runs are outside the retention period.
🙏 1