Threads with a PR out for review were auto-settling after the inactivity window, hiding unfinished work in the settled tail. Review can take days of silence; quiet is not done.
An open change request now blocks the inactivity path in the shared effectiveSettled (used by web sidebar, ChatView, and mobile). Merge/close still settles immediately, an explicit user settle still wins, and the existing activity blockers are unchanged. Client-side only — the server has no inactivity auto-settle.
Extended the truth table plus a focused test for open-PR staleness and explicit settle.
Written by Claude Fable 5 via Claude Code.
🤖 Generated with Claude Code
Note
Low Risk
Client-only settled-state logic with expanded tests; no server or auth changes, but inbox visibility behavior shifts for stale threads with open PRs.
Overview
Threads with an open change request no longer auto-settle when they pass the inactivity window. Quiet time during review was incorrectly moving them into the settled tail and hiding unfinished PR work.
effectiveSettled in client-runtime now treats changeRequestState === "open" as blocking the inactivity path only: merged/closed PRs still auto-settle immediately, explicit settledOverride === "settled" still wins, and existing blockers (pending approvals, live session, queued turn) are unchanged. This is client-side classification for sidebar/ChatView/mobile list partitioning.
Tests extend the truth table and add a case for stale + open PR (plus explicit settle still settling).
Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 944c87ca05bf048b08df41fcd696f01b5cb4e3dc. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).
Note
Prevent threads with open PRs from auto-settling due to inactivity#
Adds an early return in effectiveSettled so that threads with changeRequestState === "open" always return false, bypassing the inactivity-based auto-settle path. Threads with open PRs now only settle via an explicit user action or when the change request is merged or closed.
Macroscope summarized 944c87c.
Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
7859d293-2111-4581-8ba6-32571b41489fYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
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.
❤️ Share