Skip to content

fix(browser): stop agent-launched managed Chrome - #109723

Merged
steipete merged 2 commits into
openclaw:mainfrom
NianJiuZst:codex/fix-browser-stop-agent-launch-109678
Aug 26, 2026
Merged

steipete merged 2 commits into
openclaw:mainfrom
NianJiuZst:codex/fix-browser-stop-agent-launch-109678

Conversation

@NianJiuZst

@NianJiuZst NianJiuZst commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Closes #109678

What Problem This Solves

An OpenClaw-managed Chrome browser launched by an agent can belong to a different browser runtime than the one handling openclaw browser stop. The stopping runtime has no retained child-process handle, so the stop operation reports failure while Chrome and its DevTools listener remain alive.

Why This Change Was Made

Recover and stop the exact locally managed Chrome inside the existing serialized profile lifecycle transition. Process ownership requires the current-host profile singleton, live PID, configured browser executable, exact user-data directory and DevTools port, listening-socket ownership, process start identity, and matching browser-reported PID. The graceful DevTools socket retains the current DNS-pinned endpoint transport, then synchronously revalidates the complete process identity immediately before Browser.close; signal escalation separately revalidates identity before every signal.

Attach-only, remote, existing-session/Chrome-MCP, and browser-extension profiles never enter this managed-process recovery path. Existing retained process handles keep their canonical shutdown flow.

User Impact

openclaw browser stop now shuts down an agent-launched managed Chrome even when another runtime owns its launch handle, while preserving personal, attach-only, and remote browsers.

Evidence

  • Confirmed the owner-boundary regression failed on current main: the new cross-runtime stop test expected stopped: true but received stopped: false.
  • Confirmed the DNS-pinning regression independently fails when the DevTools socket's pinned lookup is removed.
  • Confirmed the PID-recycling regression independently fails when immediate process-identity revalidation is removed: the replacement browser is incorrectly closed.
  • OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs extensions/browser/src/browser/chrome.internal.test.ts extensions/browser/src/browser/chrome.test.ts extensions/browser/src/browser/cdp.helpers.internal.test.ts extensions/browser/src/browser/server-context.stop-running-browser.test.ts extensions/browser/src/browser/server-context.existing-session.test.ts — 150 passed, 1 skipped.
  • OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs extensions/browser/src/browser/server-context.ensure-browser-available.waits-for-cdp-ready.test.ts extensions/browser/src/browser/server.agent-contract-form-layout-act-commands.test.ts extensions/browser/src/browser/chrome.internal.test.ts extensions/browser/src/browser/chrome.test.ts extensions/browser/src/browser/cdp.helpers.internal.test.ts extensions/browser/src/browser/server-context.stop-running-browser.test.ts extensions/browser/src/browser/server-context.existing-session.test.ts — 213 passed, 1 skipped, including both originally failing CI suites.
  • OPENCLAW_VITEST_MAX_WORKERS=2 node scripts/run-vitest.mjs extensions/browser — 193 passed, 2 skipped test files; 2,727 passed, 6 skipped tests across the complete changed-browser CI shard.
  • node scripts/run-tsgo.mjs -p extensions/browser/tsconfig.json --noEmit — passed.
  • Targeted typed oxlint, oxfmt, and git diff --check — passed.
  • Fresh structured Codex review and independent owner-boundary security review — no remaining findings.

The first exact-head CI run exposed two older shared Chrome test harnesses that had not yet exported the new lifecycle helper. Both canonical test doubles now model the no-owned-browser case directly; the production implementation and security invariants were unchanged, and the original failing suites plus the entire affected browser shard pass.

Real isolated macOS Chrome proof against the current implementation:

BASELINE_MANAGED_STOP stopped=false process=ALIVE listener=OPEN
REAL_MACOS_MANAGED before=OPEN stopped=true process=EXITED listener=CLOSED
REAL_MACOS_ATTACH_ONLY before=OPEN stopped=true process=ALIVE listener=OPEN
FINAL_REAL_MACOS_MANAGED stopped=true process=EXITED listener=CLOSED

Both Chrome processes used temporary OpenClaw-owned profiles and randomly allocated loopback DevTools ports; all proof processes and temporary state were cleaned up. The managed-process recovery is currently available only on macOS and Linux, where existing executable, argument, process-start, and listener-ownership proof is supported.

Thanks to @NianJiuZst for the original owner-boundary fix and reproduction. Both repair commits preserve the contributor's co-author credit.

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. labels Jul 17, 2026
@clawsweeper

