-
Notifications
You must be signed in to change notification settings - Fork 76
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
[Bug] The version shown in the list of packages is older then the latest versions displayed inside the package page #1524
Comments
Thanks for the report |
The issue resolved itself automatically. The search base is synced asynchronously by a background job, and it can take up to 30 min. This explains the temporary inconsistency, though in this case, it appears to have persisted much longer. I am not sure why, as there is nothing suspicious in the logs. |
It's understandable that there is some delay. Is it fetched on-demand from repo when viewing the list? In the first case, if the requests were made via a single point in the code, this info could be used to update the cached latest version. |
At the moment the search page is only powered by the search engine whereas the project page is only powered by the database, hence the inconsistency. The database is our source of truth. So after we get the search response, and before rendering the page, we could use it to get the up-to-date view of each project. If so, we should do the same for the awesome page. |
That's another possibility, we could update the search view, each time we load a project page. |
I actually meant something like this |
Current behavior
I've just uploaded the latest version of sbt-idea-plugin
https://github.com/JetBrains/sbt-idea-plugin
The latest version is now 4.0.3
You can see it in the official source of truth:
https://central.sonatype.com/artifact/org.jetbrains/sbt-idea-plugin_2.12_1.0
When I open
https://index.scala-lang.org/jetbrains
I see the older version 4.0.2 in the list:
However, if I click on it, I can see the latest version 4.0.3
Expected Behavior
I expect the version in the list of packages to display the latest version.
Extra comments
No response
Search terms
No response
The text was updated successfully, but these errors were encountered: