ammachado opened a new pull request, #1670: URL: https://github.com/apache/maven-mvnd/pull/1670
> [!IMPORTANT] > **This PR is stacked on top of #1666** (`feature/worker-line-display-1x`). It should be reviewed and merged **after** #1666. Until #1666 merges, the diff here includes its commits as ancestors; the base will effectively rebase onto `mvnd-1.x` once #1666 lands. ## What this adds The test-progress feed for mvnd 1.x: 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 #1666'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**: `MvndTestProgressLifecycleParticipant` injects the fork-node factory into the Surefire mojo configuration, and the daemon dispatches accumulated progress to the client (`ClientDispatcher`, `Server`). - **Plugin-realm fix**: `InvalidatingPluginRealmCache` loads `MvndForkNodeFactory` in the Surefire plugin realm so the class 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. 🤖 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]
