Skip to content

Fixes #13135: address review on reactor summary (UNKNOWN group, local StringBuilder) [master] - #13182

Merged
gnodet merged 1 commit into
apache:masterfrom
gnodet:port/reactor-summary-review-master
Sep 18, 2026
Merged

gnodet merged 1 commit into
apache:masterfrom
gnodet:port/reactor-summary-review-master

Conversation

@gnodet

@gnodet gnodet commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Forward-port of review findings from #13173 to master.

Applied to both compat/maven-embedder and impl/maven-cli:

  • Local StringBuilder: move the StringBuilder out of the ReactorSummaryRequest record and allocate it locally inside logReactorSummaryGroup. The record is a pure data-holder; carrying mutable state in it is a latent correctness trap.
  • UNKNOWN group=2: assign group = 2 to the else branch so any future BuildSummary subclass is rendered last at error level rather than silently grouped with SKIPPED modules.

… local StringBuilder)

Port review findings from apache#13173 to master:
- Move StringBuilder out of ReactorSummaryRequest record and allocate
  locally in logReactorSummaryGroup, eliminating mutable state from
  the data-holder.
- Assign group=2 to the UNKNOWN BuildSummary branch so any future
  BuildSummary subclass is logged at error level last, not silently
  grouped with SKIPPED modules.
@gnodet gnodet added this to the 4.1.0 milestone Sep 18, 2026
@gnodet
gnodet merged commit 204fdd7 into apache:master Sep 18, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant