opensearch-project/OpenSearch

[Feature Request] Automate detection of unused dependencies

Open

#19,364 opened on Sep 22, 2025

View on GitHub
 (3 comments) (0 reactions) (1 assignee)Java (1,505 forks)batch import
Buildenhancementgood first issue

Repository metrics

Stars
 (8,123 stars)
PR merge metrics
 (Avg merge 5d 9h) (266 merged PRs in 30d)

Description

Is your feature request related to a problem? Please describe

This repository has a lot of subprojects, each with its own set of dependencies. This leads to a lot of maintenance in keeping these dependencies up to date. We use dependabot to automate updates but that does not eliminate manual work. See #19347 for a case where a dependency was unused. It would be great to automate detection of unused dependencies so they can be removed in order to reduce maintenance overhead.

Describe the solution you'd like

See #5652 for one possible solution for detecting unused dependencies

Related component

Build

Contributor guide