Skip to content

Implement incremental processing for GitHub-based URL updaters #2928

In review

Description

@capg-leo

Task summary

Task summary

Based on the investigation in #2917, GitHub-based URL updaters can avoid retrieving already processed API pages by stopping pagination once an already known version is encountered.

The existing versions in the IDEasy URL repository can be used as the known state, so no additional state in status.json is required.

Proposed implementation

  • Load the versions already present in the URL repository before requesting GitHub API pages.
  • Retrieve GitHub results page by page.
  • Apply the existing version mapping/filtering before comparing results with known versions.
  • Stop requesting additional pages once an already known version is encountered.
  • Apply the optimization to both release- and tag-based GitHub URL updaters.

Acceptance criteria

  • Pagination stops when an already known version is encountered.
  • Version mapping is applied before comparing GitHub results with existing IDEasy versions.
  • No additional persistent state is required.
  • If no known version exists or is found, all pages are retrieved as before.
  • The optimization works for both GitHub Releases and Tags.
  • Tests verify that no additional API page is requested after a known version has been reached.

Depends on #2916.
Investigation: #2917.

Additional context

No response

Activity

  1. added theissue type on Nov 25, 2026
  2. added
    enhancement
    on Nov 25, 2026
  3. self-assigned this
    on Nov 25, 2026
  4. moved this from 🆕 New to 🏗 In progress in IDEasy boardon Nov 25, 2026
  5. moved this from 🏗 In progress to 👀 In review in IDEasy boardon Nov 25, 2026
  6. added a commit that references this issue on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions