Repository navigation
Enable idle provider session release by default - #2772
Merged
Merged
Conversation
ymichael
added a commit
that referenced
this pull request
Sep 23, 2026
## Human comments ## What was wrong Timeline row windowing (#2011) only ran when the `timelineWindowing` experiment was turned on, and it was off by default. So long timelines and large expanded details still mounted every row. The known outline-jump bug with windowing on was fixed by #4217, which is already on `main` (bb34cef), so nothing else was holding back the rollout. ## What changed - **App:** `ThreadTimelineSurface` no longer reads the experiment from system config. I removed the `timelineWindowingEnabled` prop and context from `ThreadTimelineRows` and the `enabled` prop from `TimelineWindowedItemsLoader`/`TimelineWindowedItems`. Windowing still falls back to fully mounted rows below the per-list thresholds (60/40 top-level, 20 nested) or when there is no usable scroll root. Outline and search navigation targets now always stay mounted. - **Experiment key:** removed `timelineWindowing` from `@bb/domain` experiments, the Settings → Experiments toggle, and the test fixtures. Legacy stored rows are ignored, as before. - **Docs:** `docs/configuration.md`, the bb-guide customization template, and the bb-cli `app-settings.md` reference now describe windowing as standard behavior. The verify-bb settings recipe lists the remaining experiments. - **Plugin SDK:** bumped to `0.5.20`, because the experiment keys are part of its bundled declarations. Same as #2772 and #3424. - No host-daemon wire changes. ## How you verified - I deleted the tests for the experiment-off path. The remaining windowing tests now run without a flag. - `pnpm exec turbo run typecheck lint test --filter=@bb/app --filter=@bb/server --filter=@bb/desktop --filter=@bb/cli --filter=@bb/db --filter=@bb/domain --filter=@bb/plugin-api-map --filter=@bb/templates` passed (25/25 tasks; app 557 files, server 299 files). Lint shows only pre-existing warnings. - `node .github/workflows/check-plugin-sdk-version.mjs` passed. Related: #2011 (added the experiment), #4217 (outline-jump fix under windowing, merged). > AGENT GENERATED 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
Idle session release remained behind the
providerSessionReapingexperiment after the provider restorability contract became available. Users had to enable the experiment before BB released restorable non-Codex sessions.What changed
BB now releases every restorable provider session after 30 idle minutes. The change removes the experiment key, Settings toggle, server policy route, and host-daemon policy request. It also removes the legacy Codex-only fallback. The host-daemon protocol version increases to 175 because the internal server contract changed. The Plugin SDK version increases to 0.4.30, and the Plugin Guide inventory includes the changed declaration hash. The configuration guide, built-in CLI skill reference, generated guide source, fixtures, and tests now describe the standard behavior.
How you verified
pnpm exec turbo run typecheck --filter=@bb/agent-runtime --filter=@bb/host-daemon --filter=@bb/server --filter=@bb/app --filter=@bb/db --filter=@bb/host-daemon-contractpnpm exec turbo run test --filter=@bb/agent-runtime --forcepassed 318 tests.pnpm exec turbo run test --filter=@bb/host-daemon --filter=@bb/server --filter=@bb/app --filter=@bb/db --filter=@bb/host-daemon-contract --forcepassed all affected suites.pnpm exec turbo run test typecheck --filter=@get-bb/plugin-sdk --filter=@bb/plugin-api-map --filter=@bb/app --filter=bb-plugin-plugin-api-docsnode packages/plugin-sdk/scripts/check-npm-version-guard.mjsbb plugin build plugins/plugin-api-docsnode scripts/check-provider-literal-ratchet.mjsgit diff --checkFixes #1604