GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — Fix listener error swallowing (#1990), SyncContext double-close (#1992), and test flakiness (#1350) by slachiewicz · Pull Request #2108 · apache/maven-resolver Conversation
Member
Summary of Fixes
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…ng, sync context double-close and derandomize tests - apache#1990: Log listener exceptions in ChainedRepositoryListener and ChainedTransferListener; add unit tests for multicast resilience. - apache#1992: Prevent SyncContext double-close in DefaultArtifactResolver and DefaultMetadataResolver; add verification test. - apache#1350: Derandomize GenericVersionTest.testCompareUuidRandom with fixed seed.
slachiewicz
marked this pull request as ready for review
This was referenced
gnodet
requested changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Two confirmed resource leaks (HIGH) in The listener error handling improvement and test derandomization are sound. This review was generated by an AI agent and may contain inaccuracies. Please verify all suggestions before applying. Claude Code on behalf of Guillaume Nodet
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
gnodet
requested changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Two confirmed resource leaks (HIGH) in The listener error handling improvement and test derandomization are sound. This review was generated by an AI agent and may contain inaccuracies. Please verify all suggestions before applying. Claude Code on behalf of Guillaume Nodet
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page. Review follow-up: the shared context was created outside any try block, so a SyncContextFactory that throws while creating the exclusive context leaked it. The request loop now runs before either context is created, and the shared context is closed if the exclusive one cannot be obtained. The shared-to-exclusive hand-over reassigns before closing so a throwing close() cannot leave the shared context to be closed twice. The lifecycle test uses distinct instances for the two roles.
slachiewicz
marked this pull request as draft
…faultMetadataResolver
slachiewicz
marked this pull request as ready for review
elharo
approved these changes
gnodet
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Re-review after follow-up commits (0d76d59, a9d1d5c). All previous findings are addressed:
The Note: No milestone is set — this should target 2.0.23. This review was generated by an AI agent, Hermès on behalf of @gnodet.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe "close once" pattern is using AtomicBoolean in resolver. Also make sure that the only SyncContext close method is idempotent
cstamas
approved these changes
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
This was
linked to
issues
Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesLabelsProjectsDevelopmentSuccessfully merging this pull request may close these issues. SyncContext double-close risk in DefaultArtifactResolver and DefaultMetadataResolver Listener RuntimeException silently swallowed by default in ChainedRepositoryListener/ChainedTransferListener [MRESOLVER-674] Derandomize GenericVersionTest.testCompareUuidRandomUh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |