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 testPut_StartCancelled regression introduced by #2206 by gnodet · Pull Request #2219 · apache/maven-resolver Conversation
Contributor
SummaryFixes a regression introduced by #2206: Root Cause#2206 added a retroactive progress-event block that fires } catch (TransferCancelledException e) { // upload already sent — retroactive notification cannot be cancelled; // fall through to transportPropertiesAvailable and status check } When a test listener has FixRemove the try/catch around the retroactive The Testing
Hermes Agent (Claude Sonnet 4.6) on behalf of Guillaume Nodet
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe retroactive progress-event block added in apache#2206 (to handle macOS platforms where Jetty skips onRequestContent callbacks) incorrectly swallowed TransferCancelledException thrown by transportStarted(). When a listener has cancelStart() set, transportStarted() must throw and that exception must propagate to the caller — regardless of whether the bytes have already been sent. Catching and silencing the exception caused testPut_StartCancelled to pass through without error, breaking the TransportListener cancellation contract. Fix: remove the try/catch around the retroactive transportStarted() call so the exception propagates naturally. The TransferCancelledException from the retroactive transportProgressed() loop is still caught-and-broken (correct: the loop exits, transportPropertiesAvailable and the status check still run). Co-authored-by: Claude Sonnet 4.6 <[email protected]>
gnodet-bot
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. Correct fix — removes the erroneous The cancellation asymmetry ( 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 reactions
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. Warning Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a Copilot review overviewNo open issues 🎉 What changed in this PRFixes a regression where Changes:
Review effort: Lite
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
cstamas
approved these changes
Copilot stopped reviewing on behalf of
cstamas due to an error
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
Reviewers
Copilot code review
Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
+1 more reviewerUh oh!
There was an error while loading. Please reload this page. AssigneesLabels
bug
ProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh 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. |