Commit Browser detach and auto-attach disable synchronously, preserving event
ordering while supervising each native retirement independently. Remove the
synthetic completion objects, test-only serial runner, and obsolete recovery.
Batch script removal with SessionPageUpdates and retain the original disposal
identity for completion. Enqueue target-owned Inspector initialization without
claim/reply observers or a cancellable route. Share endpoint selection and
borrow connection keys/bindings separately from navigation restore snapshots.
Clarify session admission names and separate static policy from Page readiness
selection while retaining the admission token through synchronous redispatch.
Exercise the production Browser commit and supervisor paths in disposal tests.
Supervise each retired session independently so a busy Renderer cannot delay
another target's detach finalizer and successor connection. Preserve Browser
cascade publication and each session's cleanup-before-retirement ordering.
Apply Page subscriptions at command admission and defer only their initial
Document work. Resume without replaying an obsolete enable or chooser setting.
Remove the redundant cleanup owner and unreachable connection replacement.
Cover Primary lane reuse across auto-attach with a held peer, and Page
subscription changes while the initial installer remains pending.
Commit Browser attachment and withdrawal independently of native Page and
Inspector initialization. Keep shared initial builds on the target and bind
queued Main/IO work to its admitted session connection and native agent.
Separate minimum Inspector connect from ordered binding replay, and publish
unobserved initialization facts without snapshots or completion fences.
Retire Browser contributions immediately and supervise cleanup using the
original native authority, including failed or replaced connections.
Parse the vendored schema with serde_json::Value and serialize compact JSON
in build.rs. Embed the generated bytes without request-time processing.
Verify the embedded protocol matches the complete vendored schema.
Validation on the unchanged final source tree: cargo fmt --all;
cargo clippy --workspace --all-targets --all-features -- -D warnings;
cargo nextest run --no-fail-fast (20,505 passed, 18 existing skips).
Expose protocol-independent InstanceCommand and BrowserInstanceControl with a
native serve_with_control entry. Keep shutdown coordination in the server and
CDP session validation and response flush in a dedicated adapter, bypassing
renderer work without creating another actor or shutdown state.
Parse each CDP envelope once and check live frontend-owned session routes
through a weak registry view. Match Chromium Browser.close on browser, page,
tab, and worker sessions; ignore params and reject null or foreign session IDs.
Update optional-session test requests to omit absent routes.
Add native and pending-promise lifecycle regressions and cross-engine smoke
coverage for acknowledgment ordering, natural process exit, and isolation.