Repository navigation
Replace New tab when opening Browser or plugin actions - #4593
Merged
brsbl merged 4 commits intoOct 14, 2026
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
brsbl
changed the base branch from
main
to
bb/fix-slow-link-opening-thr_8f2nidvuyn
October 13, 2026 23:31
brsbl
force-pushed
the
fix/new-tab-actions-4411
branch
from
October 14, 2026 00:26
42bcb18 to
e31315f
Compare
brsbl
added a commit
that referenced
this pull request
Oct 14, 2026
## Human comments ## What was wrong Merging #4593 after #5261 combined a new regression test with an import cleanup. The resulting test called `createNewTabFixedPanelTab` without importing it, failing app tests and typechecking on main. ## What changed - Restore the missing factory import used by the Browser replacement regression. ## How you verified - [Post-merge app tests failed](https://github.com/get-bb/bb/actions/runs/38652452163/job/116154364883) with `ReferenceError: createNewTabFixedPanelTab is not defined`. - [Post-merge typechecking failed](https://github.com/get-bb/bb/actions/runs/38652452163/job/116154364534) on the same missing import. - [Remote CI passed](https://github.com/get-bb/bb/actions/runs/38652762434) at `983b2bfa2777d3d60e99157e2b3c4912553034df`, including app tests and typechecking. BB-Thread-ID: thr_8f2nidvuyn > AGENT GENERATED
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
Native Browser registration could race the renderer's New tab replacement, restoring New tab beside Browser or losing its intended position. Reopening an existing plugin panel left New tab behind because that path only activated the destination.
What changed
How you verified
e31315fb5ee317ed19f5eb4e84b734d8aead4579.User QA passed. brsbl approved the native app at
e31315fb5ee317ed19f5eb4e84b734d8aead4579and reconfirmed approval on October 14, 2026.Current desktop smoke at the PR head:
Before: parent revision
5288f58a84c0e5220518283fd2c4ce2ec6b46fc6· After:e31315fb5ee317ed19f5eb4e84b734d8aead4579. Captured at 2× from the compared branch web apps with the same fixture, route, viewport, and interaction.Final review, follow-up, and scope
Fresh per-PR Slop Cop reviewed
5288f58a84c0e5220518283fd2c4ce2ec6b46fc6..e31315fb5ee317ed19f5eb4e84b734d8aead4579on October 14, 2026. Security and performance found no actionable issues. Architecture and code quality independently confirmed one P2; no P0/P1 findings. E2E reused the completed exact-head web/native passes above.P2 — Preserve explicit file targets when concurrent additions collide. Full-record preservation also applies to file tabs whose IDs omit source revision and line range. Concurrent same-path additions before hydration can replace the locally requested source/line with the other client's record. Follow-up: limit full-record preservation to Browser collisions. Done when a concurrent file-addition regression retains the local source/line while Browser metadata, native target, and replacement-position coverage remains green. Recorded as follow-up; no P2 implementation added.
Two Slim PR passes retained the existing replacement primitive and three distinct regression seams: plugin reopening/title refresh, Browser caller routing, and native registration during persistence. Before → after: production +12/−7 → +12/−7; tests +161/−0 → +161/−0; generated 0 → 0. No code changed during these passes.
The native state remained stable at 3s, 6s, and after reload. The web fixture produced no uncaught page exceptions; workspace-status requests returned the fixture's
environment_not_ready(409).Fixes #4411
BB-Thread-ID: thr_nfkgm9d3ui