Skip to content

Llane/on policy doc suggestions - #620

Merged
cmunley1 merged 6 commits into
cmunley1/on-policy-docfrom
llane/on-policy-doc-suggestions
Jan 28, 2026
Merged

cmunley1 merged 6 commits into
cmunley1/on-policy-docfrom
llane/on-policy-doc-suggestions

Conversation

@lbliii

@lbliii lbliii commented Jan 28, 2026 •

Copy link
Copy Markdown
Contributor
  • Moved the article to concepts (it's mostly conceptual in its current form)
  • Reformatted the content
  • Added crosslinks to/from doc

please double check that i did not distort any meaning as part of this change

Signed-off-by: Lawrence Lane <[email protected]>
Signed-off-by: Lawrence Lane <[email protected]>
@lbliii lbliii self-assigned this Jan 28, 2026
@lbliii
lbliii requested a review from cmunley1 January 28, 2026 21:50
dont think we should emphasize correction much here, its done in the background.
@cmunley1
cmunley1 merged commit db12bd6 into cmunley1/on-policy-doc Jan 28, 2026
@cmunley1
cmunley1 deleted the llane/on-policy-doc-suggestions branch January 28, 2026 22:24
JeffPengCoder added a commit to JeffPengCoder/Gym that referenced this pull request Nov 12, 2026
Apply Oliver’s suggested FW-CI-templates mainline pin 1ea89871720f31b9cacfd40655ad5151edd8be6f. It retains the changelog file transport and generated-state fixes from NVIDIA-NeMo#620.

Validation: 10 release finalizer tests pass; all pre-commit hooks pass.
Signed-off-by: Jeff Peng <[email protected]>
mpatel31415 added a commit to mpatel31415/Gym that referenced this pull request Nov 12, 2026
…NVIDIA-NeMo#2295)

* feat(webvoyager): add benchmark and shared web runtime

Add the WebVoyager benchmark, BrowserGym and native browser resource servers, external judge, shared web rollout agent and protocol, and the Nano Omni alignment profile. Preserve current upstream behavior while adding opt-in proxy support and safe validation diagnostics.

Signed-off-by: Jeff Peng <[email protected]>

* fix(webvoyager): avoid duplicate terminal evidence

Do not append the unchanged observation returned by an explicit native terminate action. Continue retaining valid observations from non-terminal actions that end the environment, while preserving the browser-target-closed safeguard. Add regression coverage for all three paths and structured runtime evidence logging.

Signed-off-by: Jeff Peng <[email protected]>

* fix(web): align task-data schemas with current main

Declare the normalized web-task row contract for BrowserGym, native WebVoyager, and the external judge so main's schema drift gate validates committed datasets.

Move the ArXiv smoke dataset onto its judge resource server with an explicit agent pin, matching main's decoupled benchmark layout. Keep BrowserGym exports lazy so schema discovery remains dependency-light, and cover each committed web example dataset.

Signed-off-by: Jeff Peng <[email protected]>

* test(web): cover native browser runtime

Exercise native browser lifecycle, navigation, evidence capture, terminal handling, and computer actions. This restores the repository-wide CI coverage gate after adding the shared native browser driver.

Signed-off-by: Jeff Peng <[email protected]>

* docs(webvoyager): add native end-to-end runbook

Signed-off-by: Jeff Peng <[email protected]>

* docs(webvoyager): allowlist provenance hashes

Signed-off-by: Jeff Peng <[email protected]>

* fix(webvoyager): make benchmark preparation self-contained

Download the pinned official 643-task source into Gym local ignored data storage, verify its checksum and denominator, and retain explicit source overrides.

Add a Fern end-to-end tutorial for both WebVoyager profiles and cover download caching, population validation, and the new navigation entry.

Signed-off-by: Jeff Peng <[email protected]>

* fix(webvoyager): fetch native benchmark data

Download the pinned 552-task native WebVoyager source directly during preparation, while retaining verified offline-source overrides. Keep the source lock, E2E docs, and regression tests aligned with the executable path.

Signed-off-by: Jeff Peng <[email protected]>

* chore(webvoyager): keep source lock scan stable

Place the informational raw URL after the existing SHA field so the pinned secret-scanner false-positive remains on its baseline line. The exact CI detector then passes without a repository-wide baseline rewrite.

Signed-off-by: Jeff Peng <[email protected]>

* fix(webvoyager): make component tests self-contained

Install pytest and pytest-asyncio in the native WebVoyager browser component so gym env test executes with the component CPython 3.13 environment instead of falling back to an unrelated global pytest interpreter.

Signed-off-by: Jeff Peng <[email protected]>

* refactor(webvoyager): unify the visual browser runtime

Remove the duplicate BrowserGym path and consolidate WebVoyager on a model-neutral visual_browser resource with shared computer-use actions.

Add bounded browser-session provider lifecycle and per-session operation isolation so local Chromium remains serialized per display while remote or AgentEnv-backed providers can be integrated without blocking the async service.

Add separate Nano Omni and Qwen 3.5 policy profiles on the shared runtime, consolidate benchmark preparation and judge configuration, and update the Fern runbook and regression coverage.

Validation: 250 focused WebVoyager tests passed; pre-commit passed; full 552-task Qwen and Nano Omni rollouts used the matching frozen source snapshot.
Signed-off-by: Jeff Peng <[email protected]>

* docs(webvoyager): record unified runtime validation

Signed-off-by: Jeff Peng <[email protected]>

* Make WebVoyager parsing parser-faithful

Treat the configured model-server reasoning and tool parsers as the authoritative output boundary. Remove Gym-side JSON, delimiter, and tool-alias repair, and reject out-of-contract scroll values instead of silently clamping them. Update the Nano Omni profile, documentation, and regression tests accordingly.

Signed-off-by: Jeff Peng <[email protected]>

* Document parser-faithful WebVoyager validation

Signed-off-by: Jeff Peng <[email protected]>

* Consolidate WebVoyager documentation

Signed-off-by: Jeff Peng <[email protected]>

* Simplify WebVoyager benchmark configuration and tooling

Consolidate dataset and policy provenance into one manifest consumed by prepare.py, and fold the Nano Omni transport override into its main profile without changing sampling or browser behavior.

Remove benchmark-local summary and CapSolver account-smoke scripts. Document the generated env.yaml and standard Gym aggregation and health-check workflow in README and Fern.

Relocate the existing eight provenance hash findings in the secrets baseline to their new file and line numbers. Preserve the scanner configuration and all unrelated entries; no additional value is allowlisted.

Validation: 276 benchmark and CLI tests passed; standard prepare produced 552 tasks; Fern reported zero errors; all-file pre-commit and the targeted secrets hook passed.
Signed-off-by: Jeff Peng <[email protected]>

* fix(webvoyager): address documentation and inline allowlist review

Keep the complete WebVoyager setup, smoke, full-population execution and
reconciliation guide in the benchmark README. Remove the duplicate Fern
page and retain a link from the evaluation index. Clarify that both policy
profiles connect to separately managed model endpoints; Gym does not
allocate GPUs or launch their vLLM servers.

Convert the provenance manifest from JSON to YAML so the eight non-secret
Git revisions and SHA-256 checksums can carry inline allowlist comments.
Update the loader, tests and documentation, and restore the global secrets
baseline byte-for-byte to the PR base without touching upstream findings.

All provenance values and types, the 552 prepared task rows and both
generated policy configurations remain identical to the previous revision.
Browser, agent, model and judge runtime behavior is unchanged.

Validation:
- 99 benchmark, CLI and Fern-link tests passed, plus 20 subtests.
- Repository-wide pre-commit and PR-scoped detect-secrets checks passed.
- Removing each inline annotation re-exposes exactly its former finding.
- Fern check reported zero errors; authenticated redirect check was skipped.

Addresses PR NVIDIA-NeMo#2295 discussions r3985809661 and r3985810226.

Signed-off-by: Jeff Peng <[email protected]>

* fix(web): evaluate terminal policy errors without repairing model output

Treat context exhaustion as a truncated rollout and evaluate retained state, including first-turn rejection. Recognize newer vLLM decoder-prompt errors. Preserve parser output and remove duplicate action echo from Nano observations.

Expose matched agent/resource call limits and opt-in stop-and-evaluate semantics for invalid structured calls. Execute only the complete validated prefix before the first invalid call; never repair arguments or execute later calls. Existing retry and call-count defaults remain unchanged.

Validation: 295 focused tests passed; pre-commit --all-files passed. Full r2 WebArena evidence is 397/812 with no invalid samples, but the complete successor changes are not yet full-benchmark qualified.
Signed-off-by: Jeff Peng <[email protected]>

* fix(web): retain browser session ownership through cancellation and cleanup

Address the operational failure modes discussed in issue NVIDIA-NeMo#2921 without copying its implementation. Allocate caller identity before seed, retain seed and close tasks independently of HTTP waiters, and authorize cookie-less cleanup with a redacted close capability. Bound tombstone retention and automatic retries without expiring active rollouts.

Retain failed provider, backend, executor and site cleanup handles until release succeeds. Keep occupied admission capacity and report session_lost or session_release_failed separately from valid task rewards. Check the exact Playwright-matched headed Chromium executable at startup, with serialized bounded auto-install and an offline fail-fast option.

Preserve task data, prompt, action parsing, screenshot history, judge evidence and reward formulas. Add fault-injection tests and Fern lifecycle documentation. Validation: 710 targeted tests passed, pre-commit run --all-files passed, git diff --check passed. Real browser/model and trainer regression remain pending; in-memory ownership does not claim crash-proof remote lease recovery.

Signed-off-by: Jeff Peng <[email protected]>

* chore(web): declare Ray usage for the web servers

Main starts Ray only for servers that declare ray_enabled = True, and
test_shipped_server_classes_declare_ray_usage requires each shipped server
class to declare it on the class itself. The visual browser, the WebVoyager
judge and the web agent do not use Ray.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* chore(web_agent): declare its legacy-agent environment server

Main deprecates agents without an environment server, and
test_repository_configs_declare_every_environment_server fails for
web_agent.yaml. Add the legacy_agent relay block that
scripts/add_legacy_agent_environment_servers.py writes. Both WebVoyager
profiles resolve with the relay fronting their renamed benchmark agent and
without the deprecation warning.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* fix(web_agent): declare Pillow for the Qwen computer-use adapter

The Qwen adapter decodes and resizes screenshots with Pillow, but the agent
declared only nemo-gym[dev]. Pillow used to arrive through mlflow's
matplotlib dependency; main now ships mlflow and wandb as optional extras
(NVIDIA-NeMo#3547), so a fresh web_agent venv could not import PIL and its tests failed
at collection.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* test(visual_browser): run the resources server tests in its own venv

The visual browser resources server shipped no tests of its own, so
`gym env test` exited with pytest's "no tests collected" code, which the
server suites report as missing tests. Move the two test modules that cover
this server from tests/unit_tests into resources_servers/visual_browser/tests,
next to the code and dependencies they exercise.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* fix(web): namespace web-only failure kinds as web:<kind>

Main's failure vocabulary warns once per unregistered failure_kind and counts
it under "unregistered" in rollout telemetry. Keep the registered names the web
components already use (session_lost, session_release_failed, verifier_error,
transport_timeout, judge_failed, judge_unparseable) and emit every web-only
kind in main's namespaced form: web:model_quota_exhausted,
web:model_context_overflow, web:captcha_budget_exhausted,
web:missing_verifier_result, web:missing_judge_evidence and
web:external_judge_required.

Resources-server HTTP error bodies keep their error_kind values; the web agent
namespaces them where they become a failure_kind, so new error kinds are
covered too. Runtime statuses and truncation reasons are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* fix(web): record browser video when record_video is enabled

record_video was accepted in the visual browser configuration but never passed
to Playwright, so the recording artifacts that /close reports, and the web
agent copies into its result, were always empty. When enabled, record the
context at viewport size into the session's video directory. Playwright
finishes the file when the context closes, before /close lists recordings.
The default stays off.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* fix(web_agent): retry rollouts that ended on an unreachable site

When the browser exhausted its CAPTCHA failure budget, or a run ended without
a verdict, the agent returned a masked result row. The collector persists
every result row as finished, so resume never ran the task again and it left
the denominator silently, contrary to the README's "routed to retry".

Mark both cases with _ng_failure_class=retryable_infrastructure, as judge
failures already are. The collector writes them to the failures sidecar, and
resume runs them again with a fresh session within its attempt limit. They are
not marked terminal.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* fix(web): run a failed seed again once its cleanup finishes

WebSessionControl kept the finished seed task per session identity and
replaced it only after a CapacityUnavailableError. The web agent reuses one
identity for every seed retry, so any other seed failure was replayed from
the cache until the agent's retry budget ran out. In a full WebVoyager run, a
single navigation error (net::ERR_SOCKET_NOT_CONNECTED) on the first seed
cost the whole 1800 s budget, and the row could only be recovered by a
second wave.

Replay only a successful seed. A failed or cancelled seed runs again once the
manager reports its cleanup finished (can_retry_seed); until then a retry
receives the same failure, so a retry can never start a second browser while
the failed one still holds its lease. The agent retries only 5xx responses,
so deterministic 4xx failures are not seeded again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* feat(webvoyager): render dated questions for a reference date

79 Booking and Google Flights questions name absolute check-in, departure
or return dates. The pinned source renders them from its
template/webvoyager.template.jsonl for 2026-07-26, so they expire: a run on
2026-10-10 found 38 dates in the past, and all 38 tasks failed, 30 at the
100-step limit, because the live sites cannot search a past date.

prepare.py now downloads the hash-pinned template from the same source
commit, checks that it reproduces every source question for 2026-07-26, and
renders the questions again for reference_date in provenance.yaml
(2026-10-11, 11 weeks later; the closest date is 2026-11-10). Only the dates
change; original_metadata keeps the source question. The reference date must
be whole weeks after the source's, so weekdays, including the two "weekend"
questions, are unchanged, and preparation fails when a rendered date is not
after today. --reference-date renders for a later run.

The renderer matches the source's render_webvoyager.py for every template
entry and every reference date from 2026-01-01 through 2029-12-30. For
2026-07-26 the prepared file is byte-identical to the previous population
(SHA-256 bf61d491...); for 2026-10-11 only those 79 intents differ
(SHA-256 951bfe5c...).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* feat(visual_browser): lease one browser instance process per session

A headed PyAutoGUI driver acts on its process's X display, so a
visual_browser resources server could hold one session. Add a browser
instance: a single-threaded HTTP server with its own display that hosts
the unchanged web backend (WebVoyager driver plus evaluator) for one
session at a time. RemoteWebBackend forwards reset/observe/step/evaluate/
close to a leased instance, and the local_instance_pool provider keeps N
instances (Xvfb + server each), reuses healthy idle ones and restarts the
rest. max_sessions may exceed 1 when the provider is not local_process.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* fix(visual_browser): a failed instance close does not hold a session slot

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* fix(visual_browser): give each browser instance its own Xauthority file

python-xlib, which PyAutoGUI uses, fails without one even though Xvfb
runs with -ac; the per-worker launcher always created an empty file.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* build(visual_browser): add a runtime image for browser instances

Base is Playwright's own v1.55.0-noble image, whose Chromium-1187 matches
the cache of the WebVoyager 552 reference runs file for file. Adds the
reference image's X tools and fonts, Python 3.13.14 and the
visual_browser component with dependencies pinned to the reference venv.
The build script sends only committed files as the context and can
convert the image to an enroot squashfs for Pyxis.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* fix(visual_browser): image context has no resources_servers/__init__.py

resources_servers is a namespace package.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* fix(visual_browser): include cache/ in the image context

The root pyproject puts egg-info under cache/ (egg_base), so the
editable install needs that directory.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* fix(visual_browser): check the image's imports under Xvfb

pyautogui opens the X display at import time.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* fix(visual_browser): keep INFO logs of the driver inside a browser instance

Importing nemo_gym configures the root logger first, so the instance's
basicConfig was a no-op and every INFO record (step, CAPTCHA, close) of
the driver running in the instance was dropped.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* feat(web): optional per-site session limit (site_pool_mode: site_limits)

Public sites rate-limit by client IP. With one shared rollout queue, the
instance-pool runtime ran up to 8 concurrent GitHub and Hugging Face
sessions from one egress IP (the per-worker layout ran 4-7) and drew
about twice the rate-limit pages. site_limits caps concurrent sessions
per task site (max_sessions_per_site, default 4); a seed for a full site
is rejected as capacity-unavailable so the agent backs off and retries,
and other sites are not blocked.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* build(webvoyager): lock component venv package versions

The component servers run from venvs that Gym resolves when it first builds
them, outside `uv sync --frozen`. Between the 2026-10-11 reference runtime and
the 2026-10-17 instance-host runtime they drifted by 20+ minor releases per
component (pillow 12.3.0 -> 13.0.0, aiohttp, fastapi, pydantic, ...). Full
WebVoyager runs on the drifted venvs had 12-17 rollouts with unparseable model
actions against 1-8 on the reference venvs; with the venvs pinned back to the
reference versions the instance-host run had 4 (32 sessions per arm, 423/552 vs
control 421/552).

- benchmarks/webvoyager/component-constraints.txt: the versions of the six
  reference component venvs (151 packages), for UV_CONSTRAINT at venv build
  time. grpcio is pinned to 1.84.0 for all components (two reference venvs had
  1.85.0rc1).
- visual_browser image lock: same versions as the constraints. The image built
  from e0b894a still carries the drifted versions in its own interpreter; runs
  use the component venvs, not that interpreter.
- README: how to apply the constraints; test: the constraints are exact pins and
  the image lock agrees with them.

Checked: `uv pip compile` of all six components with the constraints
(python 3.13.14, x86_64 manylinux) resolves to exactly the reference venvs
except pip (seeded) and the planned grpcio pin.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* fix(webvoyager): pin huggingface-hub to main's version in the component lock

After the merge of main at b3103ea, nemo-gym requires huggingface-hub<2,
so the lock's huggingface-hub==2.2.0 (from the 2026-10-11 reference venvs)
made every component that installs nemo-gym[dev] unresolvable. The release
verification build on cw-dfw failed on it for openai_model.

Pin 1.33.0, the root uv.lock version, in the component constraints and the
visual-browser image lock. All six WebVoyager components resolve again with
the lock (Python 3.13.14, x86_64 manylinux); every other package that still
resolves keeps its reference version (pillow 12.3.0, ...). Packages that the
merged tree no longer installs in these components (ray and its dependencies,
now an extra) keep their pins, which have no effect.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* fix(webvoyager): track active tabs and honor runtime wait budgets

Follow live focused tabs after GUI actions without stealing focus, and distinguish closed tabs from lost browsers during capture and CAPTCHA handling. Advertise and enforce configurable per-action and per-step wait limits so sites asking for a 60-second retry can be handled without rewriting model actions.

Preserve specific termination reasons, expose process-local site-limit scope, and add sanitized serving completion diagnostics. Add opt-in malformed-judge retries under one deadline and masking after exhaustion while retaining legacy defaults. No JSON repair, EOS override, model checkpoint, or historical benchmark record is changed.

Validation: 692 focused web, resource, agent, judge and vLLM tests passed; changed-file hooks and repository-wide pre-commit passed. Live 552-task model/browser qualification is pending in a separate experiment, not implied by unit tests.
Signed-off-by: Jeff Peng <[email protected]>

* docs(webvoyager): record completed 552-task runtime validation

Record 418/552 = 75.72% on frozen runtime commit 60fa5e3 and the reference-date-2026-10-11 task population. Distinguish the tuned checkpoint from public v3, preserve first-valid zero-reward outcomes, and disclose the append-only recovery and observed successor handoff. No runtime behavior or deployment assets change.

Validation: 37 WebVoyager benchmark tests and repository-wide pre-commit passed. The full 552-task rollout was evaluated at 60fa5e3; this commit only records that evidence.
Signed-off-by: Jeff Peng <[email protected]>

* refactor(web): align runtime with current Gym packages

Signed-off-by: Jeff Peng <[email protected]>

* build(webvoyager): align browser build contracts with current main

Signed-off-by: Jeff Peng <[email protected]>

* build(webvoyager): follow managed component lock conventions

Signed-off-by: Jeff Peng <[email protected]>

* build(webvoyager): use managed component lock in browser image

Signed-off-by: Jeff Peng <[email protected]>

* fix(web): preserve terminal evidence and fence cancelled mutations

Signed-off-by: Jeff Peng <[email protected]>

* fix(webvoyager): classify the complete judge deadline

Signed-off-by: Jeff Peng <[email protected]>

* fix(webvoyager): persist consistent grades after rejudgment

Signed-off-by: Jeff Peng <[email protected]>

* fix(web): align component locks with main OpenAI SDK

Signed-off-by: Jeff Peng <[email protected]>

* fix(web): resolve middleware and release validation failures

Keep bearer authentication and downstream ASGI handling in the caller task,
with regression coverage for context propagation, public paths and streaming.
Use neutral reference wording without changing dependency pins or results.

Consume the member-reviewed changelog file repair from FW-CI-templates#619
at a689c8faa078c7aa501442ca40bd8232eb4b2700. That commit adds only the
release finalizer repair and its six contract tests to the prior template pin.

Co-authored-by: Martyna Patelka <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* fix(ci): pin release finalizer with explicit changelog state

Signed-off-by: Jeff Peng <[email protected]>

* ci: use merged release workflow pin

Apply Oliver’s suggested FW-CI-templates mainline pin 1ea89871720f31b9cacfd40655ad5151edd8be6f. It retains the changelog file transport and generated-state fixes from NVIDIA-NeMo#620.

Validation: 10 release finalizer tests pass; all pre-commit hooks pass.
Signed-off-by: Jeff Peng <[email protected]>

* test(web): include browser policy in core coverage

Move CPU-only visual browser and CAPTCHA tests into the benchmark core suite so their coverage is included by the core+sandbox gate. Retain the server packaging contract and add provider failure, polling deadline, proxy, cookie and token injection cases.

Validation: 53 focused core tests and 1,347 related regression tests pass; pre-commit --all-files passes. Combining the original five CI coverage artifacts with the new local core coverage passes the unchanged 95% gate at 95.19% (76,057 statements, 3,659 missed).
Signed-off-by: Jeff Peng <[email protected]>

* fix(web): preserve judge validity and browser lease ownership

Integrate the prepared seven-finding repair from NVIDIA-NeMo#2295 (comment). Mask missing required judge screenshots, align dataset evidence limits, retain recycling across cancelled release/close waiters, isolate lease generations, parse Qwen actions from final output, and keep deterministic argument failures on the policy parse path.

Validation: 200 focused tests and 1,523 broader browser, agent, judge, schema and public API regression tests pass; pre-commit --all-files passes. Targeted real-process cancellation/recycling validation remains in progress.

Co-authored-by: Martyna Patelka <[email protected]>
Signed-off-by: Jeff Peng <[email protected]>

* test(web): wait for browser instance fixture readiness

Wait for the real health endpoint before yielding the threaded HTTP fixture. This prevents the reset request from racing socket binding under parallel CI load. A delayed-server probe reproduces the original failure and passes with the readiness wait; all 26 browser-instance and pool tests pass.

Signed-off-by: Jeff Peng <[email protected]>

---------

Signed-off-by: Jeff Peng <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Martyna Patelka <[email protected]>
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.

2 participants