Skip to content

Visual improvements to worker lines with live test-progress suffix (mvnd-1.x)#1666

Open
ammachado wants to merge 1 commit into
apache:mvnd-1.xfrom
ammachado:feature/worker-line-display-1x
Open

Visual improvements to worker lines with live test-progress suffix (mvnd-1.x)#1666
ammachado wants to merge 1 commit into
apache:mvnd-1.xfrom
ammachado:feature/worker-line-display-1x

Conversation

@ammachado

Copy link
Copy Markdown

What

Presentation-only reshaping of mvnd's live terminal display, plus the client-side plumbing for a live per-test progress suffix, on mvnd-1.x.

Live now (driven by existing messages)

  • A drawn progress bar with percent prefixed to the status line.
  • Concise arrow-style worker lines: > :module goal (execution).
  • Dimmed > IDLE slots for free worker threads.

Wired but dormant (client-side only)

  • New PROJECT_TEST_PROGRESS wire message (Message.ProjectTestProgressEvent, round-trip serialization).
  • TerminalOutput.appendTestProgress(...) renders a styled suffix [Tests: N, Failures: .., Errors: .., Skipped: ..] Class#method, with failure/error counts in red.

Follow-up

The daemon-side feed that emits PROJECT_TEST_PROGRESS (the surefire ForkNodeFactory bridge) is not implemented on mvnd-1.x yet, so the test-progress suffix stays dormant until a follow-up commit lands it. This is a deliberate, spike-gated separation; a TODO on the PROJECT_TEST_PROGRESS constant records it.

Verification

  • common unit tests pass (message round-trip; bar geometry; suffix formatting and styles), RAT clean.
  • MultiModuleTest integration test passes (the reshaping did not break message-driven client assertions).
  • Built and verified with JDK 17.

🤖 Generated with Claude Code

@ammachado ammachado marked this pull request as ready for review July 2, 2026 20:07
@ammachado ammachado force-pushed the feature/worker-line-display-1x branch from d085d2b to d3eab36 Compare July 3, 2026 04:34
…fix on mvnd-1.x

Reshape the live terminal display: a drawn progress bar with percent on the
status line, concise arrow-style worker lines (> :module goal (execution)),
and dimmed > IDLE slots for free threads. At addProjectLine, append a styled
live test-progress suffix (tests/failures/errors/skipped counts plus the
current test class#method) driven by the new PROJECT_TEST_PROGRESS message.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant