Repository navigation
fix: honor the kitty graphics opt-out - #4979
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthrough
Suggested reviewers: Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to Panes now start with Kitty graphics disabled until graphics are explicitly enabled, which matches the stated opt-out fix. No merge-blocking risk was found. Security Architecture ReviewSecurity architecture risk: ⚪ Minimal · up to The change makes the graphics opt-out effective for newly created panes while preserving explicit enablement. No introduced or materially worsened security finding was identified. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
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 |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
|
Regarding the docstring-coverage warning: no new public API is introduced. The new functions are regression tests, and the constructor change has comments explaining both initialization decisions. I am leaving those tests and existing function documentation unchanged rather than adding docstrings solely to meet the percentage threshold. |
Issue
An application in a pane still detects Kitty graphics support after the user disables it and starts a fresh Herdr server. It can discard its text fallback and leave a blank image area.
Problem
The embedded terminal enables image storage by default. Herdr skipped its graphics-enabling step when configured off, but left that default active. The pane therefore continued answering graphics probes positively.
How did we fix it?
Herdr now starts each embedded terminal with image storage disabled. Panes explicitly enable it when graphics is configured on, as before. This restores the existing opt-out without changing outer-terminal capability detection.
Verification
The reporter's exact probe returned
OKin a fresh Linux session with graphics disabled before the fix. With the final build in a separate fresh session, it returns only DA1. Regression tests cover that reply, explicit enablement, reset, discarded uploads, and the empty-storage fast path.just checkpassed, including the full test suite and Windows cross-lint.refs #4978