Skip to content

test(qa): cover packaged browser profiles - #119043

Merged
vincentkoc merged 1 commit into
mainfrom
qa-browser-plugin-profiles-packaged
Aug 4, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
qa-browser-plugin-profiles-packaged

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 4, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The QA coverage map did not have packaged, real-browser proof for tools.browser-plugin-service or tools.profiles. That left lazy browser plugin activation and the managed profile lifecycle unverified at the distribution boundary.

Why This Change Was Made

Adds one dedicated QA scenario and producer that build the normal dist-backed Docker image, install the Chromium revision pinned by packaged playwright-core, and drive the authenticated browser CLI against an isolated packaged Gateway. The lifecycle proves create/list/select/status/start/headless CDP/stop/reap/delete behavior and verifies the browser control service starts lazily exactly once.

This is QA-only: four files, 408 added lines, zero production LOC.

User Impact

No runtime behavior changes. Maintainers now get end-to-end packaged coverage for the browser plugin service and profile lifecycle, including cleanup of Chromium, CDP, Gateway, and container state.

Evidence

  • Packaged Docker/Chromium producer: pass.
    • profile=qa-browser browserPid=745 cdpPort=18801 playwrightCore=1.62.0
    • BROWSER_PLUGIN_PROFILES_PACKAGED_OK
    • evidence status: pass
    • primary coverage IDs: tools.browser-plugin-service, tools.profiles
  • Focused producer and catalog coverage: 3 test files, 52 tests passed.
  • Docker helper contract coverage: 179 tests passed, including timeout-aware named-container cleanup.
  • bash -n scripts/e2e/browser-plugin-profiles-docker.sh: pass.
  • oxfmt --check on the scenario and TypeScript files: pass.
  • git diff --check: pass.
  • Sol/high autoreview: clean, no actionable findings.
  • Blacksmith Testbox was attempted first but the lease completed with empty output and blocked_stage=unknown; trusted local Docker was used as the repository-prescribed infrastructure fallback.
  • check-changed passed every pre-typecheck lane. Its full typecheck lane remains blocked by the unrelated existing error packages/terminal-core/src/ansi.ts:194:38 TS2554, outside this diff.
  • Exact-head ClawSweeper review was unavailable: the worker started for 03d8e58d1b812b7538725293597b881a0763aba5 at 2026-08-04T02:31:10Z, its lease expired at 2026-08-04T03:12:10Z, and no exact-head verdict or Rank-up moves: list was published. The only durable comment marks the prior 8f7096fc6e61bb1b9d2d6e2352e4dd37c0d6890f review stale.

AI Assistance

  • AI-assisted
  • I reviewed the implementation and understand the packaged lifecycle it exercises.

@vincentkoc vincentkoc self-assigned this Aug 4, 2026
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts docker Docker and sandbox tooling extensions: qa-lab size: M maintainer Maintainer-authored PR labels Aug 4, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review August 4, 2026 01:18
@vincentkoc
vincentkoc force-pushed the qa-browser-plugin-profiles-packaged branch from 8e5b828 to 8f7096f Compare August 4, 2026 01:24
@vincentkoc
vincentkoc force-pushed the qa-browser-plugin-profiles-packaged branch from 8f7096f to 03d8e58 Compare August 4, 2026 02:23
@clawsweeper

clawsweeper Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 8f7096fc6e61bb1b9d2d6e2352e4dd37c0d6890f, but the PR head is now 03d8e58d1b812b7538725293597b881a0763aba5. Its old verdict and PR readiness labels are no longer current.

Next step
Run or wait for a fresh ClawSweeper review on the current PR head.

@vincentkoc
vincentkoc merged commit 12beeb7 into main Aug 4, 2026
110 checks passed
@vincentkoc
vincentkoc deleted the qa-browser-plugin-profiles-packaged branch August 4, 2026 03:13
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 4, 2026
* origin/main:
  test(qa): cover packaged browser profiles (#119043)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 4, 2026
osolmaz pushed a commit to abarsegov/openclaw that referenced this pull request Aug 4, 2026
* origin/main:
  test(qa): cover packaged browser profiles (openclaw#119043)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 5, 2026
* origin/main:
  test(qa): cover packaged browser profiles (openclaw#119043)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 5, 2026
* origin/main:
  test(qa): cover packaged browser profiles (openclaw#119043)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker and sandbox tooling extensions: qa-lab maintainer Maintainer-authored PR scripts Repository scripts size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant