CI for earakely-scale#4

Draft
GR
5d ago
+13454-15

CI only: this runs the repo's CI on the branch of earakely-scale/agentenv-benchmarks#4. Not for merging here.


Summary by cubic

Adds BU Bench V2.1 as the bu-bench bundle: 200 live-web tasks, each on a fresh Browser Use Cloud browser, graded by its frozen findings judge. Runs the repo's CI against the branch so the existing checks cover it before it lands upstream; not for merging here.

  • Eight harnesses: browser-use 1.0.4rc1 and Codex 0.166.0 with 7 browser tools. Tasks ship encrypted as ids only; instructions decrypt at run time.
  • bu-browser adds a Browser Use Cloud browser as an agent-env env whose Playwright MCP tools a model drives, for RL episodes. An open env object refuses a redeploy, each Playwright MCP gets its own output folder deleted once it exits, snapshot links to non-regular files stay links (never read), and SIGTERM stops the browser only once no tool call is in flight.
  • The steps are hardened against lost, slow, or cancelled runs: browsers are always stopped with bounded requests and an exit-hook fallback whose stops each end within 20 s, a create cancelled before Browser Use answers still stops the browser it made, CDP addresses and signed links are scrubbed from logs and evidence, and runs with no judgeable steps — a trajectory of only thinking steps included — score nothing.
  • The Browser Use key is trimmed before use, httpx error text never reaches a result or log, and screenshot intervals are validated.
  • A failed collect, a lost trajectory, or a lost turn scores nothing rather than judging missing evidence. The verifier runs the frozen judge as an asyncio subprocess that cancellation kills, and reads its own collect's files.
  • CI sets BROWSER_USE_API_KEY and BU_BENCH_JUDGE_API_KEY to dry-run values so preflight passes; a dry run never uses them.