Replace parallel logs with live-updating table#8
Merged
Conversation
Parallel execution (parallel_foreach and parallel steps) now renders a clean in-place table via Spectre.Console Live instead of interleaved thinking/tool_use lines. Each item shows status icon, elapsed timer, label, and current activity — updating in real-time every second. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Spectre.Console does not allow concurrent interactive displays. Since parallel steps now use Live table rendering, they must be excluded from the Status spinner wrapper — same as ForeachStep and ApprovalStep. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Use Rounded border with hidden headers for cleaner table look - Fix raw markup tags showing in header by separating stepType/detail - Fix CS1525 error: use `,6` alignment instead of invalid `,>6` - Use HideHeaders() instead of ShowHeaders(false) - Add NoWrap to columns and right-aligned duration formatting - Include elapsed time in completion metrics Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
LiveParallelLiveTableclass manages per-item state with thread-safe updatesParallelForeachStepandParallelStepnow use the live tableBefore
Chaotic interleaved thinking/tool_use lines from multiple concurrent items — impossible to follow:
After
Clean in-place table with real-time status per item:
Status icons:
◌waiting ·○running ·✔success ·✘failedFiles Changed
UI/ParallelLiveTable.csUI/PipelineRenderer.csRunParallelWithLiveTable()+RenderParallelSummary()Steps/ParallelForeachStep.csSteps/ParallelStep.csTest plan
dotnet test)parallel_foreachpipelineforeachand normal steps are unaffectedfail_fastcancellation still works correctly🤖 Generated with Claude Code