Repository navigation
Closed
Description
Each item below should become its own small PR with a regression test.
Confirmed
- Rainbond readiness never accepts 4xx.
harness/environments/webarena/rainbond.py:578_wait_siteintends to accept200 <= status < 500. ButurlopenraisesHTTPError(aURLError/OSErrorsubclass) for 4xx, and the except clause catches it and retries. A site answering 404 is never treated as ready, so the wait times out. - Unbounded
process.wait()after a best-effort kill. Inharness/web_fetch/providers/headless.py:790-799,terminate_owned_process_tree()returnsFalseand leaves the worker alive whenpsfails (providers/base.py:20-35). Theprocess.wait()that follows has no timeout, so the run can hang forever.providers/moli.py:693has the same pattern. - Browser Use resume differs from a fresh run. In
harness/browser_use/runner.py:614-629, resume skips attempt 2 when the stored primary attempt isunsupported. A fresh run (:648) only stops onscore == 1.0, so it does retry. Interrupted and uninterrupted cohorts therefore record different call counts. Pick one rule and apply it on both paths. - Failed attempts lose timing. In
harness/browser_use/runner.py:264-320,agent_run_msandevidence_finalize_msare only set on the success path, so a failed attempt records 0 ms of agent time. - Cleanup errors are swallowed. In
harness/browser_use/runner.py:320-331, the HAR/trace stop exception is dropped silently instead of being appended tocleanup_errors. - Three P50/P95 definitions.
lexbench_webfetch.metrics.percentileuses nearest rank, whileharness/web_fetch/wcxb_scoring.py:78andharness/lexbench/report.py:323interpolate linearly. So "P95" means different things in different reports, and the WCXB copy raisesIndexErroron an empty list. Use the upstream definition everywhere. - Public WebArena report hides audit failures.
harness/trajectory_replay/public_webarena/report.py:56-63catchesResultAuditErrorand renders "unavailable" instead of failing closed.
Suspected (verify first)
-
harness/web_search/review.py:787-813: aKeyError/TypeErrorfromvalidate_resultskips the kill and leaves the process registered inactive. Usetry/finally. -
harness/trajectory_replay/remote_execution.py:252_wait_cdpspins without sleeping on non-200 responses. - Bind-port-0-then-close TOCTOU races in
catalog_runner.py:717,remote_execution.py:1069andbrowser_use/backend.py:111. -
browser_use/runtime.pycreates a newdocker.from_env()client per call and never closes it. -
environments/webarena/har.py:420keys requests byid(request), which can be reused after garbage collection. -
tiktoken.get_encodingruns at import time (trajectory_replay/runner.py:40,public_webarena/runner.py:61), which may need network access. -
assertis used for runtime preconditions (browser_use/runtime.py:589). -
trajectory_replay/webarena_replay.py:741useslocals().get(...)and calls the privateservice._submit.
Part of the refactor roadmap: #87
Activity
lanyue-llk commentedon Nov 3, 2026
Resolved by #124, #125, #127, #140. Remaining work is tracked in #152.