Skip to content

DependencyCollectionChecker: new session member#1899

Draft
cstamas wants to merge 4 commits into
apache:masterfrom
cstamas:collection-checker
Draft

DependencyCollectionChecker: new session member#1899
cstamas wants to merge 4 commits into
apache:masterfrom
cstamas:collection-checker

Conversation

@cstamas
Copy link
Copy Markdown
Member

@cstamas cstamas commented Jun 4, 2026

Introduce DependencyCollectionChecker, that is able to augment and re-collect the graph. By default, there is only NOOP implementation and this PR causes no change in Resolver behaviour, but this leaves ability to Resolver integrator to use this feature.

Also, prepare OptionDependencySelector to be parameterized (by default is not) to be able to ignore or collect optional/excluded artifacts.

Note: DependencyCollectorDelegate may be best seen without whitespace, change is only about putting existing logic into loop w/ some cleanup.

Introduce DependencyCollectionChecker, that is able to augment and re-collect
the graph. By default, there is only NOOP implementation and this PR causes
no change in Resolver behaviour, but this leaves ability to Resolver integrator
to use this feature.

Also, prepare OptionDependencySelector to be parameterized (by default is not)
to be able to ignore or collect optional/excluded artifacts.
@cstamas cstamas added this to the 2.0.19 milestone Jun 4, 2026
@cstamas cstamas self-assigned this Jun 4, 2026
@cstamas cstamas added the enhancement New feature or request label Jun 4, 2026
cstamas added 3 commits June 4, 2026 13:46
And it is resolver itself enforcing it, as a problematic
checker may cause endless loops, so prevent it, but let
escape hatch to set the maxRuns as config.
To be aligned with all other "optional" session stuff,
once we will make the Optional<>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant