Skip to content

Move restart thread recovery into General settings - #7774

Merged
ymichael merged 5 commits into
mainfrom
bb/add-toggle-for-resume-interrupted-threads-thr_hr3nxf6ecv
Nov 18, 2026
Merged

ymichael merged 5 commits into
mainfrom
bb/add-toggle-for-resume-interrupted-threads-thr_hr3nxf6ecv

Conversation

@ymichael

@ymichael ymichael commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Resuming threads interrupted by a restart was only available as an experiment. Users need a regular setting to control this behavior.

What changed

Moved Resume interrupted threads after a restart to Settings → General, defaulting off. Restart recovery, retry ordering, and update notices now read the general setting. A one-time custom Drizzle migration copies explicit experiment preferences into general settings, preserving both opt-ins and opt-outs. Existing general preferences take precedence. Settings reads no longer consult experiments.

The setting is available through bb settings general resumeThreadsAfterRestart true|false and the SDK's system.updateGeneralSettings. Updated the configuration reference and CLI guides. No daemon wire changes.

How you verified

  • Turbo typechecks passed for @bb/app, @bb/server, and @bb/cli.
  • 160 focused tests passed: restart recovery and experiments (26), settings persistence (7), app settings/update notices (100), and CLI update output (27).
  • Added real SQLite migration cases for opt-in, opt-out, no experiment row, and an existing general preference winning.
  • Built and started pnpm start:worktree; verified its config API exposes the general setting as false and omits the experiment. Left the worktree server running for manual verification; live browser verification has not been performed.

AGENT GENERATED

@ymichael
ymichael merged commit e63a2ea into main Nov 18, 2026
54 checks passed
@ymichael
ymichael deleted the bb/add-toggle-for-resume-interrupted-threads-thr_hr3nxf6ecv branch November 18, 2026 18:26
@ymichael ymichael mentioned this pull request Nov 18, 2026
ymichael added a commit that referenced this pull request Nov 18, 2026
## Human comments

## What was wrong

`main` has 230 commits since 0.49.0 with no release notes, and `bb-app`
and `@bb/desktop` are still at 0.49.0, so the publish and desktop
workflows can't ship them.

## What changed

- `packages/bb-app/package.json`, `apps/desktop/package.json`: 0.49.0 →
0.50.0 (`node scripts/bump-version.mjs 0.50.0`). This is a minor
release: it adds five database migrations (0153–0158), raises
`HOST_DAEMON_PROTOCOL_VERSION` from 264 to 268, removes the timeline's
`summaryOnly` plugin option, and graduates several experiments.
- `CHANGELOG.md`: the 0.50.0 section, covering everything since
`desktop-v0.49.0` through #7774. Sections: Reliability, Performance,
Usability, Experiments, Agents, Bug fixes, Plugins, Security, and Thanks
(12 outside contributors). Graduated experiments (Update when idle,
Clear notifications once a thread is read, Thread row metadata, Pushed
timeline updates, Faster plugin styles) and the new Resume interrupted
threads setting are written up as features in Usability and Performance.
Security covers the two ACP permission fixes from #7551.
- `changelog-metadata.ts`: the 0.50.0 `RELEASE_META` entry (November 18,
2026, "Automatic updates, steadier turns, and a faster app").

The release commit sits directly on `e63a2eafe01` (#7774), the current
`main`.

## How you verified

- `node .github/workflows/check-version-lockstep.mjs`: `bb-app=0.50.0
@bb/desktop=0.50.0`.
- Before rebasing onto #7773 and #7774: `pnpm exec turbo run typecheck
test --filter=@bb/app --filter=@bb/config --filter=@bb/server
--filter=bb-app` passed, 18/18 tasks (`@bb/app` 690 files, `@bb/server`
419 passed and 4 skipped, `bb-app` 23, `@bb/config` 10).
- After rebasing, the same run was cut off when my session ended:
`@bb/app#test` was killed (exit 137, SIGKILL) partway through, after
`bb-app` (23) and `@bb/config` (10) passed. `smoke:tarball` did not run
locally. CI on this PR covers both.
- Prettier on `CHANGELOG.md` and `changelog-metadata.ts`, and `git diff
--check`: clean.

> 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.

1 participant