Skip to content

OpenBrowse v1.11.0

Choose a tag to compare

@lujstn lujstn released this 25 Aug 14:35
v1.11.0
297507b

Sessions share a profile instead of failing

A session whose profile was already in use died immediately, so dispatching a
batch against one profile produced a single run and a wall of dead session rows
rather than a queue. Sessions now share a profile. Each takes a private copy of
the profile's storage state and merges that copy back when its browser closes.

The merge is three-way against the baseline the session started from, so a
session writes back only the keys it actually changed and leaves the rest at
whatever the profile holds by the time it finishes. One session logging into a
site cannot roll back another site's newer cookie, and the last browser to close
no longer flattens the profile with a jar that predates every other login.
Merging completes before the pool releases its slot, so the next queued session
always starts from the previous one's cookies. Working copies are cleared at
startup, so a crash cannot leave one to be merged in long after its run.

Runs report what they delivered, not whether it was any good

isTaskSuccessful was answering a question the platform has no standing to
answer. A page behind a paywall, a field a site does not publish, or an agent
that doubted its own work all returned the requested schema, yet each was
recorded as a failure. Callers retried runs that would fail identically every
time.

Success now means the run reached the end and, where an output schema was given,
returned a value matching it. Null and partial values in that value say what
could not be obtained, and whether that is good enough is the caller's decision.
The agent's own misgiving is reported alongside the result rather than
overruling it.

Nothing delivered is still a failure: a value that does not match the schema, a
user stop, an exhausted step budget, or a cost cap with nothing schema-valid to
salvage.

Failure summaries say why

The done text handed to the reviewer is prefixed with a structured-output block,
and the completion headline was clipping the first characters of that. Every
agent-reported failure read Task failed: FINAL STRUCTURED OUTPUT (Coverage — …
and the reason the agent gave was never shown. The headline now reads past the
block.

Compatibility

isTaskSuccessful changes meaning for existing callers. Runs that returned a
schema-valid result while the agent reported failure were false and are now
true. Anything branching on that field to trigger a retry should be reviewed:
the cases it now excludes are exactly the ones where retrying could not help.

A run with no output schema has no contract to check against, so it now reports
success whenever it reaches the end. Passing a schema is what makes the field
meaningful.