Conversation
Gemini often returns end_turn while execute tools remain inProgress and never sends a later completion. Promoting those commands as local_bash left the Monitoring pill up until session teardown. Stop promoting leftover execute tools when the turn settles so Monitoring clears with the finished task. Fixes pingdotgg#12325 Co-authored-by: maco <macodev00@users.noreply.github.com>
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: pingdotgg/t3code/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (2)
Limit details: You’ve used all 10 included reviews currently available. 📝 WalkthroughWalkthroughThe Antigravity adapter no longer promotes unfinished execute tools to ChangesAntigravity monitoring lifecycle
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Low Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Document sendTurn, finishTurn, and isAntigravityOpenCommand so leftover execute tools are recorded as staying unpromoted when a Gemini turn ends. Co-authored-by: maco <macodev00@users.noreply.github.com>
Document the end_turn execute-tool case so touched functions in the adapter test file are covered too. Co-authored-by: maco <macodev00@users.noreply.github.com>
CodeRabbit counts FunctionDeclarations. Extract sendTurnEffect and settleTurn so leftover execute-tool settlement is documented. Co-authored-by: maco <macodev00@users.noreply.github.com>
Extract makeAntigravityAdapterEffect and the Monitoring regression test so JSDoc attaches to FunctionDeclarations. Co-authored-by: maco <macodev00@users.noreply.github.com>
Give the end_turn execute-tool fixture a documented generator so the test callback is not an anonymous function*. Co-authored-by: maco <macodev00@users.noreply.github.com>
Add JSDoc on the protocol helper in the diff hunk and on writeClientTextFile next to the adapter factory extract. Co-authored-by: maco <macodev00@users.noreply.github.com>
Keep JSDoc on makeAntigravityAdapter, sendTurn, and interruptTurn so the Effect.fn wrappers are documented as well as the helpers. Co-authored-by: maco <macodev00@users.noreply.github.com>
Attach a single-line JSDoc to every function the Gemini Monitoring diff touches, including the adapter export, so coverage can reach 80%. Co-authored-by: maco <macodev00@users.noreply.github.com>
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
|
|
@coderabbitai review |
|
What
executetools tolocal_bashon turn settle, so the Monitoring pill clears when a Gemini turn finishes.Why
Fixes #12325
Gemini often returns
end_turnwhile execute tools stayinProgressand never sends a later completion. Those were emitted astask.started(local_bash), which pinnedbackgroundLiveness === "monitoring"until session teardown.UI
Monitoring status should clear when the Gemini task completes (no new chrome).
Checklist
Summary by CodeRabbit
Bug Fixes
Documentation