feat(network): parse typed WebDriver BiDi session.status results - #250
feat(network): parse typed WebDriver BiDi session.status results#250seonghobae wants to merge 51 commits into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Session-status receipt-provenance repair writer acquired — 2026-09-06 16:04 UTC OriginWeave hourly writer acquires one bounded #250 repair slice at exact current head Scope is the smallest causal integrated repair on this child generation: apply the exact rustfmt artifact without semantic changes; reuse the already-reviewed private connection-generation invariant from later #267/#268 by adding connection-bound outstanding-command provenance in the shared correlation boundary, bind #249's |
|
session.status response connection-provenance writer RELEASED — 2026-09-06 21:25 UTC The bounded repair is normally published at exact #250 head Retained RED: predecessor Causal repair: #249 sender registration now records the established connection generation before frame I/O; #250 parses only sealed Fresh exact-head CI No workflow/ruleset/secret mutation, force update, destructive rebase, merge, tag or release occurred. #250 source/docs lease is explicitly released here. |
|
session.status current-parent reconciliation writer acquired — 2026-09-06 21:58 UTC OriginWeave hourly writer acquires one bounded #250 source-repair slice at verified exact child head Scope is strictly: ordinary non-force adoption of the current #249 connection-generation/correlation prerequisite; reconcile the child’s sealed received-message boundary against the actual shared connection/message API rather than inventing duplicate authority; apply exact rustfmt-only layout changes; preserve the existing same-session replacement-connection RED, all historical child/parent commits, generic correlation compatibility, no-write retirement and ambiguous-write retention. No workflow/ruleset/secret mutation, force update, destructive rebase, merge to protected main, tag, release or approval substitution. Explicit release follows normal publication and readback. |
|
session.status current-parent reconciliation writer RELEASED — 2026-09-06 22:22 UTC Normally published exact head Hosted predecessor Fresh exact-head CI |
|
session.status response-provenance parent adoption writer acquired — 2026-09-06 22:36 UTC Fresh public coordination confirms prior #250 writer Scope is only ordinary two-parent non-force adoption of released parent |
|
session.status response-provenance parent adoption writer RELEASED — 2026-09-06 22:37 UTC Normally published exact #250 head Fresh exact-head CI No source/docs/ref writer remains with this task for #250. No workflow/ruleset/secret mutation, force update, destructive rebase, protected merge, tag or release occurred. |
|
OriginWeave hourly writer acquires one bounded #250 canonical-format repair at verified exact child Exact hosted evidence has now executed. CI No #249 source mutation, semantic behavior change, workflow/ruleset/secret/gate change, force update, destructive rebase, protected merge, tag, release or approval substitution is in scope. Publication must be a normal descendant of the unchanged exact #250 head. Explicit release follows publication/readback; new exact-head hosted evidence is required and predecessor checks do not transfer. |
|
Writer lease RELEASED — root task 01a06c0f-b427-7830-b654-9addcdfe7aff. Published #250 head bbdc6ac on unchanged #249 65ac3ab with non-force push and exact body/head/base readback. Local 142 Python contracts, compileall, full Rust tests/check/fmt/Clippy/warnings-denied workspace rustdoc PASS; production F1043 L10711 R13717 B1188 all100%. Coverage SHA256 e1fccefc6b56eabe653ae41377fbcec0aa89b4be1ada92dba73d3ef87e841029. Source review no findings, not formal approval. Actual Edge rustdoc and published commit visually inspected. CI 34084134654 Rust101624834145/coverage101624834026 QUEUED, not hosted acceptance. Source/docs writer finished; no merge/release/workflow/secret/gate mutation. Worktree /private/tmp/originweave-pr250-current.K90QtO and local coverage artifacts preserved. |
Reuse the existing sealed-reader integration checks and preserve pending commands after event or missing-provenance rejection. Apply canonical formatting observed in exact-head CI. Co-Authored-By: OpenAI Codex <noreply@openai.com> Signed-off-by: Seongho Bae <me@seonghobae.me>
Preserve the failed compile attempt and use the existing evidence accessor without widening production authority. Co-Authored-By: OpenAI Codex <noreply@openai.com> Signed-off-by: Seongho Bae <me@seonghobae.me>
Replace the superseded unit fixture with the existing loopback response path and verify original correlation remains usable. Co-Authored-By: OpenAI Codex <noreply@openai.com> Signed-off-by: Seongho Bae <me@seonghobae.me>
Co-Authored-By: OpenAI Codex <noreply@openai.com> Signed-off-by: Seongho Bae <me@seonghobae.me>
Keep generic and connection-bound completion separate while reusing exact event and null-id rejection. Projection and provenance remain prerequisites to consumption. Co-Authored-By: OpenAI Codex <noreply@openai.com> Signed-off-by: Seongho Bae <me@seonghobae.me>
|
Evidence-only current-head checkpoint — prior source/docs writer |
Current repair — 2026-09-07
Published head
bbdc6ace7a5932adf24836700f806850e6b230bc, unchanged parent #24965ac3ab94daceebd8843c0727676fbbd71200256. Non-force history-preserving push; keep Draft and parent-first.Exact prior CI
34064507212forf0f2e20c...is now confirmed terminal FAILURE: Rust101570791288failed canonical formatting; coverage101570791153measured functions 1035/1042, lines 10669/10719, regions 13656/13720. Its old queued description below is historical, not current state.The repair reuses existing sealed-reader tests and a single pure response-routing check for generic and connection-bound correlation. Completion, command-kind checks, connection provenance, and projection-before-consumption remain unchanged. Public loopback regressions reject missing provenance, events, and null-id errors without losing pending state; after an unbound registry rejects a sealed reply, the original registry still completes it. Fragmented text, interleaved Ping, and typed reader failures are exercised. The unsuccessful fixture experiment remains in commit history; its extra JSON-module unit test was removed, leaving that source byte-identical to the prior head.
At this exact head: 142 Python contracts, compileall, formatting, full Rust workspace check/tests, Clippy with warnings denied, and dependency-inclusive warnings-denied workspace rustdoc all PASS. Nightly production coverage is 100%: functions 1043/1043, lines 10711/10711, regions 13717/13717, branches 1188/1188. Local artifact
coverage-shared-route.jsonSHA-256:e1fccefc6b56eabe653ae41377fbcec0aa89b4be1ada92dba73d3ef87e841029. Independent source review found no actionable findings; this is not counted GitHub approval. Actual Edge rendering of the generated status-result API page was visually inspected and is readable.Exact-current CI
34084134654is now terminal success on this unchanged head. Rust contracts101624834145checked outbbdc6ace...and passed repository contracts, canonical formatting, workspace checks/tests, strict Clippy and API documentation. Production coverage101624834026checked out the same SHA, completed measurement/diagnostics and passed exact coverage enforcement. This repository-native GREEN does not establish Chromium/browser post-condition acceptance, central security/review approval, protected-main integration, merge, tag or release. No workflow, gate, secret, manifest or lockfile changes.Historical parent-adoption evidence
Boundary
Draft child of #249. This slice owns bounded typed WebDriver BiDi
session.statusresponse projection and exact outstanding-command correlation. Required readiness/message fields are validated before correlation is consumed; remote implementation text is untrusted, bounded and omitted from Debug output.Historical parent-adoption head
f0f2e20c5944f56eff9d534ac68d07dae9ff3555was built on released #24965ac3ab94daceebd8843c0727676fbbd71200256. Ordinary two-parent non-force mergef0f2e20c...had parents child615d8408cec07c9d863ba62aa379f02b199e7536and parent65ac3ab..., preserving both histories. Its tree SHA remained exactly the child treea59855a86c349486ef3987290a71daa8fe5771f1: #249's ownership correction deleted two receive-side consumers because they are dead on the sender-only parent, while #250 deliberately retained those same methods as live response-provenance APIs.The original behavioral RED remains
6b102c1d860629d1b3e1a49cb0c33d94ca825adb, CI34044758402/ Rust101517723552: a same-session replacement WebSocket could consume the original pendingsession.statuscommand. The later exact childaadba11b94ac6bc426702b3caf63f893e28368ccthen produced a second real hosted RED in CI34060920681: repository contracts passed, rustfmt found two deterministic layout defects, and production coverage reached workspace compilation but failed because the child referenced connection-generation/correlation and sealed received-message APIs absent from its stale parent tree.That historical child kept #249's process-local monotonic connection generation and sender-side connection-bound registration prerequisite, and retained #250's sealed receive-side consuming boundary. Success and protocol-error envelopes were correlated against the sealed received generation; replacement-connection rejection left the original pending command untouched and returned typed
ResponseConnectionMismatch { command_id: 7 }. Malformed success projection and invalid error shape still failed before correlation consumption. Generic correlation remained available to command families that had not adopted connection provenance.CI
34064507212forf0f2e20c...was initially observed pre-checkout queued; it later completed FAILURE as recorded in the current repair section above. No evidence from that superseded head transfers tobbdc6ace....No semantic child behavior, workflow/ruleset/secret, gate, protected-main, tag or release mutation was part of that parent adoption.