nx icon indicating copy to clipboard operation
nx copied to clipboard

fix(core): preserve command output in TUI summary for non-cached tasks

Open AgentEnder opened this issue 2 weeks ago โ€ข 3 comments

Current Behavior

The printTaskTerminalOutput callback in the TUI summary life cycle overwrites terminal output for all tasks when output is provided. This causes the command line information (the actual command that was run) to be lost for non-cached tasks because non-cached tasks stream their output via appendTaskOutput, which includes the command information.

Expected Behavior

For non-cached tasks (those with 'failure' or 'success' status), the output should be preserved from the streaming via appendTaskOutput which includes the complete command line that was executed. Only cached tasks should have their output overwritten by printTaskTerminalOutput since they don't go through the streaming path.

Related Issue(s)

๐Ÿค– Generated with Claude Code

AgentEnder avatar Dec 01 '25 15:12 AgentEnder

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Dec 2, 2025 4:06am

vercel[bot] avatar Dec 01 '25 15:12 vercel[bot]

Deploy Preview for nx-docs ready!

Name Link
Latest commit eaf8f389cc90102a0e1a0aa42cf795f57ad691b1
Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/692e64c45839410008133f9d
Deploy Preview https://deploy-preview-33673--nx-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Dec 01 '25 15:12 netlify[bot]

View your CI Pipeline Execution โ†— for commit eaf8f389cc90102a0e1a0aa42cf795f57ad691b1

Command Status Duration Result
nx affected --targets=lint,test,test-kt,build,e... โœ… Succeeded 6m 44s View โ†—
nx run-many -t check-imports check-lock-files c... โœ… Succeeded 2m 53s View โ†—
nx-cloud record -- nx-cloud conformance:check โœ… Succeeded 12s View โ†—
nx-cloud record -- nx format:check โœ… Succeeded 2s View โ†—
nx-cloud record -- nx sync:check โœ… Succeeded <1s View โ†—

โ˜๏ธ Nx Cloud last updated this comment at 2025-12-05 02:02:11 UTC

nx-cloud[bot] avatar Dec 01 '25 15:12 nx-cloud[bot]