Repository navigation
Description
Feature idea
GitHub-based url-updaters retrieve versions from the GitHub API with a single request. The API response is paginated, so currently only the first page is being processed, i.e. by default only the 30 most recent items. This has led to problems with tools such as OpenAI's codex, which publishes ~8-10 releases every day, and anything outside the first page is never picked up. A recent attempt to manually set the page limit to 100 items led to a timeout (see #2852).
Thus instead of processing a single page, the updater should iterate over all pages of the paginated API response:
- Loop through the pages of the version endpoint.
- Extend the request URL with the pagination parameters for each page.
- Merge the JSON responses into one combined list.
Additional context
The base class is https://github.com/devonfw/IDEasy/blob/main/url-updater/src/main/java/com/devonfw/tools/ide/url/updater/AbstractGithubUrlUpdater.java which has two sub-classes that both call GitHub APIs and should benefit from this improvement.
Internally it should use a loop calling the GitHub API page by page until less hits than the maximum of configured hits per page had been returned.
As the issue already stated problems about codex with so many releases leading to timeouts and overloading, we should already thing further:
- We should check the GitHub API and JSON results for something like a timestamp, sequential release/tag counter, or alike.
- We should check if it is possible to filter the API to get only results newer than such a timestamp, sequence, etc. and potentially even get the result hits sorted via that field ascending.
- Then we could use our
status.jsonfile and extend the model to track this field value to memorise what we have already seen and processed. - Then we could check if we already have a status for the current URL Updater with such new field storing the state from where we previously left off.
- Finally, we can then continue the GitHub API search to only return results newer than this stored timestamp.
Please note that this additional persisting is adding quite some extra complexity to this story.
Feel free to create sub-tasks to split it into smaller tasks and PRs that allow faster progress+review.
Sub-issues
Collapse Sub-issuesSub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fields🆕 New
Activity
capg-leo commentedon Nov 24, 2026
I investigated the processing approach for GitHub-based URL updaters.
Findings:
Conclusion: The optimization seems technically possible to some extent, especially for releases, but it would add additional complexity and cannot be applied as reliably to tags.
For now, I would therefore keep the pagination implemented in #2916 (per_page=100 and continue until a page contains fewer than 100 results) rather than adding incremental state handling.
If we still want to pursue the optimization, I think it should be handled as a separate implementation task after deciding how repository/updater-level state should be persisted.