jenkinsci / jenkinsci/plugin-installation-manager-tool

Do not fetch plugin-versions eagerly

Open
#312 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
463
Forks
228
Avg merge
31m
Merged PRs (30d)
15

Description

https://github.com/jenkinsci/plugin-installation-manager-tool/blob/e71682ad1c8dd6977cf67f1a77f051af1ebe88cc/plugin-management-library/src/main/java/io/jenkins/tools/pluginmanager/impl/PluginManager.java#L794 looks like this file is retrieved even when it's not needed. This should be fixed to reduce bandwidth waste, every call is 10MB.

Contributor guide

Open the contributing guide

Research direction

Start in plugin-management-library/src/main/java/io/jenkins/tools/pluginmanager/impl/PluginManager.java at line 794 and trace when plugin-versions is retrieved. Confirm which calls actually need that file and verify that unnecessary calls no longer fetch the 10 MB resource. The work is done when plugin-versions is fetched only when needed, without changing required plugin-management behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.