Skip to content

Resolves #1270: Ensuring thread safety when creating VersionsHelper#1273

Merged
andrzejj0 merged 1 commit intomojohaus:masterfrom
andrzejj0:issue-1270-wagon
Sep 20, 2025
Merged

Resolves #1270: Ensuring thread safety when creating VersionsHelper#1273
andrzejj0 merged 1 commit intomojohaus:masterfrom
andrzejj0:issue-1270-wagon

Conversation

@andrzejj0
Copy link
Copy Markdown
Contributor

@andrzejj0 andrzejj0 commented Sep 18, 2025

Refactoring jobs in 2.19.0 caused a race condition when creating VersionHelper and its companion RuleServiceBuilder. In some cases, this will cause a race condition when attempting the rules file retrieval (multiple threads per dependencies will create a new VersionHelper and a new RulesServiceBuilder). "Oopsie woopsie" indeed.

@slawekjaranowski please review. Thanks.

Maybe a 2.19.1 is needed.

@andrzejj0 andrzejj0 changed the title Resolves #1270: Ensuring thread safety when VersionsHelper Resolves #1270: Ensuring thread safety when creating VersionsHelper Sep 18, 2025
@andrzejj0 andrzejj0 added this to the 2.19.1 milestone Sep 20, 2025
@andrzejj0 andrzejj0 merged commit 4affd18 into mojohaus:master Sep 20, 2025
26 checks passed
@andrzejj0 andrzejj0 deleted the issue-1270-wagon branch September 20, 2025 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

using external rule file gets "Premature end of Content-Length delimited message body" on 2.19.0

2 participants