Skip to content

fix(computer-use): recover verified stale Chrome profile locks - #1809

Draft
briar-workflow[bot] wants to merge 1 commit into
mainfrom
briar/chrome-profile-lock-c33ba5a9
Draft

fix(computer-use): recover verified stale Chrome profile locks#1809
briar-workflow[bot] wants to merge 1 commit into
mainfrom
briar/chrome-profile-lock-c33ba5a9

Conversation

@briar-workflow

@briar-workflow briar-workflow Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Computer Use Chrome can remain blocked by singleton links after a browser crash or a stopped container is replaced. The launcher now reuses responsive Chrome through cookie- and peer-checked IPC, serializes requests per display profile, and removes only singleton links when recorded process identity or verified container retirement proves the owner has exited. Unknown ownership and unresponsive browsers return errors without deleting profile data or killing browsers.

Container replacement grants recovery authority only after removing the exact stopped Briar container and verifying an exclusively attached ordinary local profile volume. Cookies, saved passwords and shared-login synchronization remain intact. Embedded sandbox assets are regenerated from the launcher source. The IPC packet regression verifies there is no trailing NUL or empty argument.

Validation: 16 Python recovery/IPC/concurrency tests, 51 focused TypeScript tests, generated asset parity, managed image source validation, shell syntax and diff checks passed. Full local CI passed in 172 seconds with VITEST_MAX_WORKERS=2 (all four contexts). The first run hit a transient empty-archive failure in the existing login-export test; the complete retry passed, including all 2,867 unit tests. All four required signoff statuses were subsequently published as success for dbc82e5 through the project GitHub App (ci:signoff passed in 17 seconds). Real Linux Chrome startup, crash/restart/recreation and login persistence checks plus base-image rollout remain required; Docker and an approved Linux deployment target are unavailable on this worker. Runtime-only updates do not install this launcher.

Briar issue: https://briar-api.wbai.workers.dev/open/issues/4947dcf7-694e-4a0e-b702-ac9ce562b018/c33ba5a9-5bd1-5d34-956c-7df66ad2f961

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