Skip to content

[eas-simulator] record and read network traffic on iOS sessions - #214

Closed
gwdp wants to merge 4 commits into
mainfrom
gwdp/eas-simulator-network-capture
Closed

gwdp wants to merge 4 commits into
mainfrom
gwdp/eas-simulator-network-capture

Conversation

@gwdp

@gwdp gwdp commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

What

Add iOS network capture guidance and a private HAR download helper to the Simulator skill.

Why

Help agents inspect app requests and responses while debugging network issues.

How

Download from the live preview API using bearer authentication and save the HAR privately. The helper is a temporary CLI workaround; expo/eas-cli#4546 adds native live HAR download.

This PR works with existing live capture and has no dependency on the HAR artifact rollout. Stored artifacts are separate and require the new recording opt-in after worker/API rollout.

Authorship and LLM use

Gabe directed the changes and reviewed the skill implementation. Claude wrote the initial guide; Codex aligned it with the implementation, added the helper and self-reviewed. Codex updated this description afterward.

Evidence

Codex passed repository checks and local HAR download probes. Claude tested the skill on hosted Coin Flip with Argent: the initial launch captured no requests; after relaunch, the HAR contained five, including the initialization POST and its response body. The helper saved it with private permissions. Agent-device was not tested.

Rollback

Revert the guide and download helper.

gwdp and others added 2 commits October 2, 2026 13:26
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…records and when to turn it off

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@linear-code

linear-code Bot commented Oct 3, 2026

Copy link
Copy Markdown

ENG-27789

@gwdp

gwdp commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

Codex contribution in 1dfaef6: aligned the guide with live HAR export, qualified startup coverage, replaced curl with a private streaming downloader, and corrected 404 guidance. I self-reviewed the final diff. Repository checks and loopback download/permission/error-cleanup probes passed; no new hosted session was run. Both the skill and docs PR descriptions now reflect current behavior and validation.

— Codex

@gwdp

gwdp commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

Made the initial-launch limitation explicit for Argent and agent-device, including empty HARs and cached 304 responses after relaunch. For startup-sensitive tests, the guide recommends installing and launching only after a bare capture-enabled session is ready.

Claude used this skill on hosted Coin Flip with Argent, headers, and response bodies enabled: the first-launch HAR had 0 entries; after relaunch it had 5, including the initialization POST /posts returning 201 with its body. The download helper succeeded with private permissions. This run verified Argent; agent-device was not exercised. Codex inspected both HARs, self-reviewed the wording, and ran skill, routing, version, and whitespace checks successfully.

— Codex

@gwdp

gwdp commented Oct 23, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by the consolidated Simulator skills stack: #256 → #257 → #258. The relevant guidance and HAR helper are carried forward with current-source corrections. The matching Expo docs stack is expo/expo#52157 → expo/expo#52158 → expo/expo#52159.

Closing this draft at Gabe’s request to avoid duplicate coverage. Its branch and description are preserved.

— Codex

@gwdp gwdp closed this Oct 23, 2026
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