adoptium.net icon indicating copy to clipboard operation
adoptium.net copied to clipboard

Release notes pages are regularly non operational on new releases

Open sxa opened this issue 1 year ago • 10 comments

Describe the bug I was trying to add the table to the blog post for the April releases but the links to the release notes do not work so I have removed that section for now. Here is the section I was planning to add (Removed from the draft for now until this can be resolved so as not to cause confusion)

Fixes and Updates

This release contains the following fixes and updates.

Expected behavior Links work in the same way as for previous releases such as https://adoptium.net/en-GB/temurin/release-notes/?version=jdk-21.0.2+13

Screenshots image

Desktop (please complete the following information): Doesn't seem to matter since others can replicate it but my initial attempt was on FireFox 124.0.2 on Fedora 39/Linux/x64

Additional context Initially raised in slack at https://adoptium.slack.com/archives/CLCFNV2JG/p1714033031045209

sxa avatar Apr 25 '24 11:04 sxa

Working now

tellison avatar Apr 25 '24 15:04 tellison

This has happened for the last 3 release periods if you look back in the Slack release channel, so we may want to understand why a full update of the API is needed each time (as @johnoliver said in this recent one, there was already a full update that occured the day after the notes were pushed to the binaries repositories, so it is odd he had to trigger another one today).

smlambert avatar Apr 25 '24 15:04 smlambert

The infinite spinner is fixed to finish with a "Oups" message when data cannot be found (for a good or a bad reason). I reopen the issue, because we need to understand why data are not available in the API.

xavierfacq avatar Apr 26 '24 12:04 xavierfacq

September 2025 - JDK25 GA

After waiting 24 hours for the website to update automatically, we have the following issues:

  1. The release notes hub page claims that JDK25 is an STS release, rather than the correct LTS.
  2. The hub page links to this web page (which seems consistent with other versions), but it does not load the release notes (which can be found here and here).

adamfarley avatar Sep 18 '25 13:09 adamfarley

The API is not currently reporting JDK25 as LTS. I have asked on Slack how to resolve this.

tellison avatar Sep 18 '25 13:09 tellison

For item 1, it seems the website identifies LTS releases by looking at this page: https://api.adoptium.net/v3/info/available_releases

JDK25 is missing, therefore the website thinks it's an STS.

Edit: Jinx! :)

adamfarley avatar Sep 18 '25 13:09 adamfarley

For item 2, it seems that the fetchReleaseNotes.ts tries to identify the latest release for a given major version via the api:

https://api.adoptium.net/v3/assets/latest/25/hotspot

Which doesn't have any data yet because no JDK25 builds have been released yet.

So maybe this problem will just go away if we check again after at least one build is released.

Putting Item 2 on the backburner for now.

adamfarley avatar Sep 18 '25 15:09 adamfarley

For item 1, it seems the website identifies LTS releases by looking at this page: https://api.adoptium.net/v3/info/available_releases

JDK25 is missing, therefore the website thinks it's an STS.

Edit: Jinx! :)

This has been resolved via https://github.com/adoptium/api.adoptium.net/pull/1625

tellison avatar Sep 19 '25 08:09 tellison

Thanks Tim.

Also, Item 2 is resolved since we now have some jdk25 releases.

adamfarley avatar Sep 19 '25 11:09 adamfarley

Requires a fix to API, as currently by design (and due to github rate limiting), release notes update is only done during the 24hr fullUpdate https://github.com/adoptium/api.adoptium.net/issues/1098#issuecomment-3460881789

andrew-m-leonard avatar Oct 29 '25 10:10 andrew-m-leonard