Skip to content

fix(browser): keep isolated profile storage on its partition - #6958

Merged
nwparker merged 8 commits into
stablyai:mainfrom
rodboev:pr/isolated-browser-storage
Jul 3, 2026
Merged

nwparker merged 8 commits into
stablyai:mainfrom
rodboev:pr/isolated-browser-storage

Conversation

@rodboev

@rodboev rodboev commented Jun 30, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #6923

Description

Isolated browser session profiles were not actually isolating web storage: cookies and localStorage could be shared with the default session because an unresolved/"invalid" profile silently downgraded into the shared default Electron partition (ORCA_BROWSER_PARTITION).

Two independent paths caused the downgrade:

  1. CLI / runtime tab creation. browserTabCreate resolved the partition through a lookup that fell back to the shared default for any unknown profileId, so a stale or bad profile id produced a tab that silently wrote into shared storage.
  2. Renderer restore. The webview partition was derived from the renderer's browserSessionProfiles mirror (sessionProfile?.partition ?? ORCA_BROWSER_PARTITION). At startup that mirror can be empty/stale, so a restored isolated tab attached to the default partition until (if ever) the mirror hydrated.

This PR makes the resolved partition authoritative and durable:

  • Adds browserSessionRegistry.resolveKnownPartition() which returns null for an unknown profile instead of the shared default. browserTabCreate now rejects an unknown explicit profileId (invalid_argument) rather than downgrading it.
  • Threads the resolved sessionPartition from main through tab creation, tab duplication, and profile switches, and persists it on BrowserWorkspace.
  • Adds sessionPartition to the workspace-session zod schema so it survives persist→restore (zod strips unlisted keys — without this the persisted partition was dropped on load and the leak reopened across restarts).
  • Uses the persisted sessionPartition as the primary source for the webview partition (sessionPartition ?? sessionProfile?.partition ?? ORCA_BROWSER_PARTITION), so a stale renderer profile mirror can no longer strand an isolated tab on the shared partition.
  • Consolidates the three "duplicate browser tab" call sites onto a shared buildDuplicatedBrowserTabOptions helper so a duplicated isolated tab keeps its partition.

The security boundary is unchanged: will-attach-webview still fails closed via browserSessionRegistry.isAllowedPartition() (the registry is the sole authority), partition names remain persist:orca-browser-session-<uuid> from randomUUID(), and the persisted-profile validator (PARTITION_RE) still gates deserialized partitions. A persisted sessionPartition that isn't in the registry allowlist cannot attach a guest.

Evidence

  • Reproduction (before/after): a focused unit repro of the partition-resolution path fails on origin/main (a CLI-created isolated tab whose renderer mirror is stale resolves to persist:orca-browser — the shared default) and passes on this branch (resolves to the profile's own partition). Evidence captured in validation-evidence/pr6958-repro-{BEFORE-origin-main,AFTER-pr-branch}.txt.
  • Restore regression test: workspace-session-schema test asserts a persisted sessionPartition survives parseWorkspaceSession hydration (guards the zod-strip regression).
  • Main-side tests: orca-runtime-browser tests assert the resolved isolated partition is sent on create, unknown explicit profile ids are rejected before a renderer request, and the resolved partition is sent on profile switch.
  • Full affected suite green (160 tests), pnpm run typecheck clean, lint clean.

ELI5

Think of browser profiles as separate lockers. The bug was: if the app couldn't immediately find your named locker, it quietly dumped your stuff into the shared hallway locker that everyone uses — so your "private" cookies mixed with the shared session. This change makes the app remember exactly which locker each tab belongs to (and refuse to open a tab for a locker that doesn't exist), instead of silently falling back to the shared one.

