Skip to content

Resolve property versions in parallel - #1447

Merged
slachiewicz merged 1 commit into
masterfrom
agent/parallel-update-properties-1157
Oct 11, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/parallel-update-properties-1157

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Fixes #1157. Part of #1445. The property goals (update-properties, update-property, display-property-updates, set-property and the property reports) looked up the versions of one property after another. getVersionPropertiesMap now prepares and logs each property in order as before, then resolves them on the bounded pool the helper already uses for dependency and plugin lookups (5 threads). The result keeps the property order, and the first failing property's error is reported as before. Within one property, its associated artifacts are still looked up in sequence.

Verified: DefaultVersionsHelperTest#testVersionPropertiesMapLooksUpPropertiesConcurrently blocks every lookup until four are in flight; it times out without this change and passes with it.

@slachiewicz slachiewicz added enhancement New feature or request performance labels Oct 11, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review October 11, 2026 17:50
@slachiewicz
slachiewicz merged commit 58a2ea5 into master Oct 11, 2026
16 checks passed
@slachiewicz
slachiewicz deleted the agent/parallel-update-properties-1157 branch October 11, 2026 18:44
@github-actions github-actions Bot added this to the 2.22.1 milestone Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update-properties: resolve new versions in parallel

1 participant