clawsweeper Bot commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge. Reviewed August 26, 2026, 5:22 AM ET / 09:22 UTC.

ClawSweeper review

What this changes

The PR lets browser stop close an OpenClaw-managed local Chrome process launched by another runtime, while leaving attach-only and remote profiles disconnect-only.

Merge readiness

⚠️ Needs maintainer review before merge - 3 items remain

Keep open: the rebased implementation resolves the prior pinned-CDP review concern, but it makes an existing lifecycle test call a helper absent from its shared Chrome mock, so the affected test suite will fail.

Priority: P1
Reviewed head: d9fff0fece5b92e8e15583f8f35fad470b70a6a3

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The real behavior proof is strong and the core design addresses the prior pinning finding, but the current head has one focused test-harness regression.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The PR body includes a redacted macOS terminal proof that a separately launched managed Chrome exits and its CDP listener closes, while an attach-only control remains alive.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR body includes a redacted macOS terminal proof that a separately launched managed Chrome exits and its CDP listener closes, while an attach-only control remains alive.
Evidence reviewed 6 items Current-main gap: Current main only stops registered runtime handles, so an agent-launched browser retained by another runtime is not recovered by this path.
Lifecycle-owned fix: The branch invokes owned-process recovery only after serialized profile cleanup, so a later start remains behind the stop transition.
Pinned and revalidated close: The new helper verifies the profile process identity, passes the validated endpoint lookup into the CDP socket, and rechecks identity before fallback signals.
Findings 1 actionable finding [P1] Update the shared Chrome mock for the new stop helper
Security None None.

Live Verification

Command: pnpm openclaw browser --help

Result: PASS (completed)

$ node scripts/run-node.mjs browser --help
[openclaw] Building TypeScript (dist is stale: missing_build_stamp - build stamp missing).
[openclaw] Building bundled plugin assets.
[canvas] build: node scripts/bundle-a2ui.mjs
[log] ‹DIR›/a2ui.bundle.js  chunk │ size: 399.96 kB
[log] ‹DIR›/a2ui-v0.9.bundle.js  chunk │ size: 615.66 kB
[log]
[success] rolldown v1.2.0 Finished in 102.26 ms
[diffs] build: node --import tsx ../../scripts/build-diffs-viewer-runtime.mts curated
[diffs-language-pack] build: node --import tsx ../../scripts/build-diffs-viewer-runtime.mts full
[discord] build: node --import tsx ../../scripts/build-discord-activity-sdk.mts
[tsdown-build] invocation 1/2 finished in 0.7s
node_modules/playwright-core/lib/coreBundle.js (65821:28) [EVAL] Use of direct ˋevalˋ function is strongly discouraged as it poses security risks and may cause
issues with minification.
       ╭─[ node_modules/playwright-core/lib/coreBundle.js:65821:29 ]
       │
 65821 │               const value = eval(ˋ(${expr})ˋ);
       │                             ──┬─
       │                               ╰─── Use of direct ˋevalˋ here.
       │
       │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
───────╯

node_modules/playwright-core/lib/coreBundle.js (65828:28) [EVAL] Use of direct ˋevalˋ function is strongly discouraged as it poses security risks and may cause
issues with minification.
       ╭─[ node_modules/playwright-core/lib/coreBundle.js:65828:29 ]
       │
 65828 │               const value = eval(ˋ(${expr})ˋ);
       │                             ──┬─
       │                               ╰─── Use of direct ˋevalˋ here.
       │
       │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
───────╯

node_modules/web-tree-sitter/web-tree-sitter.js (2343:30) [EVAL] Use of direct ˋevalˋ function is strongly discouraged as it poses security risks and may cause
issues with minification.
      ╭─[ node_modules/web-tree-sitter/web-tree-sitter.js:2343:31 ]
      │
 2343 │           ASM_CONSTS[start] = eval(func);
      │                               ──┬─
      │                                 ╰─── Use of direct ˋevalˋ here.
      │
      │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
──────╯

node_modules/web-tree-sitter/web-tree-sitter.js (2366:32) [EVAL] Use of direct ˋevalˋ function is strongly discouraged as it poses security risks and may cause
issues with minification.
      ╭─[ node_modules/web-tree-sitter/web-tree-sitter.js:2366:33 ]
      │
 2366 │           moduleExports[name] = eval(func);
      │                                 ──┬─
      │                                   ╰─── Use of direct ˋevalˋ here.
      │
      │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
──────╯

