fix: address multi-model code review findings for recent merges#307
fix: address multi-model code review findings for recent merges#307anandgupta42 merged 1 commit intomainfrom
Conversation
- Fix TUI trace dialog ignoring custom `tracing.dir` config — plumb config dir through `DialogTraceList`, `getTraceViewerUrl`, and `openTraceInBrowser` so custom trace directories work in the TUI - Fix WebFetch `clearTimeout` leak — move both `fetch` calls inside the `try` block so the `finally` clause always clears the timer, even on DNS failures or `AbortError` - Fix `cleanTitle` empty string fallback — add `"(Untitled)"` as final fallback when all parsing yields empty - Add error logging to `openTraceInBrowser` — log actual error before showing toast so failures are debuggable - Add `altimate_change` markers around `HONEST_UA` branding constant in `webfetch.ts` for upstream merge compatibility - Update tracing docs for new `/trace` dialog behavior - Update TUI docs to include `/trace` in slash command examples Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
Disabled knowledge base sources:
📝 WalkthroughWalkthroughThis PR addresses code review findings by fixing TUI trace directory configuration plumbing, resolving a WebFetch clearTimeout leak, improving error handling and fallback messages, and updating documentation to reflect trace dialog behavior changes and slash command updates. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What does this PR do?
Addresses findings from a 6-model consensus code review (Claude, GPT 5.2 Codex, Gemini 3.1 Pro, Kimi K2.5, MiniMax M2.5, GLM-5) of the recent merges (#297, #301, #303, #305):
tracing.dirconfig — plumb config dir throughDialogTraceList,getTraceViewerUrl, andopenTraceInBrowserso custom trace directories work in the TUI (found by GPT 5.2 Codex)clearTimeoutleak — move bothfetchcalls inside thetryblock so thefinallyclause always clears the timer, even on DNS failures orAbortError(found by Gemini 3.1 Pro)cleanTitleempty string fallback — add"(Untitled)"as final fallback when all parsing yields empty (found by Claude, GLM-5)openTraceInBrowser— log actual error before showing toast so failures are debuggable (found by Kimi K2.5, GLM-5)altimate_changemarkers aroundHONEST_UAbranding constant inwebfetch.tsfor upstream merge compatibility/tracedialog behavior/tracein slash command examplesType of change
Issue for this PR
Closes #306
How did you verify your code works?
Checklist
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Bug Fixes
Documentation