Skip to content

fix(browser): keep remote browsers usable across mixed versions - #14987

Closed
Jinwoo-H wants to merge 36 commits into
mainfrom
aug16-sta4525-remote-browser-mixed-version-create
Closed

Jinwoo-H wants to merge 36 commits into
mainfrom
aug16-sta4525-remote-browser-mixed-version-create

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 31 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2989 $\color{#cf222e}{\Huge{\mathbf{−}}}$​172 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2817
Prod 45 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2280 $\color{#cf222e}{\Huge{\mathbf{−}}}$​404 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1876

Summary

  • Keeps remotely owned browser creation on the authoritative host across new-client/old-host publication races.
  • Keeps click, wheel, keyboard, history, reconnect, and cleanup usable when the paired host lacks newer direct-input/history behavior.
  • Rejects malformed legacy captures, renegotiates a complete aspect-matched viewport once, and preserves remote ownership; no local fallback is introduced.
  • Cancels pending remote work across native IPC, shared-control/dedicated transports, and web child WebSockets when a pane is replaced or aborted.

Linear: STA-4525
GitHub: #14883

Root cause and authority boundary

The missing browser.tab-create-known-id.v1 capability identified the affected legacy creation path but was not the sole root cause. The old Windows host could publish a host-generated page ID after the client's first snapshot, route input through a queue that could wedge, and emit a cropped headed capture. Windows owns browser creation, page inventory, capture, and publication; the Mac only sends intent and mirrors that state.

What this PR changes

  • Adds bounded, owner-fenced reconciliation for old-host page publication.
  • Gates direct CDP input/history behind optional capabilities; legacy peers use safe eval fallbacks.
  • Fences stream generations, first-frame recovery, viewport renegotiation, retries, reconnect, replacement, and teardown.
  • Cancels cold compatibility probes per caller without cancelling the shared probe.
  • Exposes pending subscription handles before IPC/WebSocket admission and closes them idempotently.
  • Rejects invalid capture bytes and keeps aspect/viewport metadata authoritative.

No new stream opcode, required wire field, unnegotiated RPC parameter, client-hosted browser, or local fallback is added. Old clients/new hosts remain safe, and new clients/old hosts use old-decoder-safe operations.

Deterministic oracle and evidence

  • The headed paired-runtime oracle forces the legacy host-generated-ID path and independently checks Windows inventory/process state plus Mac transport epoch, capabilities, store/toast state, and visible rendering. Baseline/fix-disabled is red; candidate is green after bounded reconciliation.
  • Legacy-input and viewport oracles hide direct capabilities, exercise click/wheel/keyboard/history/reconnect, and assert no queue poisoning or local fallback.
  • The exact-head reliability command on behavioral commit c6016e2963 passed 98 tests; the current source suite on a716c4deb9 passes 1,458 tests with 1 skipped.
  • Physical headed proof used the current Mac Electron client paired to unchanged physical windows 2 (1.4.184, no known-ID capability) with a Windows-owned workspace: New Browser Tab → Example Domain → Learn more → Back, input/navigation/reload, close/reopen, and host inventory all stayed remote. The corrected capture was aspect-matched; no reconnect/toast failure, local browser, or stale host page remained. This is manual evidence and is explicitly not counted as replayable Windows CI coverage.

Validation

  • Focused source suite: 29 files, 1,458 passed, 1 skipped.
  • Headless paired-runtime reconnect/legacy-input journeys passed; headed Mac↔physical Windows journey passed as documented above.
  • pnpm run typecheck: passed.
  • pnpm run lint: passed, including reliability manifest (86 gates), max-lines ratchet, native/type-aware audits, localization, and skill-manifest checks.
  • Commit hooks, formatting, and git diff --check: passed.
  • CI for HEAD a716c4deb9 has one unrelated shard failure: folder-workspace-owner-routed-mutations.test.ts fails on both Node 24/26 reruns with resolveRuntimeUpdate undefined; 42 other jobs passed. Browser-focused validation remains green, and the PR stays draft pending an unrelated CI rerun/triage.

Review and status

PR #14987 is open and remains draft; do not merge. Three independent gpt-5.6-luna reviews are clean on the behavioral head: correctness, wire compatibility, and lifecycle/resource cleanup/reproduction. CodeRabbit findings were validated: the actionable cancellation gaps are fixed; the other comments were already resolved in current code or were stale/irrelevant to the active lint and capability-gating contracts.

Downsides / risks

  • An ambiguous old-host browser.tabCreate timeout cannot be made idempotent by the new client alone; unsafe inventory guessing is intentionally avoided.
  • Unchanged old headed hosts may remain limited to a softer, bounded capture width; aspect correction prevents stretching but cannot create missing pixels.
  • Publication reconciliation and bounded retries can delay a hard failure by roughly 1–2 seconds.
  • Drag remains unavailable until old hosts support the direct-input capability; failing fast is safer than wedging the page queue.
  • Manual physical Windows evidence is not a durable CI gate yet; Linux/Windows replayable coverage remains follow-up work.

@Jinwoo-H
Jinwoo-H marked this pull request as ready for review August 17, 2026 02:16
@coderabbitai

coderabbitai Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

This change adds host-generated browser-page publication waiting, bounded refresh retries, pairing-revision validation, and publication fault injection. It adds direct CDP mouse, wheel, keyboard, and history operations with legacy fallbacks. Remote browser panes now support pointer gestures, queued-input invalidation, viewport recovery, and synchronized stream state. Screencast capture rejects invalid dimensions and malformed images. Tests and reliability gates cover mixed-version browser creation, input, lifecycle, and viewport behavior.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

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.
✅ Passed checks (4 passed)
Check name Status Explanation
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.
Title check ✅ Passed The title clearly summarizes the primary change: maintaining remote browser usability across mixed client and host versions.
Description check ✅ Passed The description is detailed and covers the change, rationale, linked issues, testing, risks, compatibility, and validation evidence.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch

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.

@Jinwoo-H Jinwoo-H changed the title fix(browser): tolerate old-host tab publication lag fix(browser): keep remote browsers usable across mixed versions Aug 17, 2026

@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: 5

🧹 Nitpick comments (5)
src/renderer/src/components/browser-pane/remote-browser-legacy-input.test.ts (1)

102-114: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Add caret-movement coverage, including Shift-extended selection.

The suite covers insertion, cancellation, select-all, Tab focus, and keyup balance. It does not cover the ArrowLeft, ArrowRight, Home, and End branches. That gap is why the reversed setSelectionRange arguments in moveCaret are unguarded. See the related comment on remote-browser-legacy-input.ts lines 79-83.

Add a test that sets a collapsed caret, sends Shift+ArrowLeft, and asserts that selectionStart and selectionEnd describe a one-character selection.

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

1785-1797: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Derive isDrag from one source.

getRemoteBrowserPointerCommands already calls isRemoteBrowserPointerDrag internally. Line 1793 repeats that call with the same arguments. The branch decision now exists in two places, so a future change to the threshold semantics can make them disagree.

Return both values from the helper, or derive the flag from the returned command shape.

♻️ Proposed refactor using a single derivation

In remote-browser-pointer-gesture.ts, return the flag alongside the commands:

 export function getRemoteBrowserPointerCommands(
   start: RemoteBrowserPointerSample,
   end: Pick<RemoteBrowserPointerSample, 'pointerId' | 'x' | 'y'>
-): RemoteBrowserPointerCommand[] | null {
+): { isDrag: boolean; commands: RemoteBrowserPointerCommand[] } | null {
   if (start.pointerId !== end.pointerId) {
     return null
   }
   const isDrag = isRemoteBrowserPointerDrag(start, end)
   if (!isDrag) {
-    return [
-      {
-        method: 'browser.mouseClick',
-        params: {
-          x: end.x,
-          y: end.y,
-          button: start.button,
-          modifiers: start.modifiers
-        }
-      }
-    ]
+    return {
+      isDrag,
+      commands: [
+        {
+          method: 'browser.mouseClick',
+          params: { x: end.x, y: end.y, button: start.button, modifiers: start.modifiers }
+        }
+      ]
+    }
   }
-  return [
-    { method: 'browser.mouseMove', params: { x: start.x, y: start.y } },
-    { method: 'browser.mouseDown', params: { button: start.button } },
-    { method: 'browser.mouseMove', params: { x: end.x, y: end.y } },
-    { method: 'browser.mouseUp', params: { button: start.button } }
-  ]
+  return {
+    isDrag,
+    commands: [
+      { method: 'browser.mouseMove', params: { x: start.x, y: start.y } },
+      { method: 'browser.mouseDown', params: { button: start.button } },
+      { method: 'browser.mouseMove', params: { x: end.x, y: end.y } },
+      { method: 'browser.mouseUp', params: { button: start.button } }
+    ]
+  }
 }

Then in BrowserPane.tsx:

-    const commands = getRemoteBrowserPointerCommands(pending.sample, {
+    const gesture = getRemoteBrowserPointerCommands(pending.sample, {
       pointerId: event.pointerId,
       x: point.x,
       y: point.y
     })
-    if (!commands) {
+    if (!gesture) {
       return
     }
-    const isDrag = isRemoteBrowserPointerDrag(pending.sample, {
-      pointerId: event.pointerId,
-      x: point.x,
-      y: point.y
-    })
+    const { commands, isDrag } = gesture

Drop the now-unused isRemoteBrowserPointerDrag import.


1815-1823: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Route the new pane-notice strings through translate(). Both sites add new user-visible text that bypasses the localization pipeline this file uses elsewhere. Some neighboring pane notices in this file are also untranslated, so treat this as the scope decision for new strings rather than a full cleanup of the file.

  • src/renderer/src/components/browser-pane/BrowserPane.tsx#L1815-L1823: wrap 'Drag input requires updating the paired runtime.' in translate() with a generated key.
  • src/renderer/src/components/browser-pane/BrowserPane.tsx#L1963-L1967: wrap 'This keyboard shortcut requires updating the paired runtime.' in translate() with a generated key.

Generate each key as the first 10 characters of the SHA-1 hash of <filePath>:<text>, matching localize-renderer-strings.mjs.

Based on learnings, "In the stablyai/orca renderer localization workflow, generate locale keys as the first 10 characters of the SHA-1 hash of <filePath>:<text>, matching localize-renderer-strings.mjs."

Source: Learnings

src/renderer/src/components/browser-pane/use-remote-browser-stream-activation.ts (1)

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

Make clearPendingRemoteInput required.

clearPendingRemoteWheel is required but clearPendingRemoteInput is optional, although both cancel pending input on stream close. The only caller always supplies it, and the test harness always supplies it. An optional callback lets a future caller omit it and silently restore the queued-input leak this change fixes.

Make the property required and drop the optional call at line 35.

♻️ Proposed change to enforce the contract
-  clearPendingRemoteInput?: () => void
+  clearPendingRemoteInput: () => void
   clearPendingRemoteWheel: () => void
     return () => {
       closeStream()
-      clearPendingRemoteInput?.()
+      clearPendingRemoteInput()
       clearPendingRemoteWheel()
     }
tests/e2e/paired-remote-browser-legacy-input.spec.ts (1)

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

Import the capability constant instead of hardcoding the string.

The production code imports BROWSER_DIRECT_RAW_INPUT_RUNTIME_CAPABILITY from src/shared/protocol-version. This assertion hardcodes 'browser.direct-raw-input.v1'. If the constant value changes, a renamed capability is also absent from status.capabilities, so this assertion still passes and the test silently stops verifying its precondition.

Import the shared constant so the precondition tracks the production value.

♻️ Proposed change to bind the assertion to the shared constant
 import {
   launchPairedElectronClient,
   type PairedElectronClient
 } from './helpers/paired-electron-client'
+import { BROWSER_DIRECT_RAW_INPUT_RUNTIME_CAPABILITY } from '../../src/shared/protocol-version'
-    expect(status.capabilities).not.toContain('browser.direct-raw-input.v1')
+    expect(status.capabilities).not.toContain(BROWSER_DIRECT_RAW_INPUT_RUNTIME_CAPABILITY)

Run the following script to confirm the constant name, its value, and the correct import specifier from tests/e2e:

#!/bin/bash
# Description: Verify the capability constant and how other E2E specs import from src/shared.
set -uo pipefail

echo '--- Capability constant definition ---'
fd -t f 'protocol-version.ts' --exec grep -nE 'DIRECT_RAW_INPUT|direct-raw-input' {} \;

echo '--- Hardcoded capability string occurrences ---'
rg -n 'browser\.direct-raw-input\.v1' -g '!**/node_modules/**'

echo '--- How existing E2E specs import from src/shared ---'
rg -n "from '(\.\./)+src/shared/" tests/e2e -g '*.ts' | head -30

echo '--- tsconfig path aliases available to tests ---'
fd -t f 'tsconfig*.json' -d 2 --exec sh -c 'echo "=== {} ==="; jq -r ".compilerOptions.paths // empty, .include // empty" {} 2>/dev/null'

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 86ae4d09-1a74-4149-832c-aeab47ed2ad7

📥 Commits

Reviewing files that changed from the base of the PR and between 064d9a0 and cffe5f1.

📒 Files selected for processing (22)
  • src/main/browser/agent-browser-bridge-command-transport.test.ts
  • src/main/browser/agent-browser-bridge-mouse-input.test.ts
  • src/main/browser/agent-browser-bridge.ts
  • src/main/browser/agent-browser-direct-input.test.ts
  • src/main/browser/agent-browser-direct-input.ts
  • src/main/browser/cdp-bridge.ts
  • src/main/browser/cdp-keypress.test.ts
  • src/main/browser/cdp-keypress.ts
  • src/main/browser/offscreen-browser-backend.ts
  • src/main/index.ts
  • src/main/runtime/orca-runtime.test.ts
  • src/main/runtime/orca-runtime.ts
  • src/renderer/src/components/browser-pane/BrowserPane.tsx
  • src/renderer/src/components/browser-pane/remote-browser-legacy-input.test.ts
  • src/renderer/src/components/browser-pane/remote-browser-legacy-input.ts
  • src/renderer/src/components/browser-pane/remote-browser-pointer-gesture.test.ts
  • src/renderer/src/components/browser-pane/remote-browser-pointer-gesture.ts
  • src/renderer/src/components/browser-pane/use-remote-browser-stream-activation.test.ts
  • src/renderer/src/components/browser-pane/use-remote-browser-stream-activation.ts
  • src/shared/protocol-version.ts
  • tests/e2e/helpers/headless-paired-runtime-host.ts
  • tests/e2e/paired-remote-browser-legacy-input.spec.ts

Included review availability: Your plan includes up to 10 reviews per rolling hour; 6 remain after this review.

Comment thread src/main/browser/cdp-keypress.ts Resolved
Comment thread src/shared/protocol-version.ts Resolved

@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: 2

Caution

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

⚠️ Outside diff range comments (1)
src/renderer/src/components/browser-pane/BrowserPane.tsx (1)

1850-1861: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Set pressedButton before browser.mouseDown is awaited.

If browser.mouseDown reaches the host but its RPC rejects or times out, Line 1857 does not run. The catch block then skips the recovery browser.mouseUp. The remote page can retain a pressed mouse button.

Proposed fix
 for (const command of commands) {
+  if (command.method === 'browser.mouseDown') {
+    pressedButton = command.params.button
+  }
   await callRuntimeRpc(
     pending.target,
     command.method,
     { worktree: pending.worktree, page: pending.pageId, ...command.params },
     { timeoutMs: 15_000, suppressFeatureInteraction: true }
   )
-  if (command.method === 'browser.mouseDown') {
-    pressedButton = command.params.button
-  } else if (command.method === 'browser.mouseUp') {
+  if (command.method === 'browser.mouseUp') {
     pressedButton = null
   }
 }

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5ba7e5cb-cab1-43af-81ec-d94d02cfadb3

📥 Commits

Reviewing files that changed from the base of the PR and between cffe5f1 and 0a8b320.

📒 Files selected for processing (18)
  • config/reliability-gates.jsonc
  • src/main/browser/agent-browser-bridge-mouse-input.test.ts
  • src/main/browser/agent-browser-bridge.ts
  • src/main/browser/browser-history-navigation.test.ts
  • src/main/browser/browser-history-navigation.ts
  • src/main/browser/browser-screencast-host-surface-capture.test.ts
  • src/main/browser/browser-screencast-snapshot-capture.ts
  • src/main/runtime/orca-runtime.test.ts
  • src/main/runtime/orca-runtime.ts
  • src/renderer/src/components/browser-pane/BrowserPane.tsx
  • src/renderer/src/components/browser-pane/remote-browser-frame-point.test.ts
  • src/renderer/src/components/browser-pane/remote-browser-frame-point.ts
  • src/renderer/src/components/browser-pane/remote-browser-frame-style.test.ts
  • src/renderer/src/components/browser-pane/remote-browser-frame-style.ts
  • src/renderer/src/components/browser-pane/remote-browser-legacy-input.test.ts
  • src/renderer/src/components/browser-pane/remote-browser-legacy-input.ts
  • src/shared/protocol-version.ts
  • tests/e2e/paired-remote-browser-legacy-input.spec.ts
🚧 Files skipped from review as they are similar to previous changes (3)
  • src/shared/protocol-version.ts
  • src/main/runtime/orca-runtime.test.ts
  • tests/e2e/paired-remote-browser-legacy-input.spec.ts

Included review availability: Your plan includes up to 10 reviews per rolling hour; 7 remain after this review.

@Jinwoo-H
Jinwoo-H marked this pull request as draft August 17, 2026 05:49
@Jinwoo-H
Jinwoo-H marked this pull request as ready for review August 17, 2026 09:51
@Jinwoo-H
Jinwoo-H requested a review from brennanb2025 as a code owner August 17, 2026 09:51

@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: 3

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/components/browser-pane/BrowserPane.tsx (2)

1994-2012: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Treat an unresolved direct-input capability as unknown for keypresses.

remoteDirectRawInputSupported starts as null and stays null while the probe in the effect at Line 1039 runs. During that window this branch selects the legacy path. buildLegacyRemoteBrowserKeypressExpression returns null for most modified shortcuts, so the pane throws "This keyboard shortcut requires updating the paired runtime." on a runtime that does support direct input.

Resolve the capability before selecting the path, as the drag path already does at Line 1836.

🐛 Proposed fix to resolve the capability first
     enqueueRemoteInput(async () => {
       if (!isCurrentRemoteOperationToken(operationToken)) {
         return
       }
+      let directInputSupported = remoteDirectRawInputSupported
+      if (directInputSupported === null) {
+        try {
+          directInputSupported = await runtimeEnvironmentSupportsCapability(
+            target.environmentId,
+            BROWSER_DIRECT_RAW_INPUT_RUNTIME_CAPABILITY
+          )
+        } catch {
+          directInputSupported = false
+        }
+      }
       try {
-        if (remoteDirectRawInputSupported) {
+        if (directInputSupported) {

2002-2005: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Route this user-facing message through translate.

This PR localizes the equivalent drag message at Line 1850. This keyboard fallback message stays a hardcoded English literal, so it renders untranslated.

🌐 Proposed fix
-            throw new Error('This keyboard shortcut requires updating the paired runtime.')
+            throw new Error(
+              translate(
+                'auto.components.browser.pane.BrowserPane.legacyKeypressUpdateRequired',
+                'This keyboard shortcut requires updating the paired runtime.'
+              )
+            )

Add the matching key to src/renderer/src/i18n/locales/en.json.

🧹 Nitpick comments (2)
src/renderer/src/components/browser-pane/remote-browser-pointer-gesture.test.ts (1)

48-56: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Type command as RemoteBrowserPointerCommand in the standalone mock. The web config sets noImplicitAny to false, and vi.fn leaves the parameter as any, so command.method is not type-checked.

src/main/runtime/orca-runtime.test.ts (1)

34899-34953: 🩺 Stability & Availability | 🔵 Trivial | ⚡ Quick win

Wait for the ready event before asserting the first send.

REMOTE_BROWSER_STARTUP_FRAME_RETRY_MS is 50 ms, so the timer advance matches the runtime. Replace the two fixed microtask waits with a wait for the observable ready emission before asserting sendBinary.


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d9bbda36-62aa-4e79-bbb9-4029fa1d96d3

📥 Commits

Reviewing files that changed from the base of the PR and between 0a8b320 and 1403e78.

📒 Files selected for processing (46)
  • config/reliability-gates.jsonc
  • src/main/browser/agent-browser-bridge-mouse-input.test.ts
  • src/main/browser/agent-browser-bridge.ts
  • src/main/browser/browser-history-navigation.test.ts
  • src/main/browser/browser-history-navigation.ts
  • src/main/browser/browser-manager-guest-lifecycle.test.ts
  • src/main/browser/browser-manager.ts
  • src/main/browser/browser-screencast-cdp-events.ts
  • src/main/browser/browser-screencast-device-metrics.ts
  • src/main/browser/browser-screencast-host-surface-capture.test.ts
  • src/main/browser/browser-screencast-lifecycle.test.ts
  • src/main/browser/browser-screencast-snapshot-capture.ts
  • src/main/browser/browser-screencast-snapshot-scaling.test.ts
  • src/main/browser/browser-screencast-stream-types.ts
  • src/main/browser/browser-screencast-stream.test.ts
  • src/main/browser/browser-screencast-stream.ts
  • src/main/browser/cdp-keypress.test.ts
  • src/main/browser/cdp-keypress.ts
  • src/main/browser/offscreen-browser-backend-lifecycle.test.ts
  • src/main/browser/offscreen-browser-backend.ts
  • src/main/runtime/orca-runtime-browser-screencast-fanout.test.ts
  • src/main/runtime/orca-runtime-browser.test.ts
  • src/main/runtime/orca-runtime-browser.ts
  • src/main/runtime/orca-runtime.test.ts
  • src/main/runtime/orca-runtime.ts
  • src/main/runtime/remote-browser-screencast-frame-admission.test.ts
  • src/renderer/src/components/browser-pane/BrowserPane.tsx
  • src/renderer/src/components/browser-pane/remote-browser-frame-point.test.ts
  • src/renderer/src/components/browser-pane/remote-browser-frame-point.ts
  • src/renderer/src/components/browser-pane/remote-browser-frame-style.test.ts
  • src/renderer/src/components/browser-pane/remote-browser-frame-style.ts
  • src/renderer/src/components/browser-pane/remote-browser-legacy-input.test.ts
  • src/renderer/src/components/browser-pane/remote-browser-legacy-input.ts
  • src/renderer/src/components/browser-pane/remote-browser-legacy-viewport.test.ts
  • src/renderer/src/components/browser-pane/remote-browser-legacy-viewport.ts
  • src/renderer/src/components/browser-pane/remote-browser-page-session.ts
  • src/renderer/src/components/browser-pane/remote-browser-pointer-gesture.test.ts
  • src/renderer/src/components/browser-pane/remote-browser-pointer-gesture.ts
  • src/renderer/src/components/browser-pane/remote-browser-stream-events.ts
  • src/renderer/src/components/browser-pane/remote-browser-stream-lifecycle-deps.ts
  • src/renderer/src/components/browser-pane/remote-browser-stream-lifecycle-test-harness.ts
  • src/renderer/src/components/browser-pane/remote-browser-stream-lifecycle.test.ts
  • src/renderer/src/components/browser-pane/remote-browser-stream-lifecycle.ts
  • src/renderer/src/components/browser-pane/use-remote-browser-stream-activation.ts
  • src/renderer/src/i18n/locales/en.json
  • tests/e2e/paired-remote-browser-legacy-input.spec.ts
🚧 Files skipped from review as they are similar to previous changes (7)
  • src/renderer/src/components/browser-pane/remote-browser-frame-point.test.ts
  • src/main/browser/browser-screencast-snapshot-capture.ts
  • src/renderer/src/components/browser-pane/remote-browser-frame-style.test.ts
  • src/renderer/src/components/browser-pane/use-remote-browser-stream-activation.ts
  • src/renderer/src/components/browser-pane/remote-browser-frame-point.ts
  • src/main/browser/agent-browser-bridge.ts
  • tests/e2e/paired-remote-browser-legacy-input.spec.ts

Included review availability: Your plan includes up to 10 reviews per rolling hour; 8 remain after this review.

Comment thread src/main/runtime/orca-runtime.ts Resolved

@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


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: fbda6dab-8bbd-45e0-80bf-bfe104c59709

📥 Commits

Reviewing files that changed from the base of the PR and between 1403e78 and f861670.

📒 Files selected for processing (6)
  • config/reliability-gates.jsonc
  • src/main/browser/browser-screencast-cdp-events.ts
  • src/main/browser/offscreen-browser-backend.ts
  • src/main/runtime/orca-runtime-browser.ts
  • src/main/runtime/orca-runtime.test.ts
  • src/main/runtime/orca-runtime.ts
🚧 Files skipped from review as they are similar to previous changes (2)
  • src/main/browser/browser-screencast-cdp-events.ts
  • config/reliability-gates.jsonc

Included review availability: Your plan includes up to 10 reviews per rolling hour; 8 remain after this review.

@Jinwoo-H

Copy link
Copy Markdown
Contributor Author

CI rerun is now fully green on head 04072c54e9: all Node 24/26 shards, typecheck, static analysis, packaging, wire compatibility, changed E2E, and verify passed; only intentionally skipped E2E jobs remain. PR stays open, non-draft, and unmerged.

@Jinwoo-H
Jinwoo-H marked this pull request as draft August 17, 2026 20:26
@Jinwoo-H

Copy link
Copy Markdown
Contributor Author

Validation update for HEAD a716c4deb9: all three exact-head Luna reviews are CLEAN. Focused browser/runtime suite is 1,458 passed / 1 skipped; typecheck, lint, reliability manifest, max-lines, and wire checks pass. The full PR matrix rerun reproduced the same unrelated folder-workspace-owner-routed-mutations.test.ts failure on Node 24 and Node 26 shard 15 (resolveRuntimeUpdate is undefined); the same shard reproduces locally with pnpm exec vitest run --config config/vitest.config.ts --shard=15/16, and no folder-workspace files are changed by this PR. PR remains draft/unmerged pending that separate baseline flake/test issue.

@Jinwoo-H
Jinwoo-H force-pushed the aug16-sta4525-remote-browser-mixed-version-create branch from a716c4d to 70a3484 Compare August 17, 2026 22:00
@Jinwoo-H
Jinwoo-H marked this pull request as ready for review August 17, 2026 22:05
@Jinwoo-H
Jinwoo-H force-pushed the aug16-sta4525-remote-browser-mixed-version-create branch from 70a3484 to 9a1a8f1 Compare August 17, 2026 22:05
@nwparker

nwparker commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Superseded by #15448 (client-hosted remote browser with mixed-version support); #14883 was confirmed fixed on v1.4.241. Closing.

@nwparker nwparker closed this Nov 1, 2026
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.

2 participants