Trade-offs

  • Migration / previously-leaked storage (please review). Any storage that leaked into the shared default partition while the bug was live stays in the default partition; it is not migrated into the now-correctly-resolved isolated partition. So an isolated tab that had (incorrectly) accumulated cookies/logins in the shared partition will appear "logged out" after upgrading, because it now reads its real isolated storage. The leaked data is not deleted — it remains in the default partition and is still visible to default (non-isolated) tabs — and the effect is a one-time re-login. There is no clean automatic migration: shared-bucket cookies can't be attributed back to a specific isolated profile, and auto-copying them into the isolated partition would re-introduce the very leak this fixes. This is inherent to fixing an isolation leak; the alternative is to keep leaking. Flagging explicitly so a maintainer can decide whether to ship a user-facing migration/heads-up notice.
  • Second persisted field. sessionPartition is deterministically derivable from sessionProfileId, so persisting it is technically redundant state that could drift. It is persisted deliberately because the renderer's profile mirror is async-hydrated and can be stale at exactly the moment a restored tab needs its partition. All write paths (create, duplicate, switch) set both fields together.
  • CLI default-profile inheritance preserved. browser tab create without --profile continues to inherit the user's configured default browser session profile (it leaves sessionProfileId/sessionPartition unset so the renderer applies inheritance); only an explicit --profile threads an authoritative partition. This keeps the fix scoped to Browser profiles do not isolate web storage (localStorage + cookies shared across --scope isolated) #6923 and avoids changing unrelated CLI semantics.

@ghost

ghost commented Jun 30, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Jun 30, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

