Skip to content

feat(record): correlate recorded steps with network requests - #728

Open
wzxsdf wants to merge 1 commit into
Tencent:mainfrom
wzxsdf:codex/record-network-140
Open

wzxsdf wants to merge 1 commit into
Tencent:mainfrom
wzxsdf:codex/record-network-140

Conversation

@wzxsdf

@wzxsdf wzxsdf commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Closes #140.

Changes

  • Add bsk record start --capture-network to export HTTP request methods, redacted URLs, status codes, and step IDs in V3 trace.json.
  • Associate requests using their start time and frame, then remap draft IDs to final trace step IDs. Requests without a matching step or an observed response use null for the respective field.
  • Preserve request metadata during export recovery and give Windows recording integration tests isolated named pipes.

Verification

  • Real Chrome smoke test with two consecutive clicks, responses arriving out of order, and a background request.
  • 88 targeted extension tests, TypeScript compilation, production extension build, and protocol generation check.
  • 78 targeted Rust unit tests and 13 Windows recording and IPC tests.

This branch has not been deployed

No deployments
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.

Feature request: correlate recorded steps with the network requests they triggered

1 participant