Skip to content

fix(browser): diagnostics parity: no getRequestPostData on the allowlist, preview URLs shown as their page, merged headers bounded - #548

Merged
Hona merged 2 commits into
devfrom
browser-tools/diagnostics-parity
Nov 21, 2026
Merged

Hona merged 2 commits into
devfrom
browser-tools/diagnostics-parity

Conversation

@Hona

@Hona Hona commented Nov 21, 2026

Copy link
Copy Markdown
Member

READER-10's three parity diffs on #495 (notes\review-rd-tools.md):

  • Network.getRequestPostData removed from the typed-CDP allowlist (crates/browser-policy/src/agent.rs); nothing calls it since fix(browser): stop reading request bodies Chromium did not capture inline #495, and official never does.
  • On a preview tab the engine maps every internal oc-preview:// address in a forwarded CDP event to the page's display URL (PreviewGrant::sanitize_reported_url), as official maps console text, sources and request URLs (packages/gui-plugins/src/browser/diagnostics.ts:43,47,157 at db2d889c).
  • ExtraInfo headers merge under the stored ones (stored wins, as official's { ...extra, ...latest }) and the merged set keeps the 100-header / 16,000-character bound (official trimHeaders on the merge, diagnostics-machine.ts:148,165,182).

Engine change: ENGINE_REVISION is 6 on dev, 5 published: no bump. Desktop, browser-pane, browser-policy and engine checks pass; guardrails 5/5. Touches network diagnostics: held for READER-10.

Hona added 2 commits November 21, 2026 21:57
…ist, preview URLs shown as their page, merged headers bounded

READER-10's three parity diffs on #495: Network.getRequestPostData leaves the typed-CDP allowlist (nothing calls it since #495); on a preview tab the engine maps internal oc-preview:// addresses in every forwarded event to the page's display URL (official diagnostics.ts:43,47,157); ExtraInfo headers merge under the stored ones and the merged set keeps the 100-header / 16,000-character bound (official trimHeaders on the merge, diagnostics-machine.ts:148,165,182). Engine change: dev ENGINE_REVISION 6, published 5: no bump.
READER-10 should-fix 6, last part: ExtraInfo that arrives before its requestWillBeSent is held (128 requests, 16 events each, as official MAX_STASHED_CHAINS / MAX_WIRE_QUEUE) and replayed when the request comes; a redirect, which reuses the request ID, completes the earlier hop with the redirect's status and headers instead of leaving it pending (official transitionChain 'redirected').
@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

PR test build retired — merged into dev. Install or auto-update OpenCode (Rune) from https://anoma.ly/release/opencode/desktop-rune/dev/macos-arm64-dmg.

@Hona
Hona merged commit 7f90439 into dev Nov 21, 2026
7 checks passed
@Hona
Hona deleted the browser-tools/diagnostics-parity branch November 21, 2026 15:24
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.

1 participant