feat(browse): Chromium only; drop Zen/BiDi (v0.2.1) #117

Merged
john merged 1 commit from release/0.2.1-chromium-only into main 2026-11-28 11:43:06 +00:00
Owner

John 2026-11-28: drop Zen support; release as 0.2.1 (stable → :latest, which the fleet follows since #116). Browse #22 (Zen back to stock, CDP-only gateway) is already released. 601 tests pass locally with a real Chromium.

John 2026-11-28: drop Zen support; release as **0.2.1** (stable → :latest, which the fleet follows since #116). Browse #22 (Zen back to stock, CDP-only gateway) is already released. 601 tests pass locally with a real Chromium.
feat(browse): Chromium only; drop Zen/BiDi (v0.2.1)
All checks were successful
Corn CI / release-check-1 (pull_request) Successful in 15s
Corn CI / host (pull_request) Successful in 19s
Corn CI / release-check (pull_request) Successful in 0s
Security / scan (pull_request) Successful in 34s
Security / security (pull_request) Successful in 0s
Corn CI / test (pull_request) Successful in 2m41s
Corn CI / release (pull_request) Has been skipped
Review / change impact (pull_request_target) Successful in 3m8s
7a51be8f9f
John 2026-11-28: drop Zen support, keep it to Chrome. Removes the BiDi
worker path (Playwright internals: firefox._connection.toImpl,
_bidiFirefox, _channel.connectOverCDP, the tab-adoption shim) and the
Firefox live test. Zen is a normal browser again (john/browse #22) and the
gateway lists it with playwright: false.

Kept: refuse non-owned / non-Playwright sessions before any worker
starts (one gateway GET /v1/sessions), frame-prefixed refs, browse_browsers
object result. 601 tests with a real Chromium.

Change review · da06e74a7b04 → 7a51be8f9f84

Call paths changed by this PR

Caller → changed symbol → callee. Each edge labels the line in the caller. One detected entry path (up to 3 hops) is included when found. Static evidence, not a runtime stack trace.

After

flowchart LR
    n0["BrowseService.act - modified"]
    n1["owned - modified"]
    n2["Handler.handle_one"]
    n3["Handler.websocket"]
    n4["sealskin"]
    n5["ready - modified"]
    n6["launch - modified"]
    n7["sessions - modified"]
    n8["cdp_path"]
    n9["container"]
    n10["apps - modified"]
    n2 -->|L337| n10
    n2 -->|L348| n6
    n2 -->|L352| n1
    n2 -->|L339| n7
    n3 -->|L368| n1
    n10 -->|L265| n4
    n6 -->|L299| n5
    n6 -->|L293| n4
    n1 -->|L247| n4
    n5 -->|L258| n8
    n5 -->|L258| n9
    n7 -->|L278| n5
    n7 -->|L273| n4

Changed symbols:

  • modified BrowseService.act — src/corn/integrations/browse.py:260
  • modified owned — tests/fixtures/cdp_gateway_reference.py:245
  • modified ready — tests/fixtures/cdp_gateway_reference.py:256
  • modified apps — tests/fixtures/cdp_gateway_reference.py:264
  • modified sessions — tests/fixtures/cdp_gateway_reference.py:271
  • modified launch — tests/fixtures/cdp_gateway_reference.py:282
    Bounded view: 22 more changed symbols and 0 neighbour references omitted.

Before · removed

flowchart LR
    n0["protocol - removed"]
    n1["Handler.websocket"]
    n2["launch"]
    n3["sessions"]
    n4["_ws_frame - removed"]
    n5["end_bidi_session - removed"]
    n6["Handler.splice._locals_.up"]
    n7["bidi_listening - removed"]
    n8["ready"]
    n9["_head"]
    n10["_accept_ws - removed"]
    n11["FakeCDP.bidi_session"]
    n12["_read_frame - removed"]
    n6 -->|L478| n5
    n1 -->|L425| n0
    n7 -->|L301| n9
    n5 -->|L278| n4
    n2 -->|L356| n0
    n8 -->|L313| n7
    n3 -->|L332| n0
    n11 -->|L100| n10
    n11 -->|L102| n12

Changed symbols:

  • removed protocol — tests/fixtures/cdp_gateway_reference.py:258
  • removed _ws_frame — tests/fixtures/cdp_gateway_reference.py:262
  • removed end_bidi_session — tests/fixtures/cdp_gateway_reference.py:270
  • removed bidi_listening — tests/fixtures/cdp_gateway_reference.py:295
  • removed _accept_ws — tests/fixtures/gateway_fakes.py:42
  • removed _read_frame — tests/fixtures/gateway_fakes.py:50
    Bounded view: 7 more changed symbols and 0 neighbour references omitted.

Removed call edges (base revision):

  • Handler.splice._locals_.up → end_bidi_session at tests/fixtures/cdp_gateway_reference.py:478
  • Handler.websocket → protocol at tests/fixtures/cdp_gateway_reference.py:425
  • launch → protocol at tests/fixtures/cdp_gateway_reference.py:356
  • ready → bidi_listening at tests/fixtures/cdp_gateway_reference.py:313
  • sessions → protocol at tests/fixtures/cdp_gateway_reference.py:332
Overall architecture after this change

Source: 7a51be8f9f84 · code-review 0.1.0-dev.1.

Generated from resolved static calls between reviewed code areas. Numbers are call sites, not request counts.
Framework registration, dynamic dispatch, and unresolved calls are not shown. This is not a deployment map.
Showing 7 of 7 inter-area edges. Edit the reviewed source instead of this generated page.

flowchart LR
    n1["Console"]
    n2["Identity"]
    n3["Linked MCP"]
    n4["NSW integrations"]
    n5["Persistence"]
    n6["REST handlers"]
    n7["Server composition"]
    n8["Shared contracts"]
    n9["Shopping"]
    n5 -->|"9"| n2
    n7 -->|"5"| n6
    n7 -->|"2"| n8
    n1 -->|"1"| n4
    n1 -->|"1"| n9
    n3 -->|"1"| n2
    n7 -->|"1"| n2

This diagram is for the linked commit. It refreshes after required checks pass for a new head.

<!-- john/release:architecture-review:v1 --> # Change review · `da06e74a7b04` → [`7a51be8f9f84`](https://code.yawn.dev/john/corn/commit/7a51be8f9f84b1d4e7ebbb1674d42a4b7ab0e745) ## Call paths changed by this PR Caller → changed symbol → callee. Each edge labels the line in the caller. One detected entry path (up to 3 hops) is included when found. Static evidence, not a runtime stack trace. ### After ```mermaid flowchart LR n0["BrowseService.act - modified"] n1["owned - modified"] n2["Handler.handle_one"] n3["Handler.websocket"] n4["sealskin"] n5["ready - modified"] n6["launch - modified"] n7["sessions - modified"] n8["cdp_path"] n9["container"] n10["apps - modified"] n2 -->|L337| n10 n2 -->|L348| n6 n2 -->|L352| n1 n2 -->|L339| n7 n3 -->|L368| n1 n10 -->|L265| n4 n6 -->|L299| n5 n6 -->|L293| n4 n1 -->|L247| n4 n5 -->|L258| n8 n5 -->|L258| n9 n7 -->|L278| n5 n7 -->|L273| n4 ``` Changed symbols: - **modified** `BrowseService.act` — `src/corn/integrations/browse.py:260` - **modified** `owned` — `tests/fixtures/cdp_gateway_reference.py:245` - **modified** `ready` — `tests/fixtures/cdp_gateway_reference.py:256` - **modified** `apps` — `tests/fixtures/cdp_gateway_reference.py:264` - **modified** `sessions` — `tests/fixtures/cdp_gateway_reference.py:271` - **modified** `launch` — `tests/fixtures/cdp_gateway_reference.py:282` Bounded view: 22 more changed symbols and 0 neighbour references omitted. ### Before · removed ```mermaid flowchart LR n0["protocol - removed"] n1["Handler.websocket"] n2["launch"] n3["sessions"] n4["_ws_frame - removed"] n5["end_bidi_session - removed"] n6["Handler.splice._locals_.up"] n7["bidi_listening - removed"] n8["ready"] n9["_head"] n10["_accept_ws - removed"] n11["FakeCDP.bidi_session"] n12["_read_frame - removed"] n6 -->|L478| n5 n1 -->|L425| n0 n7 -->|L301| n9 n5 -->|L278| n4 n2 -->|L356| n0 n8 -->|L313| n7 n3 -->|L332| n0 n11 -->|L100| n10 n11 -->|L102| n12 ``` Changed symbols: - **removed** `protocol` — `tests/fixtures/cdp_gateway_reference.py:258` - **removed** `_ws_frame` — `tests/fixtures/cdp_gateway_reference.py:262` - **removed** `end_bidi_session` — `tests/fixtures/cdp_gateway_reference.py:270` - **removed** `bidi_listening` — `tests/fixtures/cdp_gateway_reference.py:295` - **removed** `_accept_ws` — `tests/fixtures/gateway_fakes.py:42` - **removed** `_read_frame` — `tests/fixtures/gateway_fakes.py:50` Bounded view: 7 more changed symbols and 0 neighbour references omitted. Removed call edges (base revision): - `Handler.splice._locals_.up` → `end_bidi_session` at `tests/fixtures/cdp_gateway_reference.py:478` - `Handler.websocket` → `protocol` at `tests/fixtures/cdp_gateway_reference.py:425` - `launch` → `protocol` at `tests/fixtures/cdp_gateway_reference.py:356` - `ready` → `bidi_listening` at `tests/fixtures/cdp_gateway_reference.py:313` - `sessions` → `protocol` at `tests/fixtures/cdp_gateway_reference.py:332` <details><summary>Overall architecture after this change</summary> Source: [7a51be8f9f84](https://code.yawn.dev/john/corn/commit/7a51be8f9f84b1d4e7ebbb1674d42a4b7ab0e745) · `code-review 0.1.0-dev.1`. Generated from resolved static calls between reviewed code areas. Numbers are call sites, not request counts. Framework registration, dynamic dispatch, and unresolved calls are not shown. This is not a deployment map. Showing 7 of 7 inter-area edges. Edit the reviewed source instead of this generated page. ```mermaid flowchart LR n1["Console"] n2["Identity"] n3["Linked MCP"] n4["NSW integrations"] n5["Persistence"] n6["REST handlers"] n7["Server composition"] n8["Shared contracts"] n9["Shopping"] n5 -->|"9"| n2 n7 -->|"5"| n6 n7 -->|"2"| n8 n1 -->|"1"| n4 n1 -->|"1"| n9 n3 -->|"1"| n2 n7 -->|"1"| n2 ``` </details> This diagram is for the linked commit. It refreshes after required checks pass for a new head.
john merged commit 5966613441 into main 2026-11-28 11:43:06 +00:00
john deleted branch release/0.2.1-chromium-only 2026-11-28 11:43:07 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
john/corn!117
No description provided.