uv-present-but-not-uv-managed installs still get a raw uv tool upgrade error

Author: SomSamantrayCreated Sep 1, 2026Updated Sep 16, 2026

Problem

A pip/pipx-installed browser-harness on a machine where uv happens to be on PATH still gets uv's raw "not installed via uv" error from uv tool upgrade, with no actionable guidance. This affects the same population the #688 fix (missing-uv case) addresses: users who installed with pip/pipx but have uv present.

Suggested fix

In the pypi branch of run_update() (src/browser_harness/admin.py:1231), when uv tool upgrade browser-harness returns non-zero, print the same actionable stderr message (pip/pipx/package-manager routes) before propagating the exit code.

Source

  • Branch: fix/688-update-uv-missing
  • Head: d3e2acc

Metadata

Severity: P3 Confidence: 75 Reviewer(s): adversarial Finding ID: src/browser_harness/admin.py + line_bucket(1231) + normalize(title)

Source: browser-use/browser-harness