Skip to content

Prepare bb-app 0.45.0 - #4765

Merged
SawyerHood merged 2 commits into
mainfrom
bb/perform-minor-version-bump-for-bb-thr_aiixhk7c2c
Oct 2, 2026
Merged

SawyerHood merged 2 commits into
mainfrom
bb/perform-minor-version-bump-for-bb-thr_aiixhk7c2c

Conversation

@SawyerHood

@SawyerHood SawyerHood commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

The stable release remains at 0.44.0. Release validation also found that switching between plugin composer popups replaced the input without focusing it, because the focus effect did not depend on the active popup identity.

What changed

Prepare bb-app and desktop 0.45.0 in lockstep. Rerun popup focus when the active popup changes, preserving the persistent drawer. Release notes will follow separately at the owner's request.

How you verified

Version lockstep, formatting, and diff checks passed. App typecheck and lint passed. The existing composer regression failed before the focus fix; all 150 tests in the file passed afterward. Three server tests timed out in the broad run; all five tests in those two files passed on a focused rerun. Before the final rebase, the full app suite passed (5,224 tests across 569 files). Rebased onto the latest main to include eager thread forks, long-question scrolling, and mobile submit-tap fixes. Final-head CI app and server shards passed; the refreshed tarball smoke passed, including installation, CLI help, SDK packaging, provider bridges, plugin loading, and daemon join. Local broad checks again hit the same three server timeouts under build load; all five tests in those files passed on a focused rerun. All final-head GitHub checks passed, including Windows desktop smoke and macOS/Linux package smoke.

AGENT GENERATED

@SawyerHood
SawyerHood force-pushed the bb/perform-minor-version-bump-for-bb-thr_aiixhk7c2c branch from 35aee01 to 9ac2008 Compare October 2, 2026 21:51
@SawyerHood
SawyerHood merged commit 129f621 into main Oct 2, 2026
27 checks passed
@SawyerHood
SawyerHood deleted the bb/perform-minor-version-bump-for-bb-thr_aiixhk7c2c branch October 2, 2026 21:57
SawyerHood added a commit that referenced this pull request Oct 2, 2026
## Human comments

## What was wrong

The composer popup switch test could pass when the first popup’s pending
focus animation frame ran after opening the second popup. That timing
masked a focus-transfer regression: switching popup content while the
host stayed open did not focus the new input.

## What changed

Wait for the first popup to receive focus before opening the second,
making the existing focus assertion reliably exercise switching after
the initial animation frame has completed. The equivalent product fix
already landed in #4765, which re-runs focus when the popup key changes;
this PR adds its deterministic regression coverage.

This is layer 1 of 2, based on `main`. Layer 2 is #4776, which extends
Windows CI and needs reliable popup switching coverage.

## How you verified

- `pnpm exec turbo run test --filter=@bb/app --
src/components/promptbox/PromptBoxInternal.test.tsx`: all 151 tests
passed after resolving the overlap with #4765.
- `pnpm exec turbo run lint typecheck --filter=@bb/app`: passed before
the rebase; CI checks the final head.
- The original investigation reproduced this deterministic test failure
before the equivalent product fix on Linux.
- Formatting and `git diff --check`: passed. This PR also runs the full
CI workflow on its final head.

> AGENT GENERATED

Co-authored-by: Claude Code <[email protected]>
SawyerHood added a commit that referenced this pull request Oct 2, 2026
## Human comments

## What was wrong

Windows CI ran only nine host package suites and application smoke
checks, leaving the app, server, plugins, CLI, parity, and other package
tests untested on Windows. Running those suites on actual runners
exposed filesystem assumptions, process cleanup races, coarse CPU
timing, and contention on four-vCPU machines.

## What changed

Add seven Windows test shards for the app, server, plugins, and
remaining packages. Run the test step under `cmd` with the runner temp
directory, install Bun for the Pi plugin suite, and retain bounded
OS-specific Turbo caches and timing artifacts. Serialize the
process-heavy host shard and limit plugin and other-package concurrency.

Fix the observed test portability failures: use an actual temporary log
directory, disable Git text conversion in the clone fixture, increase
the CPU measurement sample, retry asynchronous cleanup while child
processes release directories, allow Windows stdin EPIPE during child
exit, and use 15-second timeouts for process-spawning suites. Update the
Windows coverage, platform support, and CI performance docs.

This is layer 2 of 2, based on #4775. The equivalent popup focus fix
landed in #4765; #4775 retains its deterministic regression test. Bump
the Plugin SDK from 0.6.15 to 0.6.16 because the replay helper is
bundled into its published provider testing entry point. No
server/daemon wire fields change.

## How you verified

- The Windows matrix and portability patch match the original branch
validated by [all 30 CI
jobs](https://github.com/get-bb/bb/actions/runs/37069591771).
- The original investigation forced Windows shard execution across
repeated real-runner trials; the final stress validation passed all 13
shard copies.
- `pnpm exec turbo run build lint typecheck --filter=@get-bb/plugin-sdk
--filter=@bb/provider-bridge-protocol`: passed.
- `pnpm exec turbo run test --filter=@bb/provider-bridge-protocol`:
passed.
- `node packages/plugin-sdk/scripts/check-npm-version-guard.mjs`: passed
after the patch bump.
- `git diff --check`: passed. The [final PR
workflow](https://github.com/get-bb/bb/actions/runs/37075661524) passed
all 26 jobs on commit `2f26b6ca6112e74098a3875e3724bde15396b9fa`,
including all seven new Windows test shards, Linux tests,
Linux/macOS/Windows packaging smoke checks, lint, typechecks, and the
npm version guard. The conditional compatibility and mobile E2E jobs
were skipped.

Seven additional Windows runners took approximately 3.8–5.3 minutes each
in the original final run. Serializing the host shard avoids an
unresolved integration-server close hang under contention; broader
cleanup retries and short-path plugin validation remain follow-up work.

> AGENT GENERATED

---------

Co-authored-by: Claude Code <[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