Skip to content

Enable idle provider session release by default - #2772

Merged
SawyerHood merged 2 commits into
mainfrom
bb/enable-feature-by-default-thr_h4bt2ntqqv
Aug 31, 2026
Merged

SawyerHood merged 2 commits into
mainfrom
bb/enable-feature-by-default-thr_h4bt2ntqqv

Conversation

@SawyerHood

@SawyerHood SawyerHood commented Aug 31, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Idle session release remained behind the providerSessionReaping experiment 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-contract
  • pnpm exec turbo run test --filter=@bb/agent-runtime --force passed 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 --force passed 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-docs
  • node packages/plugin-sdk/scripts/check-npm-version-guard.mjs
  • bb plugin build plugins/plugin-api-docs
  • node scripts/check-provider-literal-ratchet.mjs
  • git diff --check

Fixes #1604

AGENT GENERATED

@SawyerHood
SawyerHood merged commit 5b3b0b8 into main Aug 31, 2026
15 checks passed
@SawyerHood
SawyerHood deleted the bb/enable-feature-by-default-thr_h4bt2ntqqv branch August 31, 2026 19:24
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Idle agent processes are never reclaimed for non-Codex providers

1 participant