Hi everyone, I was trying to see the archived vers...
# prefect-ui
f
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
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
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
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
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
@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
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
Thank you @Kevin Kho!
k
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