[tsdown-build] invocation 2/2 finished in 13.4s
[plugin-control-plane-loads] verified 35 built modules with native require and checked doctor closures
runtime-postbuild: 11 phases completed in 4106ms (slowest: built plugin control-plane loads 3389ms)
│
◇

OpenClaw 2026.8.1 (d9fff0f) — All your chats, one OpenClaw.

Usage: openclaw browser [options] [command]

Manage OpenClaw's dedicated browser (Chrome/Chromium)

Options:
  --browser-profile ‹name›  Browser profile name (default from config)
  --expect-final            Wait for final response (agent) (default: false)
  -h, --help                Display help for command
  --json                    Output machine-readable JSON (default: false)
  --password ‹password›     Gateway password (if required)
  --port ‹port›             Local Gateway port
  --timeout ‹ms›            Timeout in ms (default: "30000
… output truncated …

Assertions:

  • PASS expect_output: Usage:

How this fits together

The browser plugin manages Chrome profiles for CLI and agent requests. A stop request serializes profile cleanup, then can recover a verified OpenClaw-owned local Chrome process that has no in-memory launch handle in the stopping runtime.

flowchart LR
A[Browser stop request] --> B[Profile lifecycle transition]
B --> C[Clean registered handles]
C --> D[Verify managed local process]
D --> E[Pinned CDP close or guarded signal]
E --> F[Stopped result]
B --> G[Attach-only or remote profile]
G --> H[Disconnect only]
Loading

Before merge

  • Update the shared Chrome mock for the new stop helper (P1) - server-context.ensure-browser-available.waits-for-cdp-ready.test.ts imports the shared mock and calls stopRunningBrowser() on a local managed profile. That now reaches this call after cleanup, but the mock in server-context.chrome-test-harness.ts has no stopOwnedOpenClawChrome export, so Vitest will throw instead of completing the existing lifecycle test.
  • Resolve merge risk (P1) - Production grows by 70 lines in a process-termination path; the growth is justified by the additional ownership checks, but the focused lifecycle suite must pass after the shared mock is corrected.
  • Complete next step (P2) - A one-file shared-test-mock repair is mechanically clear and unblocks the affected lifecycle suite.

Findings

  • [P1] Update the shared Chrome mock for the new stop helper — extensions/browser/src/browser/server-context.availability.ts:640
Agent review details

Security

None.

PR surface

Source +70, Tests +149. Total +219 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 2 75 5 +70
Tests 2 150 1 +149
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 225 6 +219

Review metrics

Metric Value Why it matters
Production versus test delta production +70, tests +149 The production increase implements ownership-verified cross-runtime shutdown; test growth covers the owner and profile-mode behavior.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #109678
Summary: This PR is the candidate fix for the canonical agent-launched managed-Chrome stop failure.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Repair the shared lifecycle mock (recommended)
    Export a default-false stopOwnedOpenClawChrome mock from the shared browser test harness and rerun the affected browser lifecycle tests.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Add stopOwnedOpenClawChrome to the shared browser Chrome mock and run the focused browser lifecycle tests.

Technical review

Best possible solution:

Keep one lifecycle-owned recovery flow, add the missing shared test-harness export, and validate managed, attach-only, and replacement-process cases before merge.

Do we have a high-confidence way to reproduce the issue?

Yes. Current main lacks cross-runtime recovery, and source inspection shows the branch's new local-stop call reaches a missing export in an existing shared Vitest mock.

Is this the best way to solve the issue?

Mostly yes. The recovery is correctly placed inside the profile lifecycle and preserves pinned CDP lookup behavior; the test harness must be updated before merge.

Full review comments:

  • [P1] Update the shared Chrome mock for the new stop helper — extensions/browser/src/browser/server-context.availability.ts:640
    server-context.ensure-browser-available.waits-for-cdp-ready.test.ts imports the shared mock and calls stopRunningBrowser() on a local managed profile. That now reaches this call after cleanup, but the mock in server-context.chrome-test-harness.ts has no stopOwnedOpenClawChrome export, so Vitest will throw instead of completing the existing lifecycle test.
    Confidence: 0.98

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 33a24b6d8ea2.

Labels

Label justifications:

  • P1: The normal local-managed browser stop path can leave a Chrome process and its CDP listener running.
  • merge-risk: 🚨 security-boundary: The change authorizes CDP close commands and process signals based on local ownership checks.
  • merge-risk: 🚨 availability: A regression in this stop path can leave managed Chrome running or prevent normal lifecycle recovery.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (terminal): The PR body includes a redacted macOS terminal proof that a separately launched managed Chrome exits and its CDP listener closes, while an attach-only control remains alive.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body includes a redacted macOS terminal proof that a separately launched managed Chrome exits and its CDP listener closes, while an attach-only control remains alive.

Evidence

Acceptance criteria:

  • [P1] node scripts/run-vitest.mjs extensions/browser/src/browser/server-context.ensure-browser-available.waits-for-cdp-ready.test.ts.
  • [P1] node scripts/run-vitest.mjs extensions/browser/src/browser/server-context.stop-running-browser.test.ts.

What I checked:

Likely related people:

  • Peter Steinberger: Current main attributes the existing stop and pinned-CDP path to this contributor, and the current branch head is also authored by them. (role: recent browser lifecycle contributor; confidence: high; commits: 144e4d5aeb7b, d9fff0fece5b; files: extensions/browser/src/browser/chrome.ts, extensions/browser/src/browser/server-context.availability.ts)
  • Pavan Kumar Gondhi: Commit 92f5f07 introduced the validated endpoint lookup that the stop path must preserve. (role: introduced guarded CDP transport behavior; confidence: high; commits: 92f5f07da175; files: extensions/browser/src/browser/chrome.ts)
  • Vincent Koc: Commit e482221 introduced nearby stale managed-Chrome recovery behavior reused by the ownership and termination design. (role: adjacent managed-Chrome recovery contributor; confidence: medium; commits: e48222175f2e; files: extensions/browser/src/browser/chrome.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Add the missing shared mock export.
  • Run the two focused browser lifecycle test files on the repaired head.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (9 earlier review cycles; latest 8 shown)
  • reviewed 2026-07-17T07:15:20.402Z sha 7ec191722416087e2a4cbf02204ed137c772d1b7 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-17T07:56:34.794Z sha 7ec191722416087e2a4cbf02204ed137c772d1b7 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-31T05:57:48.020Z sha 7ec191722416087e2a4cbf02204ed137c772d1b7 :: needs changes before merge. :: [P1] Port the stop hook to the reconciled lifecycle
  • reviewed August 4, 2026, 5:37 AM ET / 09:37 UTC sha unknown :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T10:18:13.638Z sha 7ec191722416087e2a4cbf02204ed137c772d1b7 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-12T21:31:22.384Z sha 7ec191722416087e2a4cbf02204ed137c772d1b7 :: needs changes before merge. :: none
  • reviewed 2026-08-14T10:08:10.146Z sha 7ec191722416087e2a4cbf02204ed137c772d1b7 :: needs changes before merge. :: none
  • reviewed August 20, 2026, 1:47 AM ET / 05:47 UTC sha unknown :: needs changes before merge. :: [P1] Carry the pinned CDP lookup into the cross-runtime close

@NianJiuZst

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Added real macOS process-level evidence to the PR body: a managed Chrome launched by a separate agent runtime exits and loses its CDP listener after openclaw browser stop, while the attach-only control remains alive and listening.

@clawsweeper

clawsweeper Bot commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 17, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jul 31, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 4, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 12, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 20, 2026
@steipete
steipete force-pushed the codex/fix-browser-stop-agent-launch-109678 branch from 7ec1917 to d9fff0f Compare August 26, 2026 09:16
@steipete

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

The contributor's owner-boundary fix is rebuilt and independently security-reviewed on current main; both signed commits retain @NianJiuZst's co-author credit.

  • Real isolated macOS Chrome proof: the previous cross-runtime stop left Chrome and its DevTools listener alive; the corrected managed stop exits Chrome and closes the listener, while an attach-only browser remains alive.
  • DNS-pinned DevTools connection and synchronous full PID/start-identity revalidation immediately before Browser.close each have independently verified failing-then-passing security regressions.
  • Both originally failing CI lifecycle/control-server suites now pass after updating their two canonical shared test doubles; all seven focused sibling/security suites pass 213 tests.
  • The complete affected browser CI shard passes locally: 193 passing and two skipped test files; 2,727 passing and six skipped tests.
  • Fresh structured and independent owner-boundary reviews report no actionable findings. Production growth is +75/-5 (net +70), justified by the new secure cross-runtime process-ownership capability; tests and shared test support add +152/-1.

Exact reviewed contributor-branch head: c0b383c.

@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete
steipete merged commit 814f193 into openclaw:main Aug 26, 2026
115 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 27, 2026
* fix(browser): safely stop cross-runtime managed Chrome

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

* test(browser): keep shared Chrome lifecycle mocks current

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

---------

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: NianJiuZst <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: browser merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: M status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: browser stop cannot stop agent-launched managed Chrome — reports running: true, process survives

2 participants