Skip to content

refactor(browser): organize automation, cookies and session policy owners - #40002

Merged
nwparker merged 5 commits into
mainfrom
module-layout-v2/agent-browser-owners-5a28
Nov 9, 2026
Merged

nwparker merged 5 commits into
mainfrom
module-layout-v2/agent-browser-owners-5a28

Conversation

@nwparker

@nwparker nwparker commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Browser automation and session policy imports currently pass through mixed modules and cookie forwarding functions. Organize automation, cookie storage/import policy, session profiles, identity, display and permissions around their concrete defining owners. Update consumers, mocks, generated fixture entries and active metadata; remove four forwarding functions, three mixed cookie modules and two transparent type aliases. This combines the automation and cookie/session batches into one 243-file PR.

Keep registry/class singletons, mutation locks, listener identity, permission ordering and existing test assertions intact. Update the cookie fixtures to their real registry/permission owners, and load real historical dependency bodies in the startup metadata benchmark.

Validation:

  • Post-rebase all-project typecheck, changed-code quality and flaky-pattern baseline passed.
  • All 67 directly changed test suites passed: 175 cases, including hidden Electron fixtures.
  • Original startup metadata benchmark baseline passed with unchanged read/profile/extension-assignment assertions.
  • All 33 non-unit checks passed before the exact source-preserving rebase. The broad local related-test selection was intentionally stopped after 516 seconds; it is not a pass. Full CI unit coverage is required before merge.
  • Two independent implementation audits and publication-carry supplements passed. Both auditors also accepted the final five-file type-owner correction.
  • Final correction: all 23 incremental checks passed, including selected unit tests. Complete emitted runtime JavaScript matches the preceding commit after stripping comments.
  • Full workflow 42536642138 passed at a3b83, including all 12 unit shards, changed E2E, both managed SSH shards, Windows and the required aggregate. Attempt 1 ended with a native watcher cleanup error after shard 6 cases passed; the failed-only retry passed.
  • The earlier SSH pairing-repair assertion did not reproduce in matched focused main/branch controls (3/3 each) or the current full E2E run. No test was weakened; its original cause remains unproven.
  • Current-main integration proof preserves all 87 incoming endpoints and all 318 authored endpoints; the sole metadata contact is an exact disjoint row union.

Rebased onto the actual squash of #39996; all upstream additions and test removals are preserved.