This PR adds browser session partition handling tied to profile ids. The main process now resolves partitions from the browser session registry and includes them in runtime tab creation, profile switching, cloning, and preload IPC payloads. The renderer stores and forwards sessionPartition through browser state, duplication flows, browser pane rendering, and webview lifecycle management. Tests were added or updated across the affected registry, runtime, store, component, and IPC paths.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ⚠️ Warning The description is informative, but it does not follow the required template sections or include screenshots, testing, review, audit, or notes. Rewrite the PR description to use the repo template and fill in Summary, Screenshots, Testing, AI Review Report, Security Audit, and Notes.
✅ Passed checks (3 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The changes address #6923 by preserving and enforcing the correct session partition for isolated profiles instead of falling back to the default partition.
Out of Scope Changes check ✅ Passed The diff stays focused on session-partition propagation, persistence, and related tests, with no clear unrelated changes.
Title check ✅ Passed The title matches the core change: preserving isolated browser storage on its partition.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
src/renderer/src/store/slices/browser.ts (1)

1697-1718: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Pass sessionPartition to switchBrowserTabProfile in src/renderer/src/components/browser-pane/BrowserToolbarMenu.tsx (both switch flows). Both calls omit the third arg, so the store coerces it to null and can wipe the tab’s existing partition, breaking profile isolation.

src/preload/api-types.ts (1)

2528-2545: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Make the partition fields required in the preload contract.

Lines 2533-2545 still advertise sessionProfileId/sessionPartition as optional, but src/main/runtime/orca-runtime-browser.ts now always sends them. Leaving them optional keeps the old undefined path alive in renderer code, which is exactly the fallback that can put a tab back on the wrong storage partition. Please tighten this type, and mirror the same change in src/preload/index.ts.

Suggested type change
     onRequestTabCreate: (
       callback: (data: {
         requestId: string
         url: string
         worktreeId?: string
-        sessionProfileId?: string | null
-        sessionPartition?: string
+        sessionProfileId: string | null
+        sessionPartition: string
         activate?: boolean
       }) => void
     ) => () => void
@@
     onRequestTabSetProfile: (
       callback: (data: {
         requestId: string
         browserPageId: string
         profileId: string
-        sessionPartition?: string
+        sessionPartition: string
       }) => void
     ) => () => void
🧹 Nitpick comments (4)
src/renderer/src/components/browser-pane/browser-page-webview.ts (1)

58-60: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Use a shared color token here.

#ffffff introduces a new renderer color in src/renderer/src, which bypasses the token/style-guide contract for UI surfaces. Please switch this background to a documented token/constant from src/renderer/src/assets/main.css instead of a raw hex value.

As per coding guidelines, src/renderer/src/**/*.{ts,tsx,css}: "Never invent new color values, font sizes, or shadow tiers when a documented one in STYLEGUIDE.md already covers the role" and src/renderer/src/**/*.{ts,tsx}: "All UI work ... must follow docs/STYLEGUIDE.md and use tokens defined in src/renderer/src/assets/main.css".

Source: Coding guidelines

src/renderer/src/components/browser-pane/BrowserPane.tsx (1)

2815-2818: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Document why the resolved partition wins over the renderer profile mirror.

This precedence is carrying the storage-isolation invariant from the PR, but the line reads like a simple fallback chain. Please add a short Why: comment so it stays clear that sessionPartition must override sessionProfile?.partition when the renderer mirror is stale.

As per coding guidelines, **/*.{ts,tsx,js,jsx}: "When writing or modifying code driven by a design doc or non-obvious constraint, add a comment explaining why the code behaves the way it does."

Source: Coding guidelines

src/renderer/src/store/slices/browser.ts (1)

326-350: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Consider an options object for buildWorkspaceFromPage.

The helper now takes 6 positional parameters, two of which (sessionProfileId, sessionPartition) were added in this PR: function buildWorkspaceFromPage(\n id: string,\n worktreeId: string,\n page: BrowserPage,\n pageIds: string[],\n sessionProfileId?: string | null,\n sessionPartition?: string | null\n): BrowserWorkspace { Its only caller (createBrowserTab) already has an options bag available; passing a { sessionProfileId, sessionPartition } object instead of two more trailing optional positionals would reduce the risk of param-order mistakes as the field count grows further.

♻️ Proposed refactor sketch
-function buildWorkspaceFromPage(
-  id: string,
-  worktreeId: string,
-  page: BrowserPage,
-  pageIds: string[],
-  sessionProfileId?: string | null,
-  sessionPartition?: string | null
-): BrowserWorkspace {
+function buildWorkspaceFromPage(
+  id: string,
+  worktreeId: string,
+  page: BrowserPage,
+  pageIds: string[],
+  session?: { sessionProfileId?: string | null; sessionPartition?: string | null }
+): BrowserWorkspace {
   return {
     id,
     worktreeId,
-    sessionProfileId: sessionProfileId ?? null,
-    sessionPartition: sessionPartition ?? null,
+    sessionProfileId: session?.sessionProfileId ?? null,
+    sessionPartition: session?.sessionPartition ?? null,
src/main/runtime/orca-runtime-browser.ts (1)

1338-1344: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Add a short why-comment for the strict profile rejection.

This branch intentionally changed from “fallback to default partition” to “hard-fail”. A one-line why note here would make the storage-isolation constraint obvious and reduce the chance of someone switching this back to resolvePartition() later. As per coding guidelines, "When writing or modifying code driven by a design doc or non-obvious constraint, add a comment explaining why the code behaves the way it does."

Source: Coding guidelines


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 709dee0f-7656-464a-8bf4-4e1098495be5

📥 Commits

Reviewing files that changed from the base of the PR and between 043731e and 0ef83cf.

📒 Files selected for processing (19)
  • src/main/browser/browser-session-registry.test.ts
  • src/main/browser/browser-session-registry.ts
  • src/main/runtime/orca-runtime-browser.test.ts
  • src/main/runtime/orca-runtime-browser.ts
  • src/preload/api-types.ts
  • src/preload/index.ts
  • src/renderer/src/components/Terminal.tsx
  • src/renderer/src/components/browser-pane/BrowserPane.tsx
  • src/renderer/src/components/browser-pane/BrowserPane.webview-preferences.test.ts
  • src/renderer/src/components/browser-pane/browser-page-webview.ts
  • src/renderer/src/components/floating-terminal/FloatingTerminalPanel.test.tsx
  • src/renderer/src/components/floating-terminal/FloatingTerminalPanel.tsx
  • src/renderer/src/components/tab-group/useTabGroupWorkspaceModel.focus.test.ts
  • src/renderer/src/components/tab-group/useTabGroupWorkspaceModel.ts
  • src/renderer/src/hooks/useIpcEvents.ts
  • src/renderer/src/lib/duplicate-browser-tab-options.ts
  • src/renderer/src/store/slices/browser.test.ts
  • src/renderer/src/store/slices/browser.ts
  • src/shared/types.ts

Comment on lines +329 to +333
resolveKnownPartition(profileId: string | null | undefined): string | null {
if (!profileId) {
return ORCA_BROWSER_PARTITION
}
return this.profiles.get(profileId)?.partition ?? null

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

Don't treat '' as the default browser profile.

Line 330 uses a falsy check, so an explicit empty-string profile id resolves to the default partition instead of being rejected. That reopens the default-storage fallback this PR is trying to eliminate for invalid profile ids.

Suggested fix
   resolveKnownPartition(profileId: string | null | undefined): string | null {
-    if (!profileId) {
+    if (profileId == null) {
       return ORCA_BROWSER_PARTITION
     }
     return this.profiles.get(profileId)?.partition ?? null
   }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
resolveKnownPartition(profileId: string | null | undefined): string | null {
if (!profileId) {
return ORCA_BROWSER_PARTITION
}
return this.profiles.get(profileId)?.partition ?? null
resolveKnownPartition(profileId: string | null | undefined): string | null {
if (profileId == null) {
return ORCA_BROWSER_PARTITION
}
return this.profiles.get(profileId)?.partition ?? null
}

nwparker and others added 6 commits July 3, 2026 13:05
Keep the isolated-storage invariant universal: UI-initiated profile
switch/create now persist the resolved partition alongside the profile
id, matching the runtime path, so a tab stays on its partition even if
the renderer profile mirror is later stale (issue stablyai#6923).

Co-authored-by: Orca <[email protected]>
Add sessionPartition to the workspace-session zod schema so the resolved
partition survives persist->load; without it zod strips the field and a
restored isolated tab whose profile mirror is stale at startup falls back
to the shared default partition, reopening the storage leak (stablyai#6923).

Fold the webview teardown branches (parent drift or partition mismatch)
into one and re-resolve the viewport container once, matching the
pre-refactor null-guard behavior.

Split the sleeping-agent parse tests into their own file to keep both
under the 800-line cap.

Co-authored-by: Orca <[email protected]>
browserTabCreate without an explicit profile was sending sessionProfileId:
null, which the renderer store treats as 'no inheritance' (its guard is
!== undefined). That forced CLI-created tabs onto the shared default
partition even when the user had configured a default browser session
profile, silently changing behavior a stablyai#6923 fix should not touch.

Leave sessionProfileId/sessionPartition undefined when no profile is named
so the renderer applies default-profile inheritance; thread the resolved
partition only when a profile is explicitly chosen.

Co-authored-by: Orca <[email protected]>
@nwparker

nwparker commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Picked this up for staff review and finishing. Summary of what I verified and added, plus one decision I'm deliberately leaving to a maintainer before merge.

Security re-screen (hostile eye): clean. Partition names are persist:orca-browser-session-<uuid> from randomUUID() — no injection surface. will-attach-webview still fails closed via browserSessionRegistry.isAllowedPartition() (registry is the sole authority), so a tampered persisted sessionPartition cannot attach a guest. PARTITION_RE still validates deserialized profiles. The change strengthens isolation (rejects unknown profiles instead of downgrading to the shared partition); nothing weakens it. No dep/CI/postinstall/exfiltration changes.

Validity: confirmed. The leak is real and present on origin/main: a focused repro of the partition-resolution path resolves a CLI-created isolated tab (stale renderer mirror) to persist:orca-browser (the shared default) on main, and to the profile's own partition on this branch. Before/after captured under validation-evidence/pr6958-*.

What I added on top of @rodboev's work:

  • sessionPartition added to the workspace-session zod schema + a hydration regression test — without it zod silently stripped the persisted partition on restore, reopening the leak across restarts.
  • Fixed a scope regression: browser tab create without --profile was sending sessionProfileId: null, which suppressed the renderer's default-profile inheritance (its guard is !== undefined) and forced the shared partition. Restored inheritance for the no-profile path; explicit --profile still threads an authoritative partition.
  • Split the sleeping-agent parse tests into their own file to stay under the 800-line cap (no max-lines disable).
  • Merged current main (picks up the #7263 typecheck fix).

Verification: affected suite green (160 tests), pnpm run typecheck clean, lint clean.

Not merging yet — one decision for a maintainer (data migration). Storage that leaked into the shared default partition while the bug was live is not migrated into the now-correctly-resolved isolated partition. Net effect: an isolated tab that had accumulated cookies/logins in the shared partition appears "logged out" once (its real isolated storage is now used). The leaked data is not deleted — it stays in the default partition, still visible to default tabs. There's no clean automatic migration (shared-bucket cookies can't be attributed to a profile; auto-copying would re-leak). My read is this is inherent and acceptable for an isolation fix, but I'd like a maintainer to decide whether to ship a user-facing heads-up before this merges. Details in the updated PR description's Trade-offs.

Thanks @rodboev — the core approach is solid and well-tested; this is genuinely close.

@nwparker
nwparker merged commit 42de074 into stablyai:main Jul 3, 2026
@nwparker

nwparker commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Merged — this passed our review bar. @rodboev thanks for the contribution! We validated the cross-profile storage leak against current main, confirmed the fix strengthens isolation (rejects unknown profiles instead of downgrading to the shared partition), persisted the resolved partition through the zod schema so it survives restart, and fixed a CLI regression where browser tab create without --profile was forcing the shared partition.

One migration note for users: storage that leaked into the shared default partition while this bug was live is not migrated into the now-correctly-resolved isolated partition. Net effect: an isolated tab that had accumulated logins in the shared partition will appear logged out once (the data is not deleted — it remains in the default partition, still visible to default tabs). This is inherent, one-time, and non-destructive; there is no clean automatic migration because shared-bucket cookies can't be attributed back to a specific profile without re-leaking them.

@nwparker

nwparker commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Thank you, @rodboev — this is an important one. Quietly downgrading an invalid profile to the shared partition meant cookies and storage could bleed across profiles, and your fix makes isolation fail-closed instead. I genuinely appreciate you strengthening the privacy story here. Merged (with a heads-up in the notes about a one-time re-login for tabs that were affected while the bug was live).

@nwparker

nwparker commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Rod, thank you again 🙏 This is a real privacy fix — profiles silently sharing storage is the kind of thing that erodes trust quietly. Strengthening isolation instead of papering over it was the right call. Seriously appreciate the care here. 🐋

nwparker added a commit that referenced this pull request Jul 4, 2026
…fix garbled comments (#7322)

Quality pass on renderer/shared PRs merged 2026-07-03:

- WorktreeTitleInlineRename: skip the truncation measure + ResizeObserver in `wrapTitle`
  mode, where wrapped titles never truncate — it could only churn unused state (#7307).
- editor slice: reuse the `removeEditorStateForReplacedPreview` helper this PR added
  instead of a hand-rolled copy of the same six-field eviction (drops ~50 lines) (#6476).
- useFileExplorerTree: extract `readWorktreeDirectory` so the connectionId/settings
  assembly for `readRuntimeDirectory` lives in one place, not three (#6321).
- comment-markdown-github-attachment-media: extract a shared `AttachmentFallbackLink`
  for the image/video error-fallback link (#6759).
- repository-icon-github: fold the two near-identical live resolvers into one
  parameterized `resolveRepositoryIdentityLive`; trim a 3-line comment to 2 (#6507).
- resource-usage-open-slices: delete the `shouldReadPopoverSlices` identity wrapper and
  inline `open` at the four call sites (#7275).
- BrowserPane: drop the pointerEvents assignment already applied inside
  `ensureBrowserPageWebview` for the reused-webview path (#6958).
- github slice: fix two garbled "…a commit main confirmed…" comments (#7277).
- runtime-file-client: trim the binary-file fallback comment to its whys (#6606).
- composer-branch-selection: drop the inline comment that restated the JSDoc (#6748).
- TabBarQuickCommandsButton: correct the stale "+ Command" comment (button shows no +).

No behavior change (the editor-helper reuse is behavior-equivalent, only more
conservative on an edge case); typecheck, oxlint, react-doctor, oxfmt, and touched
unit suites all pass.
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…i#6958)

* fix(browser): keep isolated profile storage on its partition

* fix(browser): keep cloned isolated tabs on their resolved partition

* fix(browser): thread resolved partition through UI profile switches

Keep the isolated-storage invariant universal: UI-initiated profile
switch/create now persist the resolved partition alongside the profile
id, matching the runtime path, so a tab stays on its partition even if
the renderer profile mirror is later stale (issue stablyai#6923).

Co-authored-by: Orca <[email protected]>

* fix(browser): persist resolved partition through session restore

Add sessionPartition to the workspace-session zod schema so the resolved
partition survives persist->load; without it zod strips the field and a
restored isolated tab whose profile mirror is stale at startup falls back
to the shared default partition, reopening the storage leak (stablyai#6923).

Fold the webview teardown branches (parent drift or partition mismatch)
into one and re-resolve the viewport container once, matching the
pre-refactor null-guard behavior.

Split the sleeping-agent parse tests into their own file to keep both
under the 800-line cap.

Co-authored-by: Orca <[email protected]>

* fix(browser): keep CLI-created tabs inheriting the default profile

browserTabCreate without an explicit profile was sending sessionProfileId:
null, which the renderer store treats as 'no inheritance' (its guard is
!== undefined). That forced CLI-created tabs onto the shared default
partition even when the user had configured a default browser session
profile, silently changing behavior a stablyai#6923 fix should not touch.

Leave sessionProfileId/sessionPartition undefined when no profile is named
so the renderer applies default-profile inheritance; thread the resolved
partition only when a profile is explicitly chosen.

Co-authored-by: Orca <[email protected]>

---------

Co-authored-by: Neil <[email protected]>
Co-authored-by: Orca <[email protected]>
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…fix garbled comments (stablyai#7322)

Quality pass on renderer/shared PRs merged 2026-07-03:

- WorktreeTitleInlineRename: skip the truncation measure + ResizeObserver in `wrapTitle`
  mode, where wrapped titles never truncate — it could only churn unused state (stablyai#7307).
- editor slice: reuse the `removeEditorStateForReplacedPreview` helper this PR added
  instead of a hand-rolled copy of the same six-field eviction (drops ~50 lines) (stablyai#6476).
- useFileExplorerTree: extract `readWorktreeDirectory` so the connectionId/settings
  assembly for `readRuntimeDirectory` lives in one place, not three (stablyai#6321).
- comment-markdown-github-attachment-media: extract a shared `AttachmentFallbackLink`
  for the image/video error-fallback link (stablyai#6759).
- repository-icon-github: fold the two near-identical live resolvers into one
  parameterized `resolveRepositoryIdentityLive`; trim a 3-line comment to 2 (stablyai#6507).
- resource-usage-open-slices: delete the `shouldReadPopoverSlices` identity wrapper and
  inline `open` at the four call sites (stablyai#7275).
- BrowserPane: drop the pointerEvents assignment already applied inside
  `ensureBrowserPageWebview` for the reused-webview path (stablyai#6958).
- github slice: fix two garbled "…a commit main confirmed…" comments (stablyai#7277).
- runtime-file-client: trim the binary-file fallback comment to its whys (stablyai#6606).
- composer-branch-selection: drop the inline comment that restated the JSDoc (stablyai#6748).
- TabBarQuickCommandsButton: correct the stale "+ Command" comment (button shows no +).

No behavior change (the editor-helper reuse is behavior-equivalent, only more
conservative on an edge case); typecheck, oxlint, react-doctor, oxfmt, and touched
unit suites all pass.
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.

Browser profiles do not isolate web storage (localStorage + cookies shared across --scope isolated)

3 participants