📝 Walkthrough
The desktop command now ignores stderr. Web components reuse incremental Markdown plugins, parsed patches, and JSON codecs. Terminal link extraction gains benchmarks using dense and spaced input strings.
Changes: Desktop command output
Layer / File(s) Summary Ignore command stderr
apps/desktop/src/shell/DesktopShellEnvironment.ts,apps/desktop/src/shell/DesktopShellEnvironment.test.tsrunCommandOutputignores stderr. A login-shell test checks that the standard command setsstderrto"ignore".Incremental Markdown reuse
Layer / File(s) Summary Reuse the incremental plugin
apps/web/src/components/ChatMarkdown.tsx,apps/web/src/markdown-incremental.test.tsxChatMarkdownreuses its incremental Markdown plugin across renders. Tests check parsing a different message in full and compare parsed text lengths when the plugin is reused.Web computation caches
Layer / File(s) Summary Cache renderable patches
apps/web/src/components/DiffPanel.tsxDiffPanelretrieves patches through a cache keyed by theme and parsing options. The cache reuses an entry only when its patch string matches and stores only truthy patch strings.Reuse JSON codecs
apps/web/src/hooks/useLocalStorage.tsA WeakMapcaches JSON codecs by schema. Encode and decode reuse the cached codecs, with existing error handling retained.Terminal link benchmarks
Layer / File(s) Summary Benchmark link extraction
apps/web/src/terminal/links.bench.tsBenchmarks run extractTerminalLinkson generated dense and spaced strings at lengths of 2,000 and 10,000 characters.Priority: ➖ Normal
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Bug fix
Suggested reviewers:
juliusmarminge
Merge Risk: 🔵 Low · up to 8f943
Changing math rendering during a streaming message can produce incorrect Markdown. This is a narrow issue to fix or explicitly accept before merging.
Pre-merge checks: Passed 3 · Failed 1
Failed Failed checks: 1 warning
Check name Status Explanation Resolution Description check Warning The description clearly explains the problems, changes, measurements, verification results, and limitations. It does not include the required Scope and approval section or explain an approval exemptio… Add a Scope and approval section with the triaged issue or explicit maintainer approval, or explain why this focused fix qualifies for an exemption. Add clear before/after screenshots for the UI changes, or state the applicable reason if sc… Passed Passed checks: 3 passed
Check name Status Explanation Title check Passed The title is concise, uses the repository's conventional format, and accurately summarizes the performance caching changes and login-shell fix. Linked Issues check Passed Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check
Explanation
The description clearly explains the problems, changes, measurements, verification results, and limitations. It does not include the required Scope and approval section or explain an approval exemption, and it omits the required before/after screenshots for the UI changes.
Resolution
Add a Scope and approval section with the triaged issue or explicit maintainer approval, or explain why this focused fix qualifies for an exemption. Add clear before/after screenshots for the UI changes, or state the applicable reason if screenshots are not required.
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.