Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last Updated time for Deployment updates to current time when page is refreshed #14655

Open
4 tasks done
scottwalshqs opened this issue Jul 17, 2024 · 5 comments
Open
4 tasks done
Labels
bug Something isn't working

Comments

@scottwalshqs
Copy link

scottwalshqs commented Jul 17, 2024

First check

  • I added a descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the Prefect documentation for this issue.
  • I checked that this issue is related to Prefect and not one of its dependencies.

Bug summary

After updating our Prefect Server to 2.19.8 (from 2.18.3), the Last Updated time for the Deployments changes to the current time when the deployment page is refreshed (instead of showing that actual time that the Deployment was last updated).

Reproduction

I was not able to reproduce this with a freshly installed Prefect Server.  :(

Error

No response

Versions (prefect version output)

Version:             2.19.8
API version:         0.8.4
Python version:      3.12.4
Git commit:          478e89d6
Built:               Thu, Jul 11, 2024 2:25 PM
OS/Arch:             linux/x86_64
Profile:             default
Server type:         server

Additional context

This is the behavior that I am observing:
image

Then I refresh:
image

@scottwalshqs scottwalshqs added bug Something isn't working needs:triage labels Jul 17, 2024
@zhen0
Copy link
Member

zhen0 commented Jul 17, 2024

Thanks for raising @scottwalshqs - I am also unable to reproduce. I wonder if there's an edge case around your deployment or something that made this happen. If you're able to provide any further info, I'm happy to try reproduce again.

@scottwalshqs
Copy link
Author

Thank you @zhen0. I rolled back our Prefect Server to 2.19.5, and the issue is now resolved. I chose 2.19.5 because I saw in the release notes for 2.19.6 some bug fixes for deployment statuses, which seemed like they could be related to my issue. Maybe the changes in 2.19.6 are related to the issue I am seeing in 2.19.8. If it's helpful, I can update to 2.19.6 directly to further isolate the issue.

@zhen0
Copy link
Member

zhen0 commented Jul 19, 2024

Thanks. It still strikes me as very odd. Do let us know if you are able to narrow it down further.

@scottwalshqs
Copy link
Author

@zhen0 The bug does NOT exist in 2.19.5, but it does exist in 2.19.6. So I have isolated this bug to 2.19.6. Hopefully this is a narrow enough scope to work with.

@scottwalshqs
Copy link
Author

Maybe it has to with this this background task that was added: 62f0db6.

We do rely heavily on work queues right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants