Conversation
* fix: restore codex loading state hooks * fix: enable codex hooks for running state * fix: migrate stale codex preset commands * fix: enable codex hooks in wrapper launches * chore: drop codex loading state detours
useTerminalSuggestionのuseEffect依存配列に commandBufferRef.current が 含まれていたため、setTrackedInput()による再レンダー時にuseEffect cleanup が走り、80msのフェッチタイマーが毎回キャンセルされていた。 依存配列を空にしてマウント時1回のみに変更(setInterval内でrefをポーリング しているため依存は不要)。 Fixes ELECTRON-3
did-stop-loadingイベントがwebviewのhidden container移動後に発火した場合、 getURL()/getTitle()がWebView未アタッチエラーをスローしていた。 try-catchで保護し、パーキング中のイベントを安全に無視する。 Fixes ELECTRON-5
before-quitハンドラでbetter-sqlite3のDatabaseインスタンスを明示的に close()するようにした。未クローズのままNode.js環境がクリーンアップ されると、N-APIコールバック中にnapi_fatal_errorが発火しプロセスが abort()されていた。 Fixes ELECTRON-2
…nd-suggestion-bugs
リサイズドラッグ中にカーソルがwebview上を通過すると、Electronの webviewがマウスイベントを吸収しdocumentレベルのmousemoveに届かなかった。 リサイズ中に透明オーバーレイを追加してイベント吸収を防止。
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (10)
📝 WalkthroughWalkthroughThis PR addresses multiple desktop application stability issues and adds error monitoring. Key changes include: Bun runtime upgrade (1.3.6 → 1.3.11), SQLite database explicit closure on app exit, webview error handling to prevent crashes during DOM detachment, sidebar resizing overlay improvement, shell history display dependency correction, and Codex hook flag enablement. Documentation updated with Sentry integration and stability fix references. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Summary
useTerminalSuggestionのuseEffect依存配列にcommandBufferRef.currentが含まれていたため、setTrackedInput()による再レンダー時に80msのフェッチタイマーが毎回キャンセルされていた。依存配列を[]に変更 (Fixes ELECTRON-3)before-quitハンドラで better-sqlite3 の Database インスタンスを明示的にclose()するようにした。未クローズのまま Node.js 環境がクリーンアップされると N-API コールバック中にプロセスが abort されていた (Fixes ELECTRON-2)did-stop-loadingイベントが webview の hidden container 移動後に発火した場合にgetURL()/getTitle()がスローしていた。try-catch で保護 (Fixes ELECTRON-5).env設定 —SENTRY_DSN_DESKTOPを設定するだけで本番ビルドのクラッシュ・エラーを自動収集可能にTest plan
Summary by CodeRabbit
New Features
Bug Fixes
Chores