ammachado opened a new pull request, #1713:
URL: https://github.com/apache/maven-mvnd/pull/1713

   ## What this adds
   
   The test-progress feed for mvnd 2.x (master, Maven 4): a bridge that streams 
live JUnit/Surefire test progress from forked test JVMs back to the daemon and 
out to the client. This is the data source that PR #1667's worker-line suffix 
renders.
   
   ### Highlights
   
   - **`-Dmvnd.testProgress` flag** (`Environment`) to opt into the feature, 
wired into bash completion.
   - **`mvnd-surefire-progress` module** providing a custom Surefire 
`ForkNodeFactory` (`MvndForkNodeFactory`) plus a `TestProgressAccumulator` that 
tallies per-fork test events.
   - **Daemon-side wiring**: `MvndMojoExecutionConfigurator` injects the 
fork-node factory into the Surefire mojo configuration (Maven 4's immutable 
model requires the configurator hook rather than 1.x's lifecycle participant), 
and the daemon dispatches accumulated progress to the client 
(`ClientDispatcher`, `Server`).
   - **Plugin-realm/export fix**: exported via 
`DaemonPlexusContainerCapsuleFactory` so `MvndForkNodeFactory` resolves at fork 
time.
   - **Integration test** (`TestProgressTest`) driving a sample project end to 
end.
   
   ### Files
   21 files changed, ~1000 insertions across the common module, daemon, 
surefire-progress module, distribution, and integration tests.
   
   ## `mvnd` console output without this PR:
   <img width="1624" height="1061" alt="image" 
src="https://github.com/user-attachments/assets/3d710322-d554-4aa3-a8fa-53927789c447";
 />
   
   ## With the changes:
   <img width="1624" height="1061" alt="image" 
src="https://github.com/user-attachments/assets/5c05a08f-01a8-4c65-a023-d24902fd1c5d";
 />
   
   
   🤖 Generated with [Claude Code](https://claude.com/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]

Reply via email to