Files Added Deleted Net
Test 67 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​218 $\color{#cf222e}{\Huge{\mathbf{−}}}$​184 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​34
Prod 176 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2051 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2013 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​38

@nwparker
nwparker force-pushed the module-layout-v2/browser-guest-owners-65412 branch from 5a28a6a to 5218d38 Compare November 8, 2026 22:39
@nwparker
nwparker force-pushed the module-layout-v2/agent-browser-owners-5a28 branch from 4fed94c to 91311d1 Compare November 8, 2026 22:42
@nwparker
nwparker force-pushed the module-layout-v2/browser-guest-owners-65412 branch from 5218d38 to 7777754 Compare November 8, 2026 22:51
@nwparker
nwparker force-pushed the module-layout-v2/agent-browser-owners-5a28 branch from 91311d1 to d221169 Compare November 8, 2026 23:30
@nwparker nwparker changed the title refactor(browser): organize agent-browser execution owners refactor(browser): organize automation, cookies and session policy owners Nov 8, 2026
@nwparker
nwparker changed the base branch from module-layout-v2/browser-guest-owners-65412 to main November 8, 2026 23:31
@nwparker
nwparker marked this pull request as ready for review November 8, 2026 23:31
@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request reorganizes browser-related modules and updates their consumers, tests, and configuration paths. It extracts Agent Browser operations, cookie-import behavior, session policies, permissions, and user-agent header handling into dedicated modules. It also updates benchmark dependency resolution and CI timing and reliability-gate references.

Merge Risk: Minimal · up to d2211

This refactor relocates browser modules and updates their consumers. No concrete behavioral regression was identified. Full CI unit coverage is still required before merge, as the author noted.

Pre-merge checks: Passed 3 · Failed 1 · Inconclusive 1

Failed Failed checks: 1 warning · 1 inconclusive

Check name Status Explanation Resolution
Description check Warning The description states the refactor's goal and lists extensive validation, including passing typecheck, changed-code quality checks, a flaky-pattern baseline, 67 directly changed test suites, a startu… Restructure the description to follow the repository template. Add an ELI5 section and a What Changed section that covers the before and after and the mechanism. Add a Why section that explains why concrete owners were chosen over the alter…
Docstring Coverage Inconclusive Docstring coverage is 16.67% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documenta… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title "refactor(browser): organize automation, cookies and session policy owners" matches the main change. The PR moves browser automation, cookie import and storage policy, session profiles, iden…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "refactor(browser): organize automation, cookies and session policy owners" matches the main change. The PR moves browser automation, cookie import and storage policy, session profiles, identity, display, and permissions modules to their defining owners, and removes forwarding modules. The title names the browser scope, the refactor type, and the main areas. It is concise and does not list files. It omits the removal of forwarding functions, which is a secondary detail.

Full details: Description check

Explanation

The description states the refactor's goal and lists extensive validation, including passing typecheck, changed-code quality checks, a flaky-pattern baseline, 67 directly changed test suites, a startup metadata benchmark, and a full CI workflow run. It also discloses a stopped local test selection that did not pass and an unexplained SSH pairing-repair assertion. However, it does not follow the required template: the ELI5, What Changed, Why (including alternatives considered), Linked Issue (the 'Fixes #' line is blank, and this is a maintainer-driven refactor), Visual Proof, Risk level and backout plan, AI Disclosure, Review, Agent skill upstream boundary checkbox, Notes, and Checklist sections are missing or unfilled. The Testing checklist boxes are unticked and the test anti-pattern check is not addressed. The Risk section, which the template requires to name the riskiest part and a backout plan, is absent. The description is mostly a validation log rather than the template's structure.

Resolution

Restructure the description to follow the repository template. Add an ELI5 section and a What Changed section that covers the before and after and the mechanism. Add a Why section that explains why concrete owners were chosen over the alternatives. Fill in the Linked Issue section, or state that no issue applies if the author is a maintainer. Add a Risk section with a level (Low, Medium, or High), the riskiest area (for example, the cookie import/clear path and the browser session registry import moves), the affected users, and a backout method. Note that a plain revert would not restore any deleted modules' consumers if commits are partially applied. Fill in the Testing checklist and state which platforms were tested (macOS, Linux, Windows, SSH). State whether the new tests fail without the change, and address the test anti-pattern guidance. Complete the Visual Proof section with N/A and a reason, or attach before and after evidence. Complete the Review, Agent skill upstream boundary, Notes, and Checklist sections. Keep the AI Disclosure section if the author used AI tools. Remove the PR body text about the 516-second run from the validation list or move it into Testing with a clear status. Also state the cause or the open status of the SSH pairing-repair assertion in the Risk section.

Full details: Docstring Coverage

Explanation

Docstring coverage is 16.67% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 12 functions across 50 files. (174 skipped: 5 unsupported, 169 over the file limit.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dbd3bcf5-ed37-40db-8716-5114218391f7
Commits

Reviewing files that changed from the base of the PR and between c50d4cd and d221169.

Files selected for processing: 240

  • config/flaky-test-pattern-baseline.txt
  • config/main-sync-fs-baseline.txt
  • config/process-host-direct-import-baseline.txt
  • config/reliability-gates.jsonc
  • config/scripts/ci/sharding/ci-shard-timings.json
  • config/scripts/performance/transport/browser-session-startup-metadata-benchmark.mjs
  • src/main/browser-passwords/browser-password-chromium-import.test.ts
  • src/main/browser-passwords/browser-password-chromium-import.ts
  • src/main/browser-passwords/browser-password-vault-access.ts
  • src/main/browser/agent-browser/agent-browser-bridge-process.ts
  • src/main/browser/agent-browser/agent-browser-bridge-state-commands.ts
  • src/main/browser/agent-browser/agent-browser-bridge-types.ts
  • src/main/browser/agent-browser/agent-browser-bridge.ts
  • src/main/browser/agent-browser/command-queue/agent-browser-bridge-action-effects.ts
  • src/main/browser/agent-browser/command-queue/agent-browser-bridge-expected-url.test.ts
  • src/main/browser/agent-browser/command-queue/agent-browser-bridge-host-revocation.test.ts
  • src/main/browser/agent-browser/command-queue/agent-browser-bridge-javascript-dialog.test.ts
  • src/main/browser/agent-browser/command-queue/agent-browser-bridge-queue.ts
  • src/main/browser/agent-browser/command-queue/agent-browser-dialog-errors.ts
  • src/main/browser/agent-browser/command-queue/agent-browser-queued-command.ts
  • src/main/browser/agent-browser/commands/agent-browser-bridge-capture-commands.ts
  • src/main/browser/agent-browser/commands/agent-browser-bridge-core-commands.ts
  • src/main/browser/agent-browser/commands/agent-browser-bridge-element-calls.ts
  • src/main/browser/agent-browser/commands/agent-browser-bridge-input-commands.ts
  • src/main/browser/agent-browser/commands/agent-browser-bridge-interaction-commands.ts
  • src/main/browser/agent-browser/commands/agent-browser-bridge-key-commands.ts
  • src/main/browser/agent-browser/commands/agent-browser-bridge-keypress-input.test.ts
  • src/main/browser/agent-browser/commands/agent-browser-bridge-mouse-commands.ts
  • src/main/browser/agent-browser/commands/agent-browser-bridge-navigation.test.ts
  • src/main/browser/agent-browser/commands/agent-browser-bridge-page-commands.ts
  • src/main/browser/agent-browser/commands/agent-browser-bridge-pointer-commands.ts
  • src/main/browser/agent-browser/commands/agent-browser-navigation-settle.ts
  • src/main/browser/agent-browser/helper-process/agent-browser-binary.ts
  • src/main/browser/agent-browser/helper-process/agent-browser-bridge-cdp-endpoint.test.ts
  • src/main/browser/agent-browser/helper-process/agent-browser-bridge-execution.ts
  • src/main/browser/agent-browser/helper-process/agent-browser-bridge-raw-process-retention.test.ts
  • src/main/browser/agent-browser/helper-process/agent-browser-bridge-raw-process.test.ts
  • src/main/browser/agent-browser/helper-process/agent-browser-bridge-raw-process.ts
  • src/main/browser/agent-browser/helper-process/agent-browser-command-errors.ts
  • src/main/browser/agent-browser/helper-process/agent-browser-dependency-binary.ts
  • src/main/browser/agent-browser/helper-process/agent-browser-exec-options.ts
  • src/main/browser/agent-browser/helper-process/agent-browser-process-environment.ts
  • src/main/browser/agent-browser/observation/agent-browser-action-effects.test.ts
  • src/main/browser/agent-browser/observation/agent-browser-action-effects.ts
  • src/main/browser/agent-browser/observation/agent-browser-log-entries.ts
  • src/main/browser/agent-browser/observation/agent-browser-screenshot-arguments.ts
  • src/main/browser/agent-browser/observation/agent-browser-snapshot-delta.ts
  • src/main/browser/agent-browser/protocol/agent-browser-batch-command.ts
  • src/main/browser/agent-browser/protocol/agent-browser-bridge-result.ts
  • src/main/browser/agent-browser/protocol/agent-browser-passthrough-arguments.ts
  • src/main/browser/agent-browser/protocol/agent-browser-set-media-arguments.ts
  • src/main/browser/agent-browser/protocol/agent-browser-snapshot-arguments.ts
  • src/main/browser/agent-browser/protocol/agent-browser-text-argument-budget.ts
  • src/main/browser/agent-browser/protocol/agent-browser-wait-arguments.ts
  • src/main/browser/agent-browser/session-lifecycle/agent-browser-bridge-lifecycle.ts
  • src/main/browser/agent-browser/session-lifecycle/agent-browser-bridge-shutdown.ts
  • src/main/browser/agent-browser/session-lifecycle/agent-browser-cleanup-options.ts
  • src/main/browser/agent-browser/session-lifecycle/agent-browser-orphan-sweep.test.ts
  • src/main/browser/agent-browser/session-lifecycle/agent-browser-orphan-sweep.ts
  • src/main/browser/agent-browser/session-lifecycle/agent-browser-session-name.ts
  • src/main/browser/agent-browser/session-lifecycle/agent-browser-session-reset.ts
  • src/main/browser/agent-browser/session-lifecycle/agent-browser-session-state.ts
  • src/main/browser/agent-browser/session-routing/agent-browser-bridge-state.ts
  • src/main/browser/agent-browser/session-routing/agent-browser-bridge-tab-routing.test.ts
  • src/main/browser/agent-browser/session-routing/agent-browser-bridge-tabs.ts
  • src/main/browser/agent-browser/session-routing/agent-browser-command-target.ts
  • src/main/browser/agent-browser/testing/agent-browser-bridge-test-harness.ts
  • src/main/browser/backends/offscreen-browser-backend-lifecycle.test.ts
  • src/main/browser/backends/offscreen-browser-backend.ts
  • src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-runtime.ts
  • src/main/browser/cookies/browser-cookie-clear-store-lifecycle.test.ts
  • src/main/browser/cookies/browser-cookie-clear-store.ts
  • src/main/browser/cookies/browser-cookie-identity-restore.ts
  • src/main/browser/cookies/browser-cookie-import-clear-atomicity.test.ts
  • src/main/browser/cookies/browser-cookie-import-clear.ts
  • src/main/browser/cookies/browser-cookie-import-concurrency.test.ts
  • src/main/browser/cookies/browser-cookie-import-partition-fidelity.test.ts
  • src/main/browser/cookies/browser-cookie-import-partition-reland.electron.test.ts
  • src/main/browser/cookies/browser-cookie-import-partition-rollback.electron.test.ts
  • src/main/browser/cookies/browser-cookie-import-partition.electron.test.ts
  • src/main/browser/cookies/browser-cookie-import-policy.ts
  • src/main/browser/cookies/browser-cookie-import-snapshot-ownership.test.ts
  • src/main/browser/cookies/browser-cookie-import-validated-partition.electron.test.ts
  • src/main/browser/cookies/browser-cookie-import-write.test.ts
  • src/main/browser/cookies/browser-cookie-import-write.ts
  • src/main/browser/cookies/browser-cookie-import.comet.test.ts
  • src/main/browser/cookies/browser-cookie-import.test.ts
  • src/main/browser/cookies/browser-cookie-import.ts
  • src/main/browser/cookies/browser-google-cookie-clear-target.test.ts
  • src/main/browser/cookies/browser-google-cookie-clear-target.ts
  • src/main/browser/cookies/browser-google-cookie-clear.electron.test.ts
  • src/main/browser/cookies/browser-google-cookie-clear.ts
  • src/main/browser/cookies/browser-partition-cookie-copy.ts
  • src/main/browser/cookies/chromium/finalize-import.ts
  • src/main/browser/cookies/chromium/import-context.ts
  • src/main/browser/cookies/chromium/import-cookies.ts
  • src/main/browser/cookies/chromium/prepare-import.ts
  • src/main/browser/cookies/chromium/scan-source-rows.ts
  • src/main/browser/cookies/client-route/browser-client-route-cookie-import.test.ts
  • src/main/browser/cookies/client-route/browser-client-route-cookie-import.ts
  • src/main/browser/cookies/imports/cookie-file-picker.ts
  • src/main/browser/cookies/imports/cookie-import-contracts.ts
  • src/main/browser/cookies/imports/import-cookie-file.ts
  • src/main/browser/cookies/imports/import-validated-cookies.ts
  • src/main/browser/cookies/mutation/cookie-mutation-lock.ts
  • src/main/browser/cookies/policy/cookie-domain.ts
  • src/main/browser/cookies/policy/cookie-import-exclusions.ts
  • src/main/browser/cookies/policy/cookie-import-scope.ts
  • src/main/browser/cookies/sources/browser-cookie-decryption.test.ts
  • src/main/browser/cookies/sources/browser-cookie-decryption.ts
  • src/main/browser/cookies/sources/browser-cookie-firefox-import.ts
  • src/main/browser/cookies/sources/browser-cookie-import-undecryptable.test.ts
  • src/main/browser/cookies/sources/browser-cookie-key.ts
  • src/main/browser/cookies/sources/browser-cookie-safari-import.ts
  • src/main/browser/cookies/sources/browser-cookie-source-partition.ts
  • src/main/browser/cookies/sources/browser-cookie-validation.ts
  • src/main/browser/cookies/sources/chromium-cookie-time.ts
  • src/main/browser/cookies/sources/chromium-encryption-key-contract.ts
  • src/main/browser/cookies/staging/browser-cookie-staged-import.ts
  • src/main/browser/cookies/staging/browser-session-cookie-staging.scoped.test.ts
  • src/main/browser/cookies/staging/browser-session-cookie-staging.test.ts
  • src/main/browser/cookies/staging/browser-session-cookie-staging.ts
  • src/main/browser/cookies/storage/browser-cookie-session-target.ts
  • src/main/browser/cookies/storage/cookie-removal-url.ts
  • src/main/browser/cookies/storage/cookie-store-contracts.ts
  • src/main/browser/document-preview/doc-preview-protocol.ts
  • src/main/browser/downloads/browser-session-download-policy.ts
  • src/main/browser/electron-fixtures/popup-identity-electron-probe.test.ts
  • src/main/browser/electron-fixtures/popup-identity-electron-probe.ts
  • src/main/browser/extensions/actions/browser-extension-toolbar-electron-fixture.ts
  • src/main/browser/extensions/actions/browser-extension-toolbar-pins.ts
  • src/main/browser/extensions/api-runtime/browser-extension-electron-fixture.ts
  • src/main/browser/extensions/api/management.test.ts
  • src/main/browser/extensions/api/management.ts
  • src/main/browser/extensions/browser-extension-management.test.ts
  • src/main/browser/extensions/browser-extension-management.ts
  • src/main/browser/extensions/browser-extension-startup.ts
  • src/main/browser/extensions/installation/browser-extension-webstore-install.test.ts
  • src/main/browser/extensions/installation/browser-extension-webstore-install.ts
  • src/main/browser/extensions/native-messaging/browser-extension-native-messaging-electron-fixture.ts
  • src/main/browser/extensions/permissions/browser-extension-permission-prompt.ts
  • src/main/browser/extensions/permissions/browser-extension-settings-prompt-lifetime.test.ts
  • src/main/browser/extensions/profile-sessions/browser-extension-lifecycle-electron-fixture.ts
  • src/main/browser/extensions/profile-sessions/browser-extension-profile-reload.test.ts
  • src/main/browser/extensions/profile-sessions/browser-extension-profile-reload.ts
  • src/main/browser/extensions/profile-sessions/browser-extension-session-services.test.ts
  • src/main/browser/extensions/profile-sessions/browser-extension-session-services.ts
  • src/main/browser/extensions/profile-storage/browser-extension-persistence-electron-fixture.ts
  • src/main/browser/extensions/web-store/browser-extension-webstore-events.ts
  • src/main/browser/extensions/web-store/browser-extension-webstore-service.ts
  • src/main/browser/guest-lifecycle/manager/browser-manager-state.ts
  • src/main/browser/guest-lifecycle/manager/navigation/browser-manager-navigation.ts
  • src/main/browser/guest-lifecycle/popups/compatibility/browser-popup-compatibility-cdp-fixture.ts
  • src/main/browser/identity/browser-google-auth-ua.ts
  • src/main/browser/identity/mode/browser-identity-mode-record.ts
  • src/main/browser/identity/mode/browser-identity-mode-store.test.ts
  • src/main/browser/identity/mode/browser-identity-mode-store.ts
  • src/main/browser/identity/mode/browser-retired-profile-identity-inspection.test.ts
  • src/main/browser/identity/mode/browser-retired-profile-identity-inspection.ts
  • src/main/browser/identity/requests/browser-session-ua.ts
  • src/main/browser/identity/requests/browser-user-agent-request-headers.ts
  • src/main/browser/identity/wire-probes/browser-session-ua-cdp-collector.ts
  • src/main/browser/identity/wire-probes/browser-session-ua-wire-identity-cross-context.electron.test.ts
  • src/main/browser/identity/wire-probes/browser-session-ua-wire-identity.electron.test.ts
  • src/main/browser/identity/wire-probes/browser-session-ua-wire-probe-server.ts
  • src/main/browser/routing/local-host-partitions/local-ssh-browser-partitions.ts
  • src/main/browser/routing/local-host-partitions/local-ssh-browser-profile-retirement.test.ts
  • src/main/browser/routing/partitions/browser-route-partition-storage-dependencies.test.ts
  • src/main/browser/routing/partitions/browser-route-partition-storage-dependencies.ts
  • src/main/browser/routing/sessions/browser-route-session-runtime.ts
  • src/main/browser/routing/sessions/browser-session-route-policies.ts
  • src/main/browser/sessions/browser-session-partition-policies.ts
  • src/main/browser/sessions/browser-session-persisted-profile-validation.ts
  • src/main/browser/sessions/browser-session-startup.ts
  • src/main/browser/sessions/partition-policies/browser-session-partition-policies.test.ts
  • src/main/browser/sessions/partition-policies/browser-session-partition-policies.ts
  • src/main/browser/sessions/partition-policies/browser-session-partition-proxy-install.test.ts
  • src/main/browser/sessions/profiles/browser-managed-session-profiles.ts
  • src/main/browser/sessions/profiles/browser-profile-owned-stores.ts
  • src/main/browser/sessions/profiles/browser-session-meta-store.test.ts
  • src/main/browser/sessions/profiles/browser-session-meta-store.ts
  • src/main/browser/sessions/profiles/browser-session-persisted-profile-validation.ts
  • src/main/browser/sessions/profiles/browser-session-profile-retirement.ts
  • src/main/browser/sessions/profiles/browser-session-registry-identity.persistence.test.ts
  • src/main/browser/sessions/profiles/browser-session-registry-persistence-test-fixture.ts
  • src/main/browser/sessions/profiles/browser-session-registry-startup-metadata.test.ts
  • src/main/browser/sessions/profiles/browser-session-registry.test.ts
  • src/main/browser/sessions/profiles/browser-session-registry.ts
  • src/main/browser/sessions/proxy/browser-session-proxy.test.ts
  • src/main/browser/sessions/proxy/browser-session-proxy.ts
  • src/main/browser/site-settings/browser-session-permission-policy.ts
  • src/main/browser/site-settings/display/browser-site-display-controller.test.ts
  • src/main/browser/site-settings/display/browser-site-display-controller.ts
  • src/main/browser/site-settings/display/browser-site-display-store.ts
  • src/main/browser/site-settings/permissions/browser-media-access.ts
  • src/main/browser/site-settings/permissions/browser-session-permission-handlers.ts
  • src/main/browser/site-settings/permissions/browser-session-permission-policy.ts
  • src/main/browser/site-settings/permissions/browser-site-permission-memory.ts
  • src/main/browser/site-settings/permissions/browser-site-permission-prompt.test.ts
  • src/main/browser/site-settings/permissions/browser-site-permission-prompt.ts
  • src/main/browser/site-settings/permissions/browser-site-permission-store.ts
  • src/main/browser/webauthn/browser-webauthn-profile-delete.test.ts
  • src/main/host/electron-browser-commands.ts
  • src/main/host/native-chat-visual-guest-theme.test.ts
  • src/main/host/native-chat-visual-guest-theme.ts
  • src/main/ipc/browser/browser-client-host-cookie-import-ipc.ts
  • src/main/ipc/browser/browser-guest-view-ipc.ts
  • src/main/ipc/browser/browser-passwords-ipc-request.ts
  • src/main/ipc/browser/browser-session-profile-ipc.test.ts
  • src/main/ipc/browser/browser-session-profile-ipc.ts
  • src/main/ipc/settings-delayed-response.test.ts
  • src/main/ipc/settings-ipc-test-fixture.ts
  • src/main/ipc/settings.ts
  • src/main/orcad/electron-serve-provider-selection.test.ts
  • src/main/orcad/external-chromium-browser-process.ts
  • src/main/orcad/external-chromium-browser-session.test.ts
  • src/main/orcad/external-chromium-browser-session.ts
  • src/main/orcad/external-chromium-command-arguments.ts
  • src/main/orcad/orcad-agent-browser-binary.ts
  • src/main/orcad/orcad-browser-provider.test.ts
  • src/main/persistence/moving-wsl-projects/wsl-move-browser-cookie-store.ts
  • src/main/runtime/browser/client-pages/orca-runtime-browser.test.ts
  • src/main/runtime/browser/commands/browser-dialogs.ts
  • src/main/runtime/browser/commands/browser-profiles.ts
  • src/main/runtime/browser/tabs/browser-tab-catalog.ts
  • src/main/runtime/browser/tabs/browser-tab-creation.ts
  • src/main/runtime/hosts/runtime-status.ts
  • src/main/runtime/rpc/methods/browser/browser-identity-rpc.ts
  • src/main/startup/browser-process-user-agent-ordering.test.ts
  • src/main/startup/main-process-preflight.ts
  • src/main/startup/main-process-quit-pending-writer.test.ts
  • src/main/startup/main-process-quit-update-veto.test.ts
  • src/main/startup/main-process-ready-foundation.ts
  • src/main/startup/main-process-ready-identity-write.test.ts
  • src/main/startup/main-process-runtime-launch-activation.test.ts
  • src/main/startup/main-process-runtime-launch.ts
  • src/main/startup/main-process-runtime-service.ts
  • src/main/window/attach-main-window-services.ts
  • src/main/window/main-window-webview-security.ts
  • src/shared/browser-cookie-import-sources.ts
Files with no reviewable changes: 9

  • src/main/browser/cookies/browser-cookie-import-policy.ts
  • src/main/browser/agent-browser/agent-browser-bridge-state-commands.ts
  • src/main/browser/cookies/sources/chromium-cookie-time.ts
  • src/main/browser/sessions/browser-session-partition-policies.ts
  • src/main/browser/sessions/browser-session-persisted-profile-validation.ts
  • src/main/browser/identity/browser-google-auth-ua.ts
  • src/main/browser/site-settings/browser-session-permission-policy.ts
  • src/main/browser/agent-browser/agent-browser-bridge-process.ts
  • src/main/browser/agent-browser/agent-browser-bridge-types.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

@nwparker
nwparker merged commit 51fcb15 into main Nov 9, 2026
104 of 106 checks passed
AmoabaKelvin added a commit that referenced this pull request Nov 9, 2026
#40002 moved browser-session-registry into sessions/profiles, and #39613 landed after it with the old path, so main no longer typechecks or builds.
AmoabaKelvin added a commit that referenced this pull request Nov 9, 2026
…tron fixture (#40074)

* fix(browser): import the session registry from its new profiles folder

#40002 moved browser-session-registry into sessions/profiles, and #39613 landed after it with the old path, so main no longer typechecks or builds.

* fix(test): keep the popup Electron fixture in its own worker

#40067 lets unit files share a worker's module cache. The popup compatibility fixture keeps its Electron app, mock server and temp root at module level, so after the first file the others reuse a closed browser.
chenzhaoxuan0 added a commit to chenzhaoxuan0/orca that referenced this pull request Nov 9, 2026
…on registry

Upstream stablyai#40002 moved browser-session-registry.ts into sessions/profiles/
but left these two imports on the old path, breaking typecheck and the
test's mock. Fork-local fix until upstream repairs its main.
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