gnodet commented on PR #14186: URL: https://github.com/apache/maven/pull/14186#issuecomment-7295143047
Updated the fix commit (21ffc7d9e4) to include two unit tests covering the scenario: - `lateEdgeAfterInitReadyQueueIncrementsPendingPredecessors` — reproduces the core bug: creates a full lifecycle plan with upstream/downstream projects, initializes the ready queue, then adds a cross-project dependency edge (as `plan()` does via `requiresDependencyOrdering`). Asserts that `pendingPredecessors` is incremented for the new edge. - `lateEdgeToDonePredecessorDoesNotIncrementPendingPredecessors` — edge case: adding an edge to an already-done predecessor must not increment the counter (since that predecessor will never call `notifySuccessors` to decrement it). @seregamorph could you verify the fix with your reproducer when you get a chance? _Fully automatic review from Claude Code_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
