fix(cli): suppress redundant --output suggestion when already using --output#1775
fix(cli): suppress redundant --output suggestion when already using --output#1775latenighthackathon wants to merge 1 commit into
Conversation
nemoclaw debug --output already writes a tarball, but the completion message still says 'run with --output and attach the tarball'. Show a shorter 'Tarball written' message when --output was provided, and only suggest --output when it was not. Closes NVIDIA#1732 Signed-off-by: latenighthackathon <latenighthackathon@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
✨ Thanks for submitting this PR, which proposes a fix for a bug where the debug output message shows a redundant suggestion to run with --output even when --output is already used. Possibly related open issues: |
There was a problem hiding this comment.
Clean fix — simple conditional on output, no regressions. CI green. @latenighthackathon pls update branch and we can get this in
|
@prekshivyas @wscurran Closing this — the fix landed in main via the Cheers! |
|
Superseded by upstream refactor — getDebugCompletionMessages already handles this case. |
Summary
nemoclaw debug --outputno longer shows a redundant "run with --output" suggestion after already writing the tarball.Problem
Running
nemoclaw debug --output /tmp/debug.tar.gzwrites the tarball successfully, then prints:The user already used
--output-- the suggestion is redundant and confusing.Fix
Condition the completion message on whether
outputwas provided. When--outputwas used, show "Tarball written. Attach it to your bug report." When not, show the existing suggestion.Test plan
npm run build:clipassesnpm run typecheck:clipassesCloses #1732
Signed-off-by: latenighthackathon latenighthackathon@users.noreply.github.com
Summary by CodeRabbit