Skip to content

[eas-cli] Add --network-capture-recording - #4597

Merged
gwdp merged 1 commit into
mainfrom
gwdp/network-capture-recording-flag
Nov 27, 2026
Merged

gwdp merged 1 commit into
mainfrom
gwdp/network-capture-recording-flag

Conversation

@gwdp

@gwdp gwdp commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Why

Let users choose whether captured traffic is kept as HAR session artifacts.

How

Add boolean --network-capture-recording, requiring --network-capture. Omit the new API input unless requested so ordinary starts work with older APIs.

CLI release is blocked until expo/universe#31763 is deployed. Stored HAR artifacts also need #4495 on workers. Stacked on #4596 to review the worker and CLI changes together. Release the worker support before releasing this CLI flag.

Test Plan

Codex passed 117 start-command tests, build, typecheck, lint, formatting and GraphQL generation against the proposed schema. Built CLI help and dependency rejection worked. Hosted validation of the new flag remains planned after API/worker rollout.

Authorship and LLM use

Gabe chose the behavior. Codex implemented it and addressed Devin's capture-warning finding. Independent Codex and Claude reviews checked the API contract. Gabe reviewed the final diffs and can answer questions.

Generated with T3 Code, using Claude Code.

@gwdp

This comment has been minimized.

@devin-ai-integration

This comment has been minimized.

devin-ai-integration[bot]

This comment was marked as resolved.

@gwdp

This comment has been minimized.

@devin-ai-integration

This comment has been minimized.

@codecov

This comment has been minimized.

@gwdp

This comment has been minimized.

@devin-ai-integration

This comment has been minimized.

@gwdp

This comment has been minimized.

@devin-ai-integration

This comment has been minimized.

@gwdp

This comment has been minimized.

@devin-ai-integration

This comment has been minimized.

@gwdp

This comment has been minimized.

@devin-ai-integration

This comment has been minimized.

@gwdp
gwdp changed the base branch from main to gwdp/simulator-crash-artifacts-20261009 October 15, 2026 18:49
@gwdp
gwdp added this pull request to stack #4639 October 15, 2026 18:49
@gwdp

This comment has been minimized.

@devin-ai-integration

This comment has been minimized.

@gwdp

This comment has been minimized.

@devin-ai-integration

This comment has been minimized.

@gwdp

This comment has been minimized.

@gwdp

This comment has been minimized.

@gwdp

This comment has been minimized.

@gwdp

This comment has been minimized.

@devin-ai-integration

This comment has been minimized.

@gwdp
gwdp requested a review from szdziedzic October 20, 2026 18:58
@gwdp
gwdp marked this pull request as ready for review October 20, 2026 18:58
@github-actions

This comment has been minimized.

@gwdp

This comment has been minimized.

@devin-ai-integration

This comment has been minimized.

@linear-code

linear-code Bot commented Nov 3, 2026

Copy link
Copy Markdown

ENG-27789

Base automatically changed from gwdp/simulator-crash-artifacts-20261009 to main November 16, 2026 23:09
Retain live capture as the default and save HAR artifacts only when requested. Reject recording when capture is explicitly disabled.
@gwdp
gwdp force-pushed the gwdp/network-capture-recording-flag branch from 03f9690 to 411a3ea Compare November 27, 2026 18:25
@gwdp

gwdp commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto main in 411a3ea77. The diff now contains only the recording flag changes. Added a CLI check for --network-capture-recording with --no-network-capture, plus a regression test. All 232 focused tests passed.

The API and worker support are deployed. The hosted QA session ran the pre-rebase CLI with both flags and produced a downloadable HAR with all nine probe requests after stop.

— Codex

@github-actions

Copy link
Copy Markdown

✅ Thank you for adding a changeset!

@gwdp
gwdp merged commit 17d8121 into main Nov 27, 2026
10 checks passed
@gwdp
gwdp deleted the gwdp/network-capture-recording-flag branch November 27, 2026 18:44
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.

